spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / new / php

Intro to PHP

Developer News
Mandrake Linux Founder Back, Virtually
Amazon: We're a Technology Company
Sun Expands MySQL With Closed Source

In this article we'll introduce you to one of the Internet's hottest and fastest growing server side programming languages, PHP. PHP (or Personal HomePage Tools) was created by Rasmus Lerdorf over three years ago to track visitors to his homepage. PHP has since evolved into a powerful server-side markup language with syntax that resembles a mix between Perl and C.

Why Use PHP

Most Web developers know that Web pages are more than pretty pictures and text; these days, even the most amateur of sites strive to have some sort of animation or interactivity. Most of the higher end sites have features such as discussion forums, search engines and/or shopping carts. PHP enables you to add features quickly.

The old fashioned approach to adding interactivity was to use CGI scripts in Perl. The problem is that CGI is not very scalable; each new request to a CGI script requires the server to start a new process in the kernel, which uses both CPU time and memory, making CGI scripts much slower which in turn make multiple concurrent CGI scripts run very slowly. PHP solves this problem by becoming a part of the Web server itself, saving the end user a considerable amount of load time.

Another reason to use PHP is because it's free. That's right, PHP is an open source project, meaning that any user can download both the source code and executables for PHP and install them on their computer for free. Because PHP is open source, it is solid and is constantly being improved by many experienced programmers. It is currently available for all major platforms.

Finally, PHP is easy. If you know C or Perl, learning PHP is a cinch. The language is a mix between the two, taking the best features from both. Plus PHP adds features to solve common problems that programmers often encounter when programming for the Web. For example, you can embed PHP code directly into an HTML file, whereas in Perl and C you would have to use additional print statements to output HTML. Another advantage to PHP is its native database support for 12 databases (including mSQL and mySQL), which allows access to the databases directly through SQL statements. And if you don't know either of these programming languages, then PHP is an excellent gateway into the world of programming.

Next: More About PHP

This article originally appeared in the October 28, 1999 edition of the WebReference Update Newsletter.


http://www.internet.com

Comments are welcome
Written by Stirling Hughes and

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Whitepapers and eBooks

Intel Whitepaper: Comparing Two- and Four-Socket Platforms for Server Virtualization
IBM Solutions Brief: Go Green With IBM System xTM And Intel
HP eBook: Simplifying SQL Server Management
IBM Contest: Are You the Next Superstar? Join the "Search for the XML Superstar" Contest to Find Out
Microsoft PDF: Top 10 Reasons to Move to Server Virtualization with Hyper-V
Microsoft PDF: Six Reasons Why Microsoft's Hyper-V Will Overtake Vmware
Microsoft Step-by-Step Guide: Hyper-V and Failover Clustering
Intel PDF: Quad-Core Impacts More Than the Data Center
Intel PDF: Virtualization Delivers Data Center Efficiency
Go Parallel Article: PDC 2008 in Review
Microsoft PDF: Top 11 Reasons to Upgrade to Windows Server 2008
Avaya Article: Communication-Enabled Mashups: Empowering Both Business Owners and IT
Intel Whitepaper: Building a Real-World Model to Assess Virtualization Platforms
  PDF: Intel Centrino Duo Processor Technology with Intel Core2 Duo Processor
Microsoft Article: Build and Run Virtual Machines with Hyper-V Server 2008
Go Parallel Article: Q&A with a TBB Junkie
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
IBM eBook: The Pros and Cons of Outsourcing
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
HP eBook: Guide to Storage Networking
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview - Part 3 · Accessing Your MySQL Database from the Web with PHP · Working with the DOM Stylesheets Collection
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Crucial Triples Up With New Three-Channel DDR3 Kits · Meet the Finalists: Excellence in Technology Awards · Tealeaf Offers Insight to Mobile Customer Behavior

Revised: May 16, 2000

URL: http://webreference.com/new/php.html