12-28-2008, 02:51 PM
|
#2 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
|
A regex driven engine is pretty tough to make, and also is pretty slow than for instance, a php implementation of a templating system (php embedded templates). Besides of that, it also implies that you learn a new language, in between html and php. That can't be efficient. Why not use an existing templating system (like smarty, although I'm not a fan) and take a good look on how that was built.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
|
|
|
|