Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Sonata Admin Bundle @ PHP UG Düsseldorf

Sonata Admin Bundle @ PHP UG Düsseldorf

Avatar for Markus Poerschke

Markus Poerschke

August 07, 2014

More Decks by Markus Poerschke

Other Decks in Programming

Transcript

  1. Sonata Admin Bundle Lightning Talk @ PHP UG
 07. August

    2014 ! 
 Markus Poerschke @markuspoerschke
  2. • Using Symfony2 Framework • Common Task: Implement CRUD functionality

    • Create: Form, Validation • Read: List / Tables / Form • Update: Form to edit fields, batch actions, etc. • Delete: Confirmation page etc.
  3. Compare different approaches DIY Admin Generator Admin Framework Write anything

    by hand Generate basic CRUD code Configure by writing code Changes are easily possible Generated code can easily be changed Admin views / controllers can be overwritten General changes on all tools are hard to do Same as in DIY Updates can be applied to multiple tools
  4. Sonata Admin Bundle • Metadata description of CRUD operations •

    No code generation • Fully customizable by using Symfony2 framework
  5. Main Features • CRUD functionality • Rights management and security

    • Versioning with AuditBundle by Simple Things • Support multiple data sources • Doctrine2 ORM • Propel • Doctrine PHPCR • Doctrine ODM
  6. Other Sonata Bundles • Core • Notification • Formatter •

    Internationalization • Cache • Seo • Easyextends • Admin • Doctrine ORM Admin • Propel Admin • Doctrine PHPCR Admin • MongoDB Admin • E-Commerce • Classification • Page • Media • News • User • Block • Timeline