6 essential cURL commands for daily use

cURL is a command line tool for doing all sorts of interesting and essential URL manipulations and data transfers. The original goal of the program was to transfer files programmatically via protocols such as http, ftp, gopher, sftp, ftps, scp, tftp, and many others, via a command line interface. The main benefit of using the command line interface is that you can use the program in your Windows batch file or Linux shell scripts to automate many URL related processes. In this post you will see some essential things you can do using cURL.
Read More

Web scraping tutorial

There are three ways to access a website data. One is through a browser, the other is using a API (if the site provides one) and the last by parsing the web pages through code. The last one also known as Web Scraping is a technique of extracting information from websites using specially coded programs.

Read More

Sidu – a Free MySQL client

MySQL Sidu is a FREE MySQL client which works via a web browser. Written in php (on surprise there!), MySQL Sidu is a simple and easy to use database tool. Sidu stands for Select Insert Delete Update. Of course Sidu can do more jobs than these. Many of you may already be using other MySQL clients like phpMyAdmin, MySQL Workbench, but still you can give Sidu a try. Being small in size (less then 200k), its easy to install. You may even think of integrating it in one of your own php applications.
Read More

Benchmarking PHP code

Code tuning is an essential part of programming. But most programmers would rather try to complete the project in hand then spend time optimizing a piece of code. A well tuned and optimized code block can speedup your application by an order of magnitude or even more.

Many people confuse profiling with benchmarking. A profiler is a analysis tool that lets you measure the performance of code at runtime. Profiling an application lets you find bottlenecks in your application code. You can find which part of your code is taking most of the time, you can than optimize that part of code. For example if there are 4 functions in your application, profiling may report the following distribution:
Read More