Straight templates (Was: Re: [Maypole] model_class issues on 1.7->2.x upgrade?)
Jesse Sheidlower
jester@panix.com
Sat, 4 Dec 2004 15:47:15 -0500
On Sat, Dec 04, 2004 at 06:35:36PM +0000, Dave Howorth wrote:
>
> Reading this correspondence, I was struck by another aspect of the
> vanilla HTML files and plain template files (with no Maypole objects)
> question. Assuming that for some reason one wants to have the Maypole
> application handle them (pretty URLs?)
Because even a database-driven application will have some
static or static-ish pages, and you might as well keep them in
the same place and have them handled in the same way. As one
of my earlier examples had it, you might very well have an
"about" page, or a "contact_info" page, or something else,
along with your various search forms and results lists and
everything else. When I need such pages, I just write them in
TT, and toss them into my custom/ directory. And yes, it would
be nice if Maypole could serve these up with as low overhead
as possible.
Jesse Sheidlower