Meet Hadori. She's beautiful, magnificient, and everything you've ever dreamed her to be. Go head, don't be shy... click on her!. You can also browse the fully-functional demo, if you're into that kind of thing.
List View
[caption id="attachment_569" align="aligncenter" caption="Hadori Screenshot for the List View"]Hadori Screenshot for the List View[/caption]
Filters Editing
[caption id="attachment_572" align="aligncenter" caption="Hadori Screen Shot for Filters"]Hadori Screen Shot for Filters[/caption] [caption id="attachment_574" align="aligncenter" caption="Hadori Screenshot for the Edit Action"]Hadori Screenshot for the Edit Action[/caption]
Detail View (show) Exporting (yeah!)
[caption id="attachment_573" align="aligncenter" caption="Hadori Screenshot for the Show Action"]Hadori Screenshot for the Show Action[/caption] [caption id="attachment_575" align="aligncenter" caption="Hadori Screenshot for the Export Action"]Hadori Screenshot for the Export Action[/caption]

Why Switch?

  1. Export models as CSV
  2. Generated code that doesn't strangle you
  3. Full test coverage
  4. Finally... a show action!
  5. Support for sortable models
  6. Gorgeous Redmine-style filtering
  7. Optional internationalization support
  8. Integration with security.yml settings
  9. Semantic markup, semantic CSS, and a beautiful theme!
  10. Damn good documentation
The primary purpose of Hadori is to provide you with meaningful, generated code. The purpose of an admin generator is to get you started with basic functionality that every administrator needs. However, your app's requirements will eventually outgrow the scope of any configurable generator. When this happens, Hadori ensures you hit the ground running. The generated code in Hadori isn't good. It's gorgeous. Beautiful. Hadori writes code better than your mom, guaranteed. Check it out. Below is a comparison between symfony's built-in admin generator and Hadori. This has been done using the out-of-the-box configuration for the sfGuardUser model. You can quickly see how much more lightweight hadori is, but more importantly you can see how much easier it is to understand the code itself.
HadoriSymfony's Admin Gencompare
list header partial25 lines161 linescompare
form rendering1 partial4 partialscompare
generated configuration classnone!293 filescompare
filesystem14 files29 filescompare
process form action15 lines42 linescompare
batch action13 lines44 linescompare
generated helper classnone!18 filescompare

So what next?

  1. Check out the fully-functional demo
  2. Read the awesome documentation
  3. View a sample generator.yml from the demo
  4. Poke around the demo's generated code
  5. Once you're convinced Hadori is the plugin for you, follow the Installation and Setup instructions on github
  6. As always, don't hesitate to contact me with any questions!
note: I have every intention of using as much of these concepts as possible in the Sonata AdminBundle for Symfony2. Stay tuned!

1 comment

  • neki chan - November 3, 2011

    Hi, do you make something like this using symfony2 ?