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
Hadori Screenshot for the List View
Filters Editing
Hadori Screen Shot for Filters Hadori Screenshot for the Edit Action
Detail View (show) Exporting (yeah!)
Hadori Screenshot for the Show Action Hadori Screenshot for the Export Action

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.

Hadori Symfony’s Admin Gen compare
list header partial 25 lines 161 lines compare
form rendering 1 partial 4 partials compare
generated configuration class none! 293 files compare
filesystem 14 files 29 files compare
process form action 15 lines 42 lines compare
batch action 13 lines 44 lines compare
generated helper class none! 18 files compare

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 ?

Add comment