[Templates] Menus in dynamic applications.
Bill Moseley
moseley@hank.org
Thu, 2 Feb 2006 14:24:25 -0800
Doing a bit of fishing, here.
Before I run off and reinvent the wheel, anyone have pointers to code
to generate menus? On static sites I use a modified version of
what's in the Badger book. And I've used various methods for dynamic
apps. But the example in the Badger is nice because you get
Previous/Next and breadcrumbs for each page. But on a dynamic site I
don't want to build that for every request.
Probably something like an xml or perl hash menu layout. Then a way
to generate (and cache) the menu for any page based on the request
path. It's a dynamic site, so would need to do partial path matching
(i.e. /path/to/foo/list/123/bla where only/path/to/foo/list is the id
of the menu).
Thanks,
--
Bill Moseley
moseley@hank.org