cms
cms copied to clipboard
Gleez 2.0 and PHP FIG
It seems, in version 2.0 we should use PHP Framework Interoperability Group.
For example, it pushes to use such structure of files:
-
\Gleez\Blog\Controller=>/path/to/project/lib/vendor/Gleez/Blog/Controller.php -
\Doctrine\Common\IsolatedClassLoader=>/path/to/project/lib/vendor/Doctrine/Common/IsolatedClassLoader.php -
\Symfony\Core\Request=>/path/to/project/lib/vendor/Symfony/Core/Request.php -
\Zend\Acl=>/path/to/project/lib/vendor/Zend/Acl.php -
\Zend\Mail\Message=>/path/to/project/lib/vendor/Zend/Mail/Message.phpetc.
Also, we could use a third-party libraries, such as Drupal uses Symfony.
The first step toward standardization: Gleez Autoloader