Successfully reported this slideshow.
Your SlideShare is downloading. ×

Easy backends with Symfony2 and the Sonata Admin bundle

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Loading in …3
×

Check these out next

1 of 30 Ad

More Related Content

Viewers also liked (20)

Similar to Easy backends with Symfony2 and the Sonata Admin bundle (20)

Advertisement

Recently uploaded (20)

Easy backends with Symfony2 and the Sonata Admin bundle

  1. 1. Easy backends with Symfony2 and the SonataAdminBundle Lineke Kerckhoffs-Willems @the_linie / lineke@phpassionate.com http://joind.in/7062
  2. 2. About me !   Over 9 years experience with PHP !   Egeniq !   Love conferences !   Head of PHPWomen EU !   Lead developer ProTalk !   Mentor and writer !   Mum of 2 beautiful daughters !   @the_linie / lineke@phpassionate.com
  3. 3. The problem
  4. 4. Solutions !   DIY (Do It Yourself) ! Admingenerator bundle !   SONATA ADMIN BUNDLE
  5. 5. The bundle
  6. 6. Setup !   Installation !   Separate bundle
  7. 7. Setup - Configuration
  8. 8. Admin class
  9. 9. Dashboard
  10. 10. Features
  11. 11. List view
  12. 12. Create / edit view
  13. 13. Fields - Relations - 1
  14. 14. Fields - Relations - 2
  15. 15. Validation In the admin class
  16. 16. A bit more advanced
  17. 17. Tooltips In the admin class
  18. 18. Adding filtering to list view In the admin class
  19. 19. Default ordering in list view In the admin class
  20. 20. Batch actions - 1 The user interface
  21. 21. Batch actions - 2 In the admin class
  22. 22. Batch actions - 3 Create a controller
  23. 23. Translations - simple !   Change default locale in parameters.ini ! Add messages.<language>.xliff in Resources/translations
  24. 24. Translations - strategies !   Different strategies ! sonata.admin.label.strategy.native : DEFAULT ! sonata.admin.label.strategy.form_component ! sonata.admin.label.strategy.underscore ! sonata.admin.label.strategy.noop !   In config.yml
  25. 25. Translations - domains !   In the admin class ! Rename messages.<language>.xliff
  26. 26. There is more… ! Customize templates !   ACL and Google authenticator !   CLI
  27. 27. Conclusion ! Sonata Admin Bundle is a great bundle ! Lack of / unclear documentation ! Complexity of the bundle !   Separate bundle needs controller directory
  28. 28. Questions?
  29. 29. Resources !   http://sonata-project.org/ !   http://phpassionate.com/2012/05/22/how-to-use-the- symfony2-sonataadminbundle/
  30. 30. Thank you! http://joind.in/7062 @the_linie / lineke@phpassionate.com

×