SlideShare une entreprise Scribd logo
1  sur  18
Symfony2
Admin Bundles
   Christoph Hautzinger
  christoph@100days.de
Agenda
• Problemdomäne Admins
• Historie symfony1 Admin Generator
• „State of the Art“ in Symfony2
• Live Demo
 • Funktionalität
 • Code
Ich

•   arbeite bei 100 days

•   Webentwicklung seit ca.
    11 Jahren

•   Symfony seit 0.6.3

•   SFUGS Orga
100 days software
     projects GmbH
• spannende (Software-)Projekte
• Agile
• Netzwerk
• Verteilte Firma
Problemdomäne
              Admins
•   User + phpMyAdmin = selten optimal
•   Grundfunktionalität recht ähnlich
    •   CRUD / BREAD (vgl. http://paul-m-jones.com/archives/291)
    •   Filter
    •   Relationen
    •   Batch
    •   Paging
•   Kein Admin zu 100% gleich
    •   Custom Code
symfony1
    Admin Generator
• Basierend auf Propel / Doctrine Schema
• generator.yml / Codegenerierung
• 1:N, M:N // umständlich beim Erstellen
• Filter / Batch
• Einfach erweiterbar
• Komplexe Admins? Think first!
sf 1.1, sf 1.2, sf 1.3/1.4

• sfForm (Widget + Validator)
• Events
• Embedded Forms
Symfony2

• Symfony2 Forms != symfony1 Forms
• Admin nicht Teil des FrameworkBundles
• Is there a Bundle for this?
Bundles im Überblick

• WhiteOctoberAdminBundle
  (vgl. https://github.com/whiteoctober/WhiteOctoberAdminBundle)


• AdminGeneratorBundle
  (vgl. http://symfony2admingenerator.org/)


• SonataAdminBundle
  (vgl. http://sonata-project.org/bundles/admin/2-0/doc/index.html)
AdminGeneratorBundle

 • sf1 Admin Generator Ansatz
  • generator.yml - TwigGenerator
  • ähnliches Featureset
 • Propel / ORM / ODM
 • Doku leicht „out of sync“
SonataAdminBundle
•   Inspiriert vom django Framework
•   ORM / ODM (early stage)
•   PHPCR (early stage)
•   Super Doku
•   Twitter Bootstrap
•   Dashboard
•   Lightbox-Editing
•   Export (CSV/JSON/XML) über „Exporter“ package
...interacts with
•   SonataDoctrineORMAdminBundle
•   SonataDoctrineMongoDBAdminBundle
•   SonataDoctrinePhpcrAdminBundle


•   SonataUserBundle
•   SonataPageBundle
•   SonataMediaBundle
Live Demo
Q&A
Vielen Dank für Eure
  Aufmerksamkeit!
SFUGSTR #2
 17.10.2012

Contenu connexe

Similaire à Symfony2 admin bundles

PHP Summit 2013 Twig Workshop
PHP Summit 2013 Twig WorkshopPHP Summit 2013 Twig Workshop
PHP Summit 2013 Twig Workshop
Timo Haberkern
 
Entwicklung mit Chef und Vagrant - PHPUG HH
Entwicklung mit Chef und Vagrant - PHPUG HHEntwicklung mit Chef und Vagrant - PHPUG HH
Entwicklung mit Chef und Vagrant - PHPUG HH
Florian Holzhauer
 

Similaire à Symfony2 admin bundles (20)

Deployment
DeploymentDeployment
Deployment
 
Joomlaplatform deutsch
Joomlaplatform deutschJoomlaplatform deutsch
Joomlaplatform deutsch
 
Tipps & Tricks für Erweiterungsentwickler - JoomlaDay Deutschland 2014 - Köln
Tipps & Tricks für Erweiterungsentwickler - JoomlaDay Deutschland 2014 - KölnTipps & Tricks für Erweiterungsentwickler - JoomlaDay Deutschland 2014 - Köln
Tipps & Tricks für Erweiterungsentwickler - JoomlaDay Deutschland 2014 - Köln
 
Zend Framework 2 feat. MongoDB
Zend Framework 2 feat. MongoDBZend Framework 2 feat. MongoDB
Zend Framework 2 feat. MongoDB
 
Sheriffing @ Mozilla - OpenSourceTreffen Munich Presentation
Sheriffing @ Mozilla - OpenSourceTreffen Munich PresentationSheriffing @ Mozilla - OpenSourceTreffen Munich Presentation
Sheriffing @ Mozilla - OpenSourceTreffen Munich Presentation
 
Scrum Überblick Teil 1
Scrum Überblick Teil 1Scrum Überblick Teil 1
Scrum Überblick Teil 1
 
FMK2015: Einführung in Codeversionierungssysteme by Thomas Hirt
FMK2015: Einführung in Codeversionierungssysteme by Thomas HirtFMK2015: Einführung in Codeversionierungssysteme by Thomas Hirt
FMK2015: Einführung in Codeversionierungssysteme by Thomas Hirt
 
PHP Summit 2013 Twig Workshop
PHP Summit 2013 Twig WorkshopPHP Summit 2013 Twig Workshop
PHP Summit 2013 Twig Workshop
 
Back to the future - Plone 5.2 und Python 3 Migration am Beispiel Onkopedia
Back to the future - Plone 5.2 und Python 3 Migration am Beispiel OnkopediaBack to the future - Plone 5.2 und Python 3 Migration am Beispiel Onkopedia
Back to the future - Plone 5.2 und Python 3 Migration am Beispiel Onkopedia
 
JIRA at ImmobilienScout24
JIRA at ImmobilienScout24JIRA at ImmobilienScout24
JIRA at ImmobilienScout24
 
Mehr Sicherheit durch Automatisierung
Mehr Sicherheit durch AutomatisierungMehr Sicherheit durch Automatisierung
Mehr Sicherheit durch Automatisierung
 
Webservice API - Webportale mit Force.com verbinden
Webservice API - Webportale mit Force.com verbindenWebservice API - Webportale mit Force.com verbinden
Webservice API - Webportale mit Force.com verbinden
 
Ant Maven
Ant MavenAnt Maven
Ant Maven
 
Migration vom ZF1 zum ZF2 von einfach bis fies (IPC Spring 2013, Berlin)
Migration vom ZF1 zum ZF2 von einfach bis fies (IPC Spring 2013, Berlin)Migration vom ZF1 zum ZF2 von einfach bis fies (IPC Spring 2013, Berlin)
Migration vom ZF1 zum ZF2 von einfach bis fies (IPC Spring 2013, Berlin)
 
Perl Renaissance Reloaded
Perl Renaissance ReloadedPerl Renaissance Reloaded
Perl Renaissance Reloaded
 
Entwicklung mit Chef und Vagrant - PHPUG HH
Entwicklung mit Chef und Vagrant - PHPUG HHEntwicklung mit Chef und Vagrant - PHPUG HH
Entwicklung mit Chef und Vagrant - PHPUG HH
 
Warum gerade TYPO3?
Warum gerade TYPO3?Warum gerade TYPO3?
Warum gerade TYPO3?
 
"git.net" gibt's nicht?
"git.net" gibt's nicht?"git.net" gibt's nicht?
"git.net" gibt's nicht?
 
FMK2015: FrameWork Konzepte in FileMaker Pro by Wolfgang Wunderlich
FMK2015: FrameWork Konzepte in FileMaker Pro by Wolfgang WunderlichFMK2015: FrameWork Konzepte in FileMaker Pro by Wolfgang Wunderlich
FMK2015: FrameWork Konzepte in FileMaker Pro by Wolfgang Wunderlich
 
ColdFusion im Enterprise Umfeld - Deep Dive
ColdFusion im Enterprise Umfeld - Deep DiveColdFusion im Enterprise Umfeld - Deep Dive
ColdFusion im Enterprise Umfeld - Deep Dive
 

Symfony2 admin bundles

  • 1. Symfony2 Admin Bundles Christoph Hautzinger christoph@100days.de
  • 2. Agenda • Problemdomäne Admins • Historie symfony1 Admin Generator • „State of the Art“ in Symfony2 • Live Demo • Funktionalität • Code
  • 3. Ich • arbeite bei 100 days • Webentwicklung seit ca. 11 Jahren • Symfony seit 0.6.3 • SFUGS Orga
  • 4. 100 days software projects GmbH • spannende (Software-)Projekte • Agile • Netzwerk • Verteilte Firma
  • 5. Problemdomäne Admins • User + phpMyAdmin = selten optimal • Grundfunktionalität recht ähnlich • CRUD / BREAD (vgl. http://paul-m-jones.com/archives/291) • Filter • Relationen • Batch • Paging • Kein Admin zu 100% gleich • Custom Code
  • 6. symfony1 Admin Generator • Basierend auf Propel / Doctrine Schema • generator.yml / Codegenerierung • 1:N, M:N // umständlich beim Erstellen • Filter / Batch • Einfach erweiterbar • Komplexe Admins? Think first!
  • 7.
  • 8. sf 1.1, sf 1.2, sf 1.3/1.4 • sfForm (Widget + Validator) • Events • Embedded Forms
  • 9. Symfony2 • Symfony2 Forms != symfony1 Forms • Admin nicht Teil des FrameworkBundles • Is there a Bundle for this?
  • 10. Bundles im Überblick • WhiteOctoberAdminBundle (vgl. https://github.com/whiteoctober/WhiteOctoberAdminBundle) • AdminGeneratorBundle (vgl. http://symfony2admingenerator.org/) • SonataAdminBundle (vgl. http://sonata-project.org/bundles/admin/2-0/doc/index.html)
  • 11. AdminGeneratorBundle • sf1 Admin Generator Ansatz • generator.yml - TwigGenerator • ähnliches Featureset • Propel / ORM / ODM • Doku leicht „out of sync“
  • 12. SonataAdminBundle • Inspiriert vom django Framework • ORM / ODM (early stage) • PHPCR (early stage) • Super Doku • Twitter Bootstrap • Dashboard • Lightbox-Editing • Export (CSV/JSON/XML) über „Exporter“ package
  • 13. ...interacts with • SonataDoctrineORMAdminBundle • SonataDoctrineMongoDBAdminBundle • SonataDoctrinePhpcrAdminBundle • SonataUserBundle • SonataPageBundle • SonataMediaBundle
  • 14.
  • 16. Q&A
  • 17. Vielen Dank für Eure Aufmerksamkeit!

Notes de l'éditeur

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n