arjunphp.com

Creating a RESTful API with Express js, Node js/MySQl

Do you want to create a RESTful API with NodeJS/Express Js framework? Here is the tutorial, by reading this tutorial you can create our own REST api application server. Nowadays, it’s quite common to create web and […]

Laravel download files via FTP

This post is going to be about downloading files from remote server via FTP mechanism in your Laravel application. Let’s create a controller called DownloadController.php

How to handle cookies in Express JS?

Cookies are very useful to store small piece of web application data and cookies are stored on the user’s computer by the user’s web browser while the user is browsing. Express uses the same methods, Cookies, […]

Enabling HTTPS for Express.js application

By using HTTPS protocol we increase the security of your application, SSL mechanism will encrypt the connection between you and your application server, data will be travel in secure layer. To use SSL certificates in your […]

Express js optimize performance with GZIP Compression

You can improve speed and save bandwidth by using GZIP compression in your express js application. GZIP actually decreases the downloadable amount of data for user request. Without GZIP compression, when you request a […]

Express js optimize performance with clusters

You can increase the performance of your Express.js application by using clusters. Cluster is a native core library from node.js which allows you to implement a network of multiple processes. Usually an node js process […]

NPM top commands

Just like composer from PHP ,RubyGems from Ruby ,pip from Python, Maven from Java, NuGet from Microsoft Node.js also has a package manager, Node Package Manager (NPM). NPM Commands Here is the list of commonly used top […]

How to generate Branch.io deep link with PHP

Branch is providing deep linking SDK by using it we can generate deep links for web, IOS and Android. This deep links provides seamless experience for mobile users especially. The coolest thing, which generate smart deep […]

MySQL views

MySQL has supported database views since version 5.x. Views are pretty useful if you want to refer to values calculated from expressions without writing the expressions each time you can retrieve them. What is a view A […]

How to filter a PHP array by key?

PHP array_intersect_key() function returns an array containing all the entries of primary array which have keys that are preset in all the arguments. This function computes the intersection of arrays using keys for comparison. […]

How to connect to MySQL from the command line

The MySQL database is one of the well know database engine, which uses a client-server architecture. The server, mysqld is the program that actually manipulate the database. In order to talk to server, we use a client […]

File uploads in express js 4

In this tutorial you will learn how to upload files on remote server using node js in your express js application. You can upload any kind of file like images, videos, ZIP files, Microsoft Office documents, PDFs, as well […]