Create Your Own lightweight PHP MVC Framework
A quick walk though of creating your own PHP MVC Framework. A useful exercise to better understand the roles of the MVC players.
A quick walk though of creating your own PHP MVC Framework. A useful exercise to better understand the roles of the MVC players.
A review of the basic usage of the AS3 PureMVC framework. Great for a quick reminder of how to use the PureMVC.
Javascript allows inheritance. It is however more complex than using when using traditional OOP languages with their built in extend functionality. Javascript Design Patterns.
Javascript doesn’t natively support encapsulation as OOP languages do. It is however possible to achieve encapsulation with javascript using fairly simple workarounds. Encapsulation is done through closures.
Explanation and example of the singleton design pattern used to connect to a mysql database.