News Feed
Sections




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

Symfony-Reloaded.org:
Bundle Best Practices
July 07, 2010 @ 12:02:34

On the Symfony-Reloaded site (the site for the upcoming Symfony2 version of the framework) there's a recently updated page talking about bundle best practices to use when creating these standardized, easy-to-install packages.

A bundle is a directory that has a well-defined structure and can host anything from classes to controllers and web resources. Even if bundles are very flexible, you should follow some best practices if you want to distribute them.

There's a few standards they lay out concerning the bundle naming scheme (namespacing), the directory structure that'd need to be used (including a "resources" and "controller" directory) and where classes, third-party library use, documentation, templates, configuration and tests should fit in the structure.

0 comments voice your opinion now!
symfony2 framework bundle bestpractice


blog comments powered by Disqus

Similar Posts

Project: Mink library integration bundle for Symfony2 (for Behat)

Mike Lively's Blog: Book Review: PHP5 CMS Framework Development by Martin Brampton

Jonathan Snook's Blog: CakePHP: Initial Thoughts

Hari KT's Blog: Is there a design flaw for the Components or Packages made by Symfony2 and ZF2

Chris Hartjes' Blog: What's In Chris' Brain, July 2008 Edition


Community Events

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


introduction laravel api extension voicesoftheelephpant development video opinion framework library unittest psr7 series conference community podcast interview laravel5 language release

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