| Article: |
The Dynamic Duo of PEAR::DB and Smarty | |
| Subject: | This is not separating logic from presentation | |
| Date: | 2003-04-23 19:59:26 | |
| From: | jcpm | |
|
Response to: This is not separating logic from presentation
|
||
|
As I said in the article, presentation logic is very different from business logic. I see nothing wrong with allowing the designer or programmer to separate the logic in which a row gets a different color, for instance.
|
||
Showing messages 1 through 1 of 1.
-
This is not separating logic from presentation
2003-04-25 00:55:18 anonymous2 [View]



The presented example is very clear that in the end it will always be the same person doing the presentation and the logic. This means that if you want to alter the logic, you need to alter the presentation templates.
Consequently, it will be more expensive to companies that work that way because it has all to be done by a single person that needs to know 3 languages: PHP, HTML and the template engine language.
For people that deal with that, it may be just fine, but people with that many qualifications are harder to find, charge more and stall the development more because all the work is dependent on them.
Bottom line, messing three languages to use a template engine is a very inneficient and expensive way of work. Only people that work alone have an hard time understanding this.