Q&A: PHP creator Rasmus Lerdorf
Computerworld -
Rasmus Lerdorf was the original creator of PHP, which has evolved from his personal home page project into an open-source scripting language used worldwide. Lerdorf was interviewed recently via e-mail by Computerworld online managing editor Sharon Machlis.
Q: What would you like corporate IT managers to know about PHP?
A: PHP is not a major investment if they choose to use it. Obviously, being open source, there are no license fees to pay. But more importantly, the learning curve is extremely shallow and it draws on the skills the existing IT staff is likely to already have. PHP is not a new and revolutionary language. It borrows much of its syntax from languages such as C, Perl and Java.
Q: What are the major advantages of PHP? What is it best at?
A: It is a very focused language. It focuses on the Web problem. If you read PHP's excellent online documentation, you will see everything is geared towards solving Web-related problems. It was written by Web developers for Web developers.
PHP is perfectly suited for quickly creating a Web front end to just about any back-end system you can imagine. Typically, the back end would be a database, but it can also be [a Lightweight Directory Access Protocol] directory server, or [Simple Network Management Protocol]-manageable devices, just to name a few. PHP is also good at generating non-HTML dynamic content for the Web such as images, flash or [Portable Document Format] documents. Being able to pull customer information from a database and dynamically generating a professional-looking PDF invoice, for example, is something that is very easy to do in PHP.

Rasmus Lerdorf, inventor of the PHP scripting language
Q: What do you see as its drawbacks? What Web tasks do you think it's less well-suited for?
A: There really aren't any drawbacks when it comes to Web tasks, but I guess that depends a little bit on where you draw the line between Web tasks and back-end tasks associated with the Web. PHP's strength is in the front-end Web interface. As you move more towards the back end, PHP usefulness starts to decrease. For example, you would never write a full back-end database engine in PHP. You also wouldn't write any sort of middle-layer system for a three-tier architecture in PHP.
As the top presentation layer in a three-tier architecture, PHP does just fine.
Q: What's interesting in the works for near-term PHP future developments?
A: Deep in the guts of PHP, the object-oriented program [OOP] is going to be improved a bit. PHP has traditionally been a procedural language, and OOP features have crept in over the years to the point where PHP can be used as a decent OOP language. But there are some things that can be improved with respect to this OOP support.
Additional Resources



Learn the important issues you must consider before starting your next mobility initiative. Get your mobility white paper from IDC now, compliments of Sybase.
White Papers & Webcasts
Five Steps to Successful IT Consolidation
Has your Enterprise made the strategic decision to consolidate remote site IT infrastructure into central data centers? Then you have probably discovered that...
Three IT Strategies to Cut Cost Intelligently
Forrester and BMC Share Tips on Consolidating, Automating, and Cutting Cost. Don't make hasty cost reductions. When the economy recovers, ensure your IT...
Microsoft SharePoint Performance Brief
This is a Performance Brief that illustrates how Riverbed Steelhead appliances accelerate MS SharePoint Services over the WAN. 2 pp....
Usability Is Everything
Learn what sets Workday's HR and Payroll solutions apart from the competition....
IBM Lotus Notes Performance Brief
This is a Performance Brief that illustrates how Riverbed Steelhead appliances accelerate Lotus Notes R7....
The Value of Real SaaS at Workday
Cost savings, speed to value, and innovation brought to the enterprise by Workday's software-as-a-service solutions for HR and Payroll....
The True ROI behind WAN Optimization
Looking for solid data behind the cost-savings story of WAN optimization? In this paper, NetForecast analysts interviewed customers who have deployed this solution,...
SaaS at Flextronics, Inc.
Dave Smoley, CIO of Flextronics, discusses the real value of software-as-a-service and why he chose Workday for his HR solution....
Forrester Consulting - Optimizing Users and Applications in a Mobile World
Are your workers going increasingly mobile? Don't wait for their calls to slam Support when they experience poor application performance on the road....
Why Compliance Pays
This OnDemand webcast explores the relationship that firms with best compliance records have higher revenue, greater customer retention, lower financial losses from data...
Subscribe to Computerworld
