[Typo3-dev] Indexedsearch 2.0

Ingmar Schlecht ingmars at web.de
Mon Feb 16 16:40:57 CET 2004


Kasper Skårhøj wrote:
>>Besides, it's just *much* cleaner if the HTML isn't weaved into the PHP 
>>code. After all, I guess that's why the Typo3-core provides template 
>>handlers... ;)
> 
> 
> No, weaving HTML into PHP and using CSS for styling it is beautiful and very easy to setup quickly. Often I wish that I didn't implement stuff like the message board, guestbook and shop with HTML templates - it simply takes too long to customize those each time and most often I just want to go with the default structure and change the styling with CSS.
> 
> Templating is not a goddess to worship for any cost: it should be a method we should use when it helps us. Sometimes it just doesn't and the best way is to hardcode the HTML. Indexed-search is most likely one of these cases.
> But of course we can vote for it...

Yes, I agree.

See also: http://www.massassi.com/php/articles/template_engines/
In the article they describe a nice PHP-only way of templating that kind 
of stresses Kasper's point.

cheers,
Ingmar




More information about the TYPO3-dev mailing list