Posted by: rathees ganapathi on: July 16, 2009
With PHP’s object-oriented (OO) language features, if you aren’t already creating your applications with OO principles in mind, these seven habits will help you get started in the transition between procedural programming and OO programming. In the early days of PHP programming, PHP code was limited to being procedural in nature. Procedural code is characterized [...]
Posted by: rathees ganapathi on: July 16, 2009
Prototype-based programming is a style of object-oriented programming in which classes are not present, and behavior reuse (known as inheritance in class-based languages) is performed via a process of cloning existing objects that serve as prototypes. This model can also be known as class-less, prototype-oriented or instance-based programming. The original (and most canonical) example of [...]