You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MerryPanda edited this page May 17, 2017
·
10 revisions
Sphere - is a php framework, which operates virtual entities - "spheres".
Philosophy
The gist of the Sphere is to organize code into "spheres". It is done by adding the "o" constant to your php class, making it a sphere element.
class something_useful{
const o='app::object::something.useful';// element index
}
here is the index structure (sphere::element::subelement):
"app" - sphere title
"object" - element (defines an element role)
"something.useful" - subelement title
The process of creating spheres is named "alloy". So at the end, you will get an alloy of your files. New classes can replace the older ones in alloy, thus dynamically changing spheres.