SimplOn PHP
 All Data Structures Namespaces Files Functions Variables
SimplOn PHP

What is SimplOn?

SimplOn is a web framework based on the concept of embedding meta-data into PHP objects to automate CRUD tasks and rendering them (ie. in HTML format).

SimplOn uses two core objects

Datas

Replaces regular object's attributes, contains informations about value's type and where to display it.

Elements

Replaces regular objects, using Datas as attributes and offers a standard interface to Data Storages (MySQL, MongoDB, ...) and Renderers (HTML, XML, JSON, ...).

See also:
http://tinyurl.com/SimplON-chart

Simple HTTP API

SimplOn uses a HTTP API simple to read and write. It is structured in the following way:

 /Foo/cp1/cp2/cpN!Moo/mp1/mp2/mpN

Where cp are construct parameters for the element Foo, while mp are parameters for the element's method Moo.

Since Datas have methods too, the way to call those methods is:

 /Foo/cp1/cp2/cpN!Doo!Moo/mp1/mp2/mpN

Where Doo is a Foo's Data and Moo is Doo's method.

To create or update an Element, a HTTP POST must be sent containing an array with keys corresponding to Element's Data names and their corresponding values.