PHP Development Guidelines

Exceptions
Models and controllers SHOULD NOT terminate a script with an exit. Use an exception instead, so the application using the model or controller may respond to...
Thu, 12 Oct, 2017 at 9:34 AM
Global Session Objects and Variables
Name Type Class or Method Language string \StoreCore\I18N\Locale::load() Token string \StoreCore\Types\FormToken::getInstance() User object \StoreC...
Thu, 12 Oct, 2017 at 9:35 AM
MVC Class Synopses
Models: \StoreCore\Registry implements SingletonInterface { public mixed get ( string $key ) public static self getInstance ( void ) public ...
Thu, 12 Oct, 2017 at 9:36 AM
MVC Models and Controllers
Framework MVC controllers SHOULD extend the abstract core class AbstractController. Likewise MVC models MAY extend the abstract class AbstractModel: cla...
Thu, 12 Oct, 2017 at 9:39 AM
Reserved Session Variables
There are three session variable names that SHOULD NOT be used. These are reserved for internal use by the core Sessionclass. If one of these reserved names...
Thu, 12 Oct, 2017 at 9:42 AM
Shared Core Services
Service Class Connection \StoreCore\Database\Connection Logger \StoreCore\FileSystem\Logger Request \StoreCore\Request Response \StoreCore\Respon...
Thu, 12 Oct, 2017 at 9:42 AM
Shared Data
StoreCore data is shared through the service locator design pattern. The centralized registry is the only link between applications and controllers. At any...
Thu, 12 Oct, 2017 at 9:43 AM