|
Comments for: babao20020907
| Message # 1019903: |
|
Date: 04/24/04 03:10
By: Benjamin Smith Subject: Templates live where you dare not tread Hobbit, Roy Robin - If you really think that what you propose works, then you aren't making web applications - you are making toys. PHP is itself a sort of dynamic template script, originally designed for very small scripts - the name PHP originally meant "Personal Home Page". If you are making real applications - those greater than 50,000 lines, for instance - the advantages of some kind of template technology become obvious. Sorry. You just aren't going to manage a project that size without some heavy abstraction. And, if you think that templates always reduce performance, think again. Sourceforge has a project http://sourceforge.net/projects/php-templates/ with a template engine written in C. My own testing shows this to outform echo statements in generating a complex, very large table, such as what you'd see after a databae query. (About 10% improvement over echo statements, over 100x faster than PHPLib) How serious are you? |
Previous Message | Next Message |


