Orbit42-Base is an opensource, sourceforge hosted, php class that is designed to act as a foundation for building more complex classes. It is most widely recognised for its database interaction functions. Its full name is currently "Orbit42-Base: for good php class design." It is similar to PEAR::DB. It has several functions such as function db_connect().

It was created by Matthew Brown of Adullam Limited (a UK company) for the Orbit42.com CMS project which was started after general dissatisfaction with the direction and quality of other projects. It does this by attempting to cover the basics that are most common to php classes (returning data from a database to an array, callbacks, debugging and class inheritance).

Orbit42-Base is intended to allow use of well documented Design Patterns such as Loose coupling of classes built on it by encuraging classes to be truly nostic of the functionality of other classes with the use of data defined callback using such classes as the PEAR callback class or the Proof of concept class created for Orbit42.com.

Faults

edit

The follow flaws have been noted with the class:

  • appears to conform to the Base Bean anti-pattern.
edit