> From: Rhesa Rozendaal
> 
> Thirdly: Links belong in my templates, not in my app, so I 
> have no business knowing how to generate them.
> 

But in my application, the links belong in my apps, and the designers don't
know how to generate them. 

For example - in my full text searches, the designers simply put <tmpl_var
prev> <tmpl_var next> at the bottom of the paginated results. They don't
need to know about offsets, results per page, keywords etc. Likwise, all
menu items, links etc are generated automatically. If a file is available
for download, <tmpl_var file> suffices. Now you can argue that this means
the app knows too much about the links, but in my case, the burden of
maintaining these links is removed from the designers (who are not
technical) and this allows them to rapidly knock up new templates and sites
without gettng bamboozled by details that they don't care about...

Personally, I'd like everything to be self-contained in the application
layer. mod_rewrite is a pain, because I don't always have access to another
administrator's Apache conf. And if the URL format needs updating with extra
parameters etc, I don't need to hunt around every Apache conf file on the
sites that have the app installed - I just want to supply the latest version
of the app.

Dan


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to