Version your RESTful APIs like a pro through Inheritance

If you are a software or web developer then you must have developed Web Services for your projects.The two major actors in a Web Service driven projects are : Web Service Provider and Web Service Consumer. I will be referring them as WSP and WSC in this tutorial henceforth. The WSP exposes a set of […]

How to use php-cli when using Xampp in Ubuntu?

1. Open up /etc/environment file in your text editor. 2. Append /opt/lampp/bin to the location searched for binary files in the etc/environment file. 3.After appending /opt/lampp/bin, the /etc/environment file may look like this:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/lampp/bin 4. Save this file. 5. After this run source /etc/environment from command line. NOTE: If you still cannot use php cli in your project then simply run source /etc/environment from […]

Real time progress bar using PHP, Bootstrap, jQuery and AJAX

In this blog post, I will demonstrate making a responsive progress bar using PHP,Bootstrap, jQuery and AJAX. Recommended directory and file structure for this tutorial /progressbar /server server.php progress.txt /public client.js index.html Steps for creating a progress bar 1. Create a directory in your /var/www/html directory Name this directory of your choice. For this tutorial we will be using‘progressbar’ name for […]