On Tue, Apr 7, 2009 at 4:28 AM, Michael Harris <[email protected]>wrote:

>
> <snip>
>
> > Parent AdminPage:
> >
> https://trac.habariproject.org/habari/browser/branches/adminhandler/htdocs/system/admin/classes/adminpage.php
> >
> > AdminHandler:
> >
> https://trac.habariproject.org/habari/browser/branches/adminhandler/htdocs/system/classes/adminhandler.php
> >
> > and an example AdminPageDashboard:
> >
> https://trac.habariproject.org/habari/browser/branches/adminhandler/htdocs/system/admin/classes/dashboardadminpage.php
>
> It may be that other handlers become similarly monolithic in the
> future. I think putting things in /admin may lose us flexibility and
> cause problems in the future. What about moving the handlers to
> /system/handlers/{admin,user,atom,etc}.php, and have handler-specific
> things in a subdirectory, /system/handlers/admin/dashboard.php, for
> example ?
>


I also like the idea of moving handlers and their sub-items out of the
generic classes directory, regardless of what the eventual structure is.
They're more like controllers than libraries, so it's never made much sense
to have them lumped all together, it was just easy.

--~--~---------~--~----~------------~-------~--~----~
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/habari-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to