Additional thought I've apprecitiated
See ==ARCHIVE ....

José.

==ARCHIVE
-----Original Message-----
From: Nigel Wetters [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 23, 2002 6:19 PM
To: [EMAIL PROTECTED]
Subject: Re: Perl vs. PHP?


PHP is a good templating language, similar to ASP, JSP, etc.

The problem with templating languages is that they're too good. It's always tempting 
for the programmer to introduce yet another small piece of logic into a page.

It extremely difficult with these templating languages to abstract the various layers 
of a moderately complex application.

Many applications can be split into three layers (model, view, and controller). The 
model is the underlying structure of your data, which won't differ whether you're 
accessing the data through the web, the command line, or a GUI. The view is a thin 
skin which presents the model on a particular platform (HTML, text, Tk, etc.). The 
controller validates user input, and decides what happens next. Templating languages 
are excellent for building the view layer

Using mod_perl and template toolkit, or servlets and JSP, or COM and ASP, it's easy to 
write applications with clear boundaries between layers. With only the templating 
language, the model and controller are forced into the view layer, which soon becomes 
unmaintainable.

However, PHP is fine for building quick and dirty webpages, which is what most people 
want.
-- 
Nigel Wetters, Senior Programmer, Development Group
Rivals Digital Media Ltd, 151 Freston Road, London W10 6TH
Tel. 020 8962 1346 (direct line), Fax. 020 8962 1311 http://www.rivalsdm.com/ 
<[EMAIL PROTECTED]>
==ARCHIVE


**** DISCLAIMER ****

"This e-mail and any attachment thereto may contain information which is confidential 
and/or protected by intellectual property rights and are intended for the sole use of 
the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, total or 
partial reproduction, communication or distribution in any form) by other persons than 
the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at 
http://www.proximus.be or refer to any Proximus agent.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to