Skip to content


Interceptor Methods: __call() (Php Overloading)

Php provides  built-in interceptor methods.This also known as overloading but since that term means something quite different in Java and C++. PHP5  supports three built-in interceptor methods.Like __construct(), these are invoked for you when the right conditions are met. Below  the tables describes this methods. Method Description __get($property) Invoked when an undefined property ...

Php5 Object Registry – Implementation a Registry Design Pattern

Every php developer wants to  write a php framework. But before the start write a framework we should know some php automation rules. You can ask  me like this question Why we need to object registry?  Because the most popular frameworks  use a base registry class for storing objects. Code Igniter use PHP4 object register ...

Prevent Duplication of Memory with Php5 Singleton Design Pattern

One of the most used and important base php pattern is singleton.The Singleton pattern is used to improve the performance of your application. " The main purpose of the Singleton pattern is to deliver a single instance of object  no matter how many times you instantiate it.That is, if an object is instantiated once ...

Php Cat 0.0.3 alpha 2 Released!

Php cat is a mysql nested model category software for managing hierarchical data.Call your hierarcial categories with seo url. .manage unlimited categories,produce seo url,you can delete category and their sub categories at one time. New in 0.0.3 alpha 2 seo class.inc  query_link problem fixed. New in 0.0.3 alpha php_cat Changes: sql file changed. example_admin.php and other ...

Byte Converter Class 0.1

Php byte converter class can be used for convert a byte type to another. It can convert MB to GB, GB to TB, TB to PB, MB to B, MB to KB,GB to KB, GB to MB,GB to byte TB to ZB, ZB ...