How to Install Node.js and NPM on Windows

I am going to show you how to install node.js (zip) on Windows OS. Node.js is a JavaScript runtime built on Chrome’s V8 JavaScript engine and it uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js package ecosystem, npm, is the largest ecosystem of the open source libraries.

Here we will see how to install zip version of node.js, not Windows installer (msi).

Please find below installation instructions step by step.

Continue reading “How to Install Node.js and NPM on Windows”

How to Install Node.js and NPM on Windows was last modified: April 8th, 2018 by Soumitra Roy Sarkar

ReactJS REST API DELETE Example

React is a declarative, efficient, and flexible JavaScript library for building user interfaces. The full documentation is available at https://reactjs.org/. In this tutorial I will show you how to delete the existing resource (REST API DELETE) using React JS framework. The article, ReactJS REST API DELETE Example, will use ready made available REST API https://jsonplaceholder.typicode.com/posts for testing purpose. You can also create and deploy your own service using PHP, Codeigniter or Spring, Jersey etc. and call using React JS framework. Here you will see only DELETE example (other HTTP verbs GET, POST, PUT, HEAD, OPTIONS etc.).

You may also like to read ReactJS REST API GET Example ReactJS REST API POST Example ReactJS REST API PUT Example

Continue reading “ReactJS REST API DELETE Example”

ReactJS REST API DELETE Example was last modified: April 9th, 2018 by Soumitra Roy Sarkar

ReactJS REST API PUT Example

React is a declarative, efficient, and flexible JavaScript library for building user interfaces. The full documentation is available at https://reactjs.org/. In this tutorial I will show you how to update the existing resource (REST API PUT) using React JS framework. The article, ReactJS REST API PUT Example, will use ready made available REST API https://jsonplaceholder.typicode.com/posts for testing purpoase. You can also create and deploy your own service using PHP, Codeigniter or Spring, Jersey etc. and call using React JS framework. Here you will see only PUT example (other HTTP verbs GET, POST, DELETE, HEAD, OPTIONS etc.).

You may also like to read ReactJS REST API GET Example ReactJS REST API POST Example ReactJS REST API DELETE Example

Continue reading “ReactJS REST API PUT Example”

ReactJS REST API PUT Example was last modified: April 9th, 2018 by Soumitra Roy Sarkar

ReactJS REST API POST Example

React is a declarative, efficient, and flexible JavaScript library for building user interfaces. The full documentation is available at https://reactjs.org/. In this tutorial I will show you how to create new resource (REST API POST) using React JS framework. The article, ReactJS REST API GET Example, will use sample ready made available REST API https://jsonplaceholder.typicode.com/posts for testing purpoase. You can also create and deploy your own service using PHP, Codeigniter or Spring, Jersey etc. and call using React JS framework. Here you will see only POST example (other HTTP verbs are GET, PUT, DELETE, HEAD, OPTIONS etc.).

You may also like to read ReactJS REST API GET Example ReactJS REST API PUT Example ReactJS REST API DELETE Example

Continue reading “ReactJS REST API POST Example”

ReactJS REST API POST Example was last modified: April 9th, 2018 by Soumitra Roy Sarkar

ReactJS REST API GET Example

React is a declarative, efficient, and flexible JavaScript library for building user interfaces. The full documentation is available at https://reactjs.org/. In this tutorial I will show you how to fetch data from REST service using React JS framework. The article, ReactJS REST API GET Example, will use sample ready made available REST API https://jsonplaceholder.typicode.com/posts for testing https://jsonplaceholder.typicode.com/posts. You can also create and deploy your own service using PHP, Codeigniter or Spring, Jersey etc. and call using React JS framework. Here you will see only GET example (other HTTP verbs POST, PUT, DELETE, HEAD, OPTIONS etc.).
You may also like to read https://www.roytuts.com/tic-tac-toe-game-using-react-js/  ReactJS REST API POST Example ReactJS REST API PUT Example ReactJS REST API DELETE Example

Continue reading “ReactJS REST API GET Example”

ReactJS REST API GET Example was last modified: April 9th, 2018 by Soumitra Roy Sarkar

Username availability check using Codeigniter, AJAX and MySQL

This tutorial will show you how you can check username availability using Codeigniter, AJAX and MySQL. Sometimes we need to check username availability instantly before a user presses the submit button after filling a long-sized signup form. In this case we can use AJAX technique with any server side technologies like PHP, Codeigniter, Servlet, Struts, JSF, Spring etc. for checking whether the input username is avaialable for creating new user account or it has already been taken by someone else. So if we give instant result to the user for username availability then sometimes it makes more sensible than while pressing the submit button and goes top of the signup form to rectify the username input field if input username is not available. So after finishing this example “username check availability using Codeigniter, AJAX and MySQL” you will be able to apply the same logic to any server side technologies.

Continue reading “Username availability check using Codeigniter, AJAX and MySQL”

Username availability check using Codeigniter, AJAX and MySQL was last modified: April 6th, 2018 by Soumitra Roy Sarkar

Tic-tac-toe game using React JS

In this tutorial you will see how to build Tic-tac-toe (tic tac toe) game using React or React JS https://reactjs.org/. React is a declarative, efficient, and flexible JavaScript library for building user interfaces. You may read more about tic-tac-toe game at https://en.wikipedia.org/wiki/Tic-tac-toe. You may also read tic tac toe using Java here https://www.jeejava.com/tic-tac-toe-game-using-java/

Prerequisites

Knowledge of HTML and JavaScript

Continue reading “Tic-tac-toe game using React JS”

Tic-tac-toe game using React JS was last modified: April 9th, 2018 by Soumitra Roy Sarkar

Move http to https on WordPress

In this article, you will see how to add SSL and HTTPS in WordPress website.

It is recommended these days to move HTTP to HTTPS on WordPress is an important thing because most of in our websites we share sensitive data like credit card and bank information or login credentials dozens of times per day. As a website owner it is your duty to keep the information safe when users making online transactions for purchasing something using debit card, credit card or netbanking or they simply logging in to your site.

To protect the data transfer, a secure connection is required using one of the most important step – use HTTPS (Hyper Text Transfer Protocol Secure) and SSL (Secure Socket Layer) encryption on your website.

HTTPS or Secure HTTP is an encryption mechanism, which secures the connection between user’s browser and your server. That means, any information that is exchanged gets encrypted.

Continue reading “Move http to https on WordPress”

Move http to https on WordPress was last modified: May 4th, 2018 by Soumitra Roy Sarkar

Save Files to MySQL using PHP

We have seen file upload using PHP in previous tutorials PHP file upload but in this tutorial we will see how to save files to MySQL database using PHP.

You may be wonder why you would need to save file content into database rather than just into the file system. In situations where PHP application needs to put entire file then the preferred method would be to put the file into server’s file system and save the file path into the database.

However in situations, where an application needs to save the entire file content into database along with other data. In such cases you have to put the file content into MySQL’s BLOB data type field.

Continue reading “Save Files to MySQL using PHP”

Save Files to MySQL using PHP was last modified: April 3rd, 2018 by Soumitra Roy Sarkar

PHP Multiple Files Upload Example

PHP multiple files upload example will show you how to upload multiple files using PHP. In this example the files are selected using the browse buttons and files are uploaded to the ‘uploads’ directory under root project directory. PHP script stores the files into the defined location and returns response as a success or failure message from the PHP script. As a validation step I have added only to check if you have selected at least one file for uploading or not.

You may want to read also PHP Single File Upload Example

This tutorial will give you more attachment link for uploading file, so you will click on Attach another file then you will get Choose File button to attach another file. If you do not want to upload the chosen file then you can delete the attached file using Delete link.

Continue reading “PHP Multiple Files Upload Example”

PHP Multiple Files Upload Example was last modified: May 4th, 2018 by Soumitra Roy Sarkar