PHP Design Patterns

PHP Design Patterns Script provides a general reusable solution to a commonly occurring problem. You can find scripts that implement well-known design patterns such as Singleton Pattern, Factory Pattern, Decorator Pattern, etc.
  1. No Screenshot
    1742 total visits
    Signal and slot design patterns have been used in this PHP script to trigger and process events. SigSlots uses several classes to manage and process events. Applications can register object that trigger evenr occurrences by emitting signals of a given types. The objects interested in handling events of may register slots.Once an event is triggered, the manager class may process ...
  2. No Screenshot
    1922 total visits
    My Active Record is a simple, speedy Object Relational Mapper(ORM) for MySQL, which is based on Active Record design patterns developed by Martin Fowler. It is used to store and retrieve objects in MySQL tables with minimal configuration. Application can use sub-classes of this script to create application domain objects, which support relationships, data validation, compound properties, clean ups and ...
  3. No Screenshot
    2067 total visits
    PHP Controller is created to implement a generic controller of building applications based on Model-View-Controller - MVC design patterns. This PHP script plays the role as a single entry point that forwards the handing of the requests to view and model classes with the aim to aviod the need of haing to write code to describe how the data will ...
  4. No Screenshot
    1823 total visits
    This PHP script acts as a framework to implement the inversion of control design patterns in PHP. PHP IOC parses a configuration file in the XML format that defines how dependent classes of a plug-in component infrastructure depent on each other. This framework script can be used to create objects of the component classes and any dependency classes to set ...
  5. No Screenshot
    1602 total visits
    This PHP Script is the implementation of the MVC design patterns based on Java Struts written in PHP 5. FF-MVC provides base actions and mappings classes as well as a request processor class and a front controller script. Limitations:The code and comments are written in Portuguese.
  6. No Screenshot
    1781 total visits
    This PHP script provides a simplified database access interface by extending PEAR::DB class. DB factory extension can be used to establish connections returning a boolean success value instead of PEAR error object.The script executes queries automatically connecting to a database before executing and disconnecting after the query is executed. If the query returns result values it may also retrieve the ...
  7. No Screenshot
    1603 total visits
    Annotations is introduced by modern programming languages like C# and Java 1.5 Tiger as new and convenient feature. It is rather new innovation in PHP, many Java users are using it for a long time already for auto-generating source code, configuration files for different frameworks and so on. phpannotations provide you with similar features like xDoclet does, that is all ...
Pages 2 of 2« 1 2 »