SimplOn PHP
|
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).
Replaces regular object's attributes, contains informations about value's type and where to display it.
Replaces regular objects, using Datas as attributes and offers a standard interface to Data Storages (MySQL, MongoDB, ...) and Renderers (HTML, XML, JSON, ...).
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.