-
Notifications
You must be signed in to change notification settings - Fork 0
Introduction
MerryPanda edited this page May 17, 2017
·
10 revisions
Sphere - is a php framework, which operates virtual entities - "spheres".
The gist of the Sphere is to organize code into "spheres". It is done by adding the "o" constant to your php class.
class hello{
const o='app::object::something.useful';
}
app::object::something.useful - is called "index" ("sphere"::"element"::"subelement")
app - is a sphere title
object - role or element
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.