Half life bike

Forward to the future!
Forward to the future!

Start

Yes, that's right: I started writing the core of the PHP engine in 2001. 





Then everything was simpler: the inc / directory, in it header.php, footer.php, common.php.





But it was boring and uninteresting, I needed even more chips that I could offer to customers. This is how the admin / section appeared. But around the same time PHPNuke appeared, it was a bomb! Such a level of customization! I realized that I could not offer anything like this, but according to the requirements, my engine was much simpler, although it allowed organizing a catalog of goods, a list of articles, a gallery. For several years I have moved on in my main job: administering Linux servers. 





- PHP-.   , : 





  1. .





  2. .





! ! 50+ !  , 100 , MySQL .





:  CMS , . , - .





Subversion: ! -   60 8w180! / ! ,  , 





"" AJAX, PHP,   : , inc/ , , ? 





, Gentoo. ! ! Gentoo - :)





:( : catalog/index.php  .





$input["list_id"];







. ! , !





, .  





. , . , ... , , : $DB->Query. , , ORM . , , 1 ! : , โ€“ , : , !? , , , : XML ! ! , . , , , .





, Yii1, ,  ! CMS :  . Yii1 , . ,  , : Yii2. : MariaDB, MySQL , , EXPLAIN, . 





: PHP. Vova07. CRUD' , RBAC,   REST API, . .





CMS inc/.  include/. :( ln -s ./inc ./include, , :( include/lib_*, , , . : : , Twig? JS CSS , laravel-mix   ? CSS SASS,  , , . 





!.. . , make make install make test. ./configure , ? - ! - , composer test - , ! , , . , CMS , TDD , , .





100500 .





. : - : "? ! ? ,  !". , : : , , . , : . - , : DI . DI   , , request, response, log, cache,   PSR, :)  . Phinx,   symfony/console akephp. ake : ?





Outcome

In the end, it was a difficult path, but I am happy with the result. Of course, there is still a lot to be done, but now I am ready to share my work with the community. It is a pity that customers do not see the difference between a set of crutches and a cleaner code that can be changed without fear of knocking out the card on which the whole crutch house rests. But it was worth it, definitely!





Oh yes: GitHub








All Articles