List Info

Thread: Menus in dynamic applications.




Menus in dynamic applications.
user name
2006-02-02 22:24:25
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
moseleyhank.org


_______________________________________________
templates mailing list
templatestemplate-toolkit.org
http://lists.template-toolkit.org/mailman/listinfo/t
emplates
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )