From: Martin W. <mar...@xm...> - 2004-02-03 10:14:19
|
Lübbe Onken wrote: > I was the person who started that (smarty) template thread in 2002 (Yes, > it's that long ago). I dunno, if anyone still remembers. I remember! :-) > That said. I can honestly claim that I didn't take a look at the code > for *quite* some time. The reason for starting the template discussion > was to achieve a clean separation from logic and display (code/content, > whatever you prefer). Mantis was far away from that in 2002, but has > made a giant step towards that goal in the meantime. The only reason > left for using a template engine after having done (insert quote from > Jeroen here) would be that it would be easier for *some* people to tweak > the appearance of Mantis to their needs. The conclusion for me is that I > withdraw my request for using a template engine, even though smarty is > the coolest one hanging around. I agree 100%. I was reluctant then (2002), but even more now when mantis has been restructured. > I'd rather recommend to focus on things like XHTML compliance, getting > rid of the table driven layout where it restricts flexibility and to > implement a (or several) better style sheet(s) for mantis. This way a > lot of the customization on the client side can be handled easily by > tweaking (or switching) the css. There would, for example, be no need to > have the print_* pages anymore, because the style can handle it for you. Amen. Smarty may be cool, but it seems like a wrong step to redesign mantis just for the fun of it. Fix bugs and add needed features instead. /M |