Tutorials

OOP PHP CRUD Operation Using MySQLi - Part 2

Submitted by razormist on
In this tutorial, we will deal with OOP PHP CRUD functions, in my previous tutorial we created a simple application that can create and read data from the database and display it on the HTML form at the same time. Now this time we will continue on our previous project, and we will be adding a Delete and Update function. Before we continue I hope that you read OOP PHP CRUD Operation Using MySQLi - Part 1 so that you have an idea how this tutorial will be going.

OOP PHP CRUD Operation Using MySQLi - Part 1

Submitted by razormist on
In this tutorial, we will tackle about Object Oriented Programming PHP CRUD using MySQLi as a database server. Object Oriented Programming is an organize structured that consist of different functions inside a class. It is mostly used by an advanced programmer because for them this is some what a new challenge for their programming carreer.

OOP PHP Registration and Login - Part 2

Submitted by razormist on
In this tutorial we will create a simple login form in an Object Oriented Programming(OOP). In my last tutorial I created a registration form operated by using PHP functions, but this time we will continue on for what we left behind. Before we proceed make sure you have read my previous tutorial OOP PHP Registration and Login - Part 1, because I will still using that, and I will add some new stuff to make this simple program complete.

Creating a Simple Registration Using MySQLi Prepared Statement

Submitted by razormist on
In this tutorial, we will create a simple registration form using MySQLi prepared statement. it is an advanced and secured kind of script to prevent MySQL injection threat. Due to depreciated of MySQL most of the website are required to use MySQL / PDO statement. Now be prepared, let's start coding 1. We open the database server, then type localhost/phpmyadmin 2. Then name the database "sample" 3.

Clustering Node.js

Submitted by admin on
Node.js is single-threaded. As every design decision this one has its benefits and drawbacks. A benefit is - it is significantly harder to "shoot yourself in a foot" with multithreaded code. With languages like C++ or Java, multithreading is a separate subject that is rather advanced and even considered to be a form of a black magic by some developers. So in JavaScript you don't even have to think about scary terms like "deadlock", "race condition" or "memory barrier". What's the downside?

Writing UDP Client/Server Application with Node.js

Submitted by admin on
Writing UDP server with Node.js Different application require different design of networking protocols. Everything that is built for web is using HTTP (recently WebSockets and WebRTC too for real-time data). If your clients are not browsers and you need reliable and guaranteed channel your choice is TCP/IP. There's however one more protocol that is often used for the cases when the speed is more important that delivery guarantees and ordering: UDP. UDP stands for Unified Datagram Protocol and it shines in the applications like fast-paced online gaming.

Building TCP/IP Applications with Node.js

Submitted by admin on
Most of the times Node.js is used for HTTP-based servers. There are times however when you need to go one level deeper, and write your software based on TCP/IP protocol instead of HTTP. Indeed, HTTP was originally designed as a request-response protocol, and it is text-based. TCP/IP is more "raw": it is binary (meaning, more effective) and also it is full-duplex persistent connectinon (which again means it is more effective). If you are building an application that is not targeted specifically at browsers, there's a good chance that TCP/IP will be a better choice to you than HTTP.

Real-time Geographical Data Visualization with Node.js, Socket.IO and Leaflet

Submitted by admin on
Data visualisation is becoming an increasingly important subject. As the complexity an volumes of data increase, it is getting harder and harder to make sense of bare arrays of numbers without relevant visualisation models. Let me give you a good example. Right now I work in China. Few months ago there appeared a new startup: bycicle sharing service that used GPS sensors on each bike to track it in the city. Now let's imagine, you need analyse how evenly your bikes are distributed around the city and how many of them are in motion right now.