On Tuesday 29 June 2004 01:10 pm, Daniel Crookston wrote:
> What I'm wondering is this - what is it about PHP that gives it the rap of
> not being a "real" programming language?

For me, I do have a few issues with PHP.

1) is that most the people who use it tout how much easier/more readable it is 
than perl.  The problem is, the syntax is actually still very much like Perl, 
because that's what it started from.

2) that it's more readable because of it's embedded nature.  Frankly, I detest 
the way php encourages you to mix logic and presentation (yes there are 
templating system now) by default.  This is a very very bad idea.

3) Narrowed scope.  By stripping out all features of Perl to make a new 
language, it must be better.  Personally, even if I'm not using some of Perls 
features in a web page, great, I still like having them for working on 
non-web apps (yes, there are things other than html).  And somehow, php must 
better at web apps because that's all it was designed for (Professional Home 
Pages).  Excuse me, but other languages built on their existing strengths to 
become even more powerful in the web environment.  If you like PHP's style, 
you can use Mason or Embperl and be just as powerful.  Or look at something 
like Maypole, TTK, Axkit in perl or Struts, or tapestry in Java.

4) Application server vs. Code based web pages.  php subscribes to the 
paridigm that many web people use, that you can make code do dynamic things 
do your page.  But there is another view, where the page isnt' the center 
point of your web system.  Where you can harness an application server, and 
break code into more logical elements, each doing specific tasks on their 
own.  Neither is the best for everything, but you should know, and be able to 
use both methods, and php doesn't.

Just a few of my views.

-- 
--
Jayce^

Attachment: pgpXDXyy47oHY.pgp
Description: signature

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to