Welcome to corelib.org

Corelib is a simple object oriented framework based on several design patterns. To obtain corelib, go to our Downloads section and get the latest version.

Contribute

Want to help out? We need developers, testers and help writing documentation. If you like to know more, send an email to contribute@corelib.org or join us at #corelib on irc.freenode.net

What is corelib

Corelib is a framework build in PHP and designed with the aim to create a very stable and extensible framework, and low error rate. This is done by standardizing the development process and structure, as well as by encapsulating the process into several enclosed and abstract processes.

What can corelib do?

Corelib can be used to a number of different things:

  • Generating XHTML pages
  • Generating PDF Documents (Requires a XSL:FO convert

How does it work?

Corelib has different kind of layers but the large many would say that it implements a MVC pattern. However it actualy implements a less know pattern called MVA. This works pretty much the same way a MVC pattern works, however it allows us to change the the models and change the way a view is rendered.

Below the differenct processes is listed

  • Adapter / Controller
    1. Detect request type
    2. load GET/POST lookup reference
    3. Resolve and load page object
    4. Execute action
    5. Activate template engine / redirect (if post request)
  • View - Using the XSLT Template engine. When the XSLT Template engine is in use differenct actions are made in the following order:
    1. Activate template engine
    2. Send HTTP Headers
    3. Build XML Document
    4. Apply XSLT Stylesheets
    5. Send output to client
home.txt · Last modified: 2011/06/10 13:09 by wayland