> Ray Zimmerman wrote: > So how is everybody else handling URL mapping?
On Mon, 10 Jun 2002, John Hurst wrote: > In the filesystem. Directly requested .tt files are all sent to a > default template handler: [...] > % cat admin/proj-edit.tt > [% Ctrl.DBEdit.run(ObjectType => 'Project') %] I used html pages with augmented tags parsed by a standard handler: <img src="some.gif" function="Class::method" arg="foo" kbit> this way i can instantiate classes, named components, and call their methods. Programmers write classes wich in turn call templates. Designer can control 1) graphic layout by moving 'images' (and other tags of course) 2) view details modifying templates. There are other high level tools: <img get="variable" kbit> <img set="variable" value="..." kbit> <img placeholder="name" kbit> <img include="<URI>" filter="..." kbit> functions can use variables and fill placeholders. Every component can interact with the handler, receiving context infos (possibly including session data) and answering with some content plus HTTP codes, which seem to me quite explanatory. If someone wants to know more, please ask. This framework works in few dinamic sites here in Italy and is very handy to use, especially during periodic reorganization of the site (structure, design). Thank you for the excellent OT! Ciao, Valerio Valerio Paolini, <http://130.136.3.200/~paolini> -------------------------------------------------- what is open-source about? Learn, and then give back