6 ms·
> separates the concerns of presentation and logic WHAT? The explicit purpose of this is to combine the presentation (HTML) and logic (PHP) layers.
by commonsense 17y ago
> separates the concerns of presentation and logic
WHAT? The explicit purpose of this is to combine the presentation (HTML) and logic (PHP) layers.
- spoondan 17y agoThe purpose of a "layer" is not determined by the language it's implemented in, but by what the code actually does. Code that handles nothing but presentation is by definition separate from the business logic, even if the presentation code and business logic are implemented in the same language. It is trivial to implement this architecture with PHP and even easier with XHP.