News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Chris Hartjes' Blog:
Organzing Slim Framework Applications
February 15, 2012 @ 08:57:28

One of the more popular PHP microframeworks right now is Slim and Chris Hartjes has a new post to his blog about a good way he's found for organizing applications that use this handy tool.

I've never really used a microframework in PHP before. I used Flask for a Python project that I did to experiment with using Google App Engine. The principles seem to be quite similar (although I will admit that having decorators in PHP would be ineresting) but the trade-off with a microframework is that you usually have to figure out an application layout for yourself.

He also uses the Pimple dependency injection container, Twig templating and Composer for package management. He describes how he got it all set up - organizing the code so Composer could understand it, creating the Twig templates directory and creating some of his default routes.

0 comments voice your opinion now!
slim application organization composer pimple twig


blog comments powered by Disqus

Similar Posts

Josh Holmes' Blog: phpBB is in the Web Application Gallery

Zend Developer Zone: PHP and RIA (Presentation Update)

Web Mozarts: On Libraries and Dependencies

PRADO Watch Blog: PRADO Watch: Interview With Timani Tunduwani - Why I Moved From CakePHP to PRADO

Ralph Schindler's Blog: PHP: Environments, Libraries, and Applications - Oh My!


Community Events

Don't see your event here?
Let us know!


opinion example performance laravel symfony2 library interview series release voicesoftheelephpant extension conference podcast introduction community framework xdebug version api php7

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework