It might be a bit early but I'll chime in regardless. ;-) Yes, a class-based admin generator would definitely be better than all that autogenerated (and almost always same-looking) output of the current one. (New, Edit) forms should explicitly be handled by the form class – as it stands now, you can have more fields in your form than you're displaying (the security implications were discussed some time ago and were judged to be not threatening, to which I concur).
As for the list view, this should be handled by Doctrine queries and a grid component (like sfGridPlugin for symfony 1.x) – this already is entirely class-based and provides near-limitless possibilities, for example the theme functionality for pure HTML-based, jQuery-based, or extJS-based admin generated modules. These two things (form system and grid component) should cover more than 90% of the current admin generator's feature set (and more, see the JavaScript part) and don't produce the same generated code that exists over and over again in the cache. :) Cheers, Daniel On 19.07.2010, at 17:48, Ally Burns wrote: > Are there plans to get some input from the community on how this will > be built? > > Seems like a great opportunity to build something world class. > > Sure we can take some inspiration from the Django admin, which is > fairly neat (in terms of the coding etc.) > > Personally, I hope we don't have any more autoModelname_actions being > generated, as I feel there are better ways of achieving the same > result. (base templates can be generic to work for all admin generated > modules, can be extended or replaced, generation can make main > controller only, that would extend class like BaseAdminController > etc.) > > I hope the community can embrace Twig here, as it would suit the admin > well. Don't want to get into a template engine argument though - good > that Symfony2 will be able to interweave e.g. a php template extending > a Twig base template. > > People DO judge a book by its cover, so it would be good if the out > the box style was top notch too. Who are our top designers who use > symfony? > > Some gracefully degrading java script enhancements would be good too. > > Good to see the Symfony2 website looking a bit prettier than v1. This > will help adoption too. > > I'd love to see an area set up where this can be discussed. > > Dev Community - what would you like to see in the new admin? Likes/ > Dislikes of old admin? > > > > On Jul 19, 3:35 pm, Jonathan Wage <[email protected]> wrote: >> The admin generator feature has not been started yet. >> >> - Jon >> >> On Mon, Jul 19, 2010 at 7:04 AM, Alexandre Salomé >> >> >> >> <[email protected]> wrote: >>> Admin Generator is an application of the framework. >> >>> The framework should be finished before development of such feature. >> >>> 2010/7/19 jaime <[email protected]> >> >>>> Nothing about this??? >> >>>> On Jul 13, 3:11 pm, Thibault D <[email protected]> wrote: >>>>> I personally hope the Symfony2 admin gen will be much better than >>>>> that. >> >>>>> On Jul 13, 12:54 am, jaime <[email protected]> wrote: >> >>>>>> Hi Symfony Devs! >> >>>>>> In all presentations about Symfony2 appears that the admin generator >>>>>> of Symfony2 isn't ready. >> >>>>>> There will be new features in the admin generator too? I have >>>>>> developed in Symfony and now I'm using Diem, it would be great that >>>>>> the new admin generator comes with features that Diem has developed >>>>>> for it's admin >>>>>> module.http://diem-project.org/diem-5-1/doc/en/reference-book/admin-generato... >> >>>>>> I would really recommend to enter in the demo of Diem and see the >>>>>> admin module, it has a lot of great features that made the admin >>>>>> almost ready for a commercial software without too much effort. >> >>>>>> Thanks for all your great job! >> >>>> -- >>>> If you want to report a vulnerability issue on symfony, please send it to >>>> security at symfony-project.com >> >>>> You received this message because you are subscribed to the Google >>>> Groups "symfony developers" group. >>>> To post to this group, send email to [email protected] >>>> To unsubscribe from this group, send email to >>>> [email protected] >>>> For more options, visit this group at >>>> http://groups.google.com/group/symfony-devs?hl=en >> >>> -- >>> Alexandre Salomé >>> http://alexandre-salome.fr >> >>> -- >>> If you want to report a vulnerability issue on symfony, please send it to >>> security at symfony-project.com >> >>> You received this message because you are subscribed to the Google >>> Groups "symfony developers" group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/symfony-devs?hl=en >> >> -- >> Jonathan H. Wagehttp://www.twitter.com/jwage > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
