[ale] PHP vs. Perl

Master Wizard mainwizard at vei.net
Fri Jan 11 13:18:12 EST 2002


I prefer the JSP & taglib approach. Put your code into a reuseable tag 
library and document how to use the 'new' tags. It's a little more 
upfront work, but pay off in the long run.
Ed.

Tommie M. Jones wrote:

>I think the real question is if you like the approach of embedding
>programming code inside HTML. PHP, JSP and ASP follow this approach.
>
>I've never liked this approach myself.
>
>Many Web developers think there are only two approaches:
>   embedding HTML in the source code
>      or
>   embedding source code into Web pages
>
>There is a third approach.  Using powerful Templating functions where you
>have simple control structures to support if & loop structures but are not
>powerful enough to do any business logic code.
>
>To do this in perl you can use  HTML::Template.
>
>
>http://www.atlantageek.com
>Get inside Atlanta's Tech scene
>
>On Thu, 10 Jan 2002, Mike Millson wrote:
>
>>Is PHP better than perl in any way, or just another alternative scripting
>>language? Can anyone out there using PHP convince me to stop using Perl and
>>use PHP? If it's just another scripting language, then I'll stick w/ Perl;
>>however, if it has some benefits such as scalability as do Java servlets,
>>then I'd be interested.
>>
>>Thank you,
>>Mike Millson
>>----------------------------------------
>>AableTech Solutions, Inc.
>>770.414.8834
>>770.414.8206 fax
>>http://www.atsga.com
>>----------------------------------------
>>


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list