PHP 5.4 overview

1. Traits feature is added. Traits is used to reduce the limitations of single inheritance. A Trait cannot be instantiated on its own. Traits allows its methods to be reused in several independent classes. Example:

In the above example code we define a trait using the keyword trait followed by its definition. We can […]

Apple puzzle, interview question.

Question: There are 6 people sitting in a room around the table. On top of the table there is a basket with 6 apple in it. All person took one apple each but still one apple was left in the basket. How !! ?? thinking ???   still thinking ???   the answer is very […]

How to show multiple items in Paypal checkout page?

When you are working in shopping cart site with Paypal you must wonder how to show multiple items in Paypal site during checkout. Its pretty simple.  You can add / pass n number of items to Paypal page for checkout instead of 1 single item with total price, if you do so the use may […]

How to print/echo SQL string in Codeigniter ?

Printing a last executed SQL query in Codeigniter is pretty simple. Usually in the development phase we all will debug the database result by printing the query to see whether the SQL is returning any value or not. In Codeigniter framework we can print the last executed SQL query in single line. You can add […]

Git new generation version control system

Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Every Git clone is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a central server. Branching and merging are fast and […]

Memcached high performance caching system which facebook uses

Memcached a free open source which helps website with high efficiency and greatest performance. Memcached is the caching technique which allow your website to load your files much faster. It’s fully object oriented caching system. Memcached is an in-memory key-value store for small chunks of data  from results of database calls, API calls, or page rendering. Memcached […]

Jquery cheat sheet for UI icons

We have found a very excellent way to use the JQuery UI icon set for your different purposes. This feature allow you to easily manage the icons for user experience and to avoid confusions on whats – what for functionality. And we have collected few icons set which JQuery UI uses throughout the internet and […]