Simple Ordering System with Cash as Method of Payment and Receipt Report

Submitted by rinvizle on
In this tutorial we will show you how to create a Simple Ordering System with Cash as Method of Payment and Receipt Report. This simple system is created for ordering and adding a product. Every product that the admin created will be added to the system, and every product that the customer had been ordered has a discount. The system can also generate a receipt.

Logging in Node.js

Submitted by admin on
Logging is one of the most undervalued and most important features of an enterprise application. Logs is what makes a difference between spending sleepless nights catching a mysterious bug or reading a clear message about what exactly caused an application to crash. It is not just important to write logs. It is important to write logs in a right way. In this article we'll look at most popular Node.js logging solutions and how to use them in your application. console.log ----------------- Option #1 - console.log().

How to Connect Android to A Remote Server Using JSON, MySQL and PHP

Submitted by ashok05 on
Android-MySQL connectivity using JSON and PHP. INTRODUCTION To connect android app to a remote server, we use a technology called Volley. Before we start the coding, let’s see some basic theory behind the connection process. CONCEPT First the android phone creates a request to the server for asking data. The request contains an address of PHP file.

Deploying Node.js production. Part 1: Using pm2.

Submitted by admin on
Once the development is complete - you are ready to share your application or with the world. Here comes the question: how exactly do you deploy it? Obviously, you can't just run "node main.js" and leave it like that. If the application crashes due to untested error or out of memory, you don't want your service to be interrupted. Instead the applicatoin should be automatically restarted, giving you some extra time to investigate the issues. NOTE: have you completed my other tutorials about building Node.js web chat and web game?

Building HTML5 Multiplayer Game with Node.js

Submitted by admin on
In a previous tutorial, I showed how to build a Socket.IO chat and connect few people around the globe with the magic of WebSockets. In this article I want to make this project a little bit more fun and turn it into a multiplayer game: "rock, paper, scissors". So let's grab the previous code and introduce few modifications.

Add, Edit, Delete Record With User Profile in PHP/MySQL

Submitted by rinvizle on
In this tutorial we will create a simpleAdd, Edit, Delete, With User Profile In PHP/MySQL - PDO. The application works if the admin will create or add a new member in the list. Every member that the admin created is compose of their username, description and the profile image. And only the admin can access and delete some users in the system. The purpose of this system is to make the users work easily by identifying every persons profile.

Creating Real-Time Chat with Node.js and Socket.IO

Submitted by admin on
The way that people use internet evolved from static pages to Ajax and now to realtime web supported by standards like WebSockets and WebRTC. Making a real-time application, like chat, became increadibly easy with the help of platforms like Node.js and libraries like Socket.io. In this post we'll see how to create a minimalistic chat application form the scratch. Create a separate folder for your new project and type `npm init` in it. Then, install the required dependencies.

Handling File Uploads with Node.js and Express.js

Submitted by admin on
Whether you are building social platform or a simple website, sometimes you need to let users upload their own files. The typical scenario might be: uploading the user's photo for a profile page. With Node.js and express it is quite easy to create your own file upload service. In this post I will show you how. In the new folder run `npm init`, and create `package.json` as you usually do for every fresh Node project.