Article Categories
Advertisement
Article Options
Popular Articles
  1. Manage your MySpace Calendar
  2. How to add Photos to MySpace
  3. Carbon Fibre
  4. Animated Mask Using Flash
  5. The Advantages of PHP
No popular articles found.
Popular Authors
  1. Joseph Lancaster
  2. Nicholas Hall
  3. Adam Carmichael
  4. Celeste Stewart
  5. Deepaq Sharma
  6. Katerina Mitrou
  7. Robby Alientjuh
  8. Arnab Ghosh
  9. Gregg Hall
  10. Anna Berk
No popular authors found.
 »  Home  »  Web Development  »  PHP  »  PHP Roadmap
PHP Roadmap
By James Murphy | Published  05/25/2006 | PHP | Unrated
PHP Roadmap Part 2

PHP vs. Other Scripting Languages

 For those who have migrated form other scripting languages, we have detailed a section on why you just made the right choice.

PHP vs. ASP

ASP (Active Server Pages) is Microsoft’s proprietary scripting “language”. Loosely speaking, ASP isn’t a language, but a scripting extension of Visual Basic. For this reason, ASP is relatively easy to pick up for anyone who is familiar with Visual Basic.

Disadvantages? For one, ASP is generally slower than PHP. ASP is fundamental user of COM-based architecture. So, when an ASP programmer accesses the database and writes to the client, they’re calling upon the COM strictures of another NT server or an OS layer to assist. This COM overhead can add up and results in average performance for anything more than medium-traffic simple page delivery. Also, ASP isn’t exactly ready to port and integrate with GNU tools and open source environments or servers.

Since it’s a proprietary system of Microsoft, it is mostly used on their Internet Information server (IIS), which limits common adoption of ASP to Windows 32 bit systems – where it comes as a free piece of code to most server customers. There are versions for UNIX 9see Chilli Soft ASP) and several ASP concern. A solution to this problem might be to use the asp2php program (http://asp2psp.maken.cc/), which will convert ASP to PHP.

PHP vs. Cold Fusion

PHP runs on virtually every platform; Cold Fusion is only available on Win32, Solaris, Linux, and HP/US. PHP initially requires more programming knowledge in contrast with Cold Fusion, which has a refined IDE and simpler language constructs. PHP is less resource intensive.

PHP vs. Perl

Since PHP was designed specifically for the Web, it has the upper hand on Perl in this area, since Perl was designed for myriad applications (and consequently looks the part). The format and syntax of Perl can make a Perl script hard to read and modify later when updates are needed.

Though Perl has been around for quite some time (it was developed in the late 1980s), and is widely supported, it has grown into a complex structure of additions and extensions and is imply just too much. PHP has a less confusing format without losing its flexible nature. PHP is easier to integrate into existing HTML and offers similar functionality to Perl, but with so much more grace.

PHP vs. Java

PHP is simpler to use than Java and makes it easier to architect web applications while also gaining similar advantages of flexibility and scalability. Using PHP doesn’t require 5 years of software engineering experience to create simple, dynamic pages and can be used by savvy, but inexperienced, computer programmers.

Java is often expensive too, as most companies end up having a stand alone box to run Java enterprise and use Oracle and other expensive software. Having said all that, PHP still has to grow and in that it’s not as portable or doesn’t have some of the nice features like object pooling or database mapping as in Java. These issues are being addressed in the Zend 2.0 engine design consideration.

PHP Licensing

PHP was earlier released under both GPL (General Public Licence) and its own licence, which left the individual user free to choose the licence they preferred. Now the program as a while is released under its own extremely laissez-faire PHP4 licence.

At the time of writing, the Zend licence was release under the QPL (Q Public Licence). Please refer http://www.zend.com/licence/ZendLicence/ for more details. Also quoted in their press release in the change to BSD-style licence, to provide compatibility with the PHP licence, and offer greater freedom of development.


How would you rate the quality of this article?
1 2 3 4 5
Poor Excellent
Spread The Word

del.icio.us it Digg this Furl Reddit Yahoo! this!



Get updates in your E-mail - Get notified when new articles are added, and get exclusive offers from our partners!
E-mail Address:
Subscribe: UnSubscribe: