c-- styles for logos and headline links do not modify internet, red, or black styles -->

Intranet Journal   Earthweb  
Events Jobs Premium Services Media Kit Network Map E-mail Offers Vendor Solutions Webcasts

   Intranet Journal Subjects
Search Earthweb

Privacy Policy



internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

internet commerce
Be a Commerce Partner
















 

[ Home | Discussion Forum | How Do I... | Lotus Notes Intranets | Microsoft SharePoint | Products | Shopping  ]

free news!

Welcome to PHP


An Intranet Design Magazine Tutorial

By Aaron Weiss

Why PHP?

Developers have literally flocked to PHP, with its modest learning curve, free and open development, native database connectivity, stability, and availability for a variety of platforms. Still, it is important to understand that PHP is not a unique solution to web development -- we're fortunate these days to enjoy a potpourri of possible web development tools with which to work. Many tasks can be performed with a wide variety of technologies, so one has to weigh many factors in choosing a development path: past experience, platforms, time-to-market, and so forth. Many Perl developers, especially, wonder about the value of PHP. In truth, PHP like any language offers several advantages and also possesses several disadvantages to consider.

PHP's primary strength is in rapid development of dynamic web pages. Developers without heavy programming experience can leverage PHP to complete tasks otherwise cryptic or obtuse in altnerative languages, such as pulling records from a database and inserting them into an HTML table. The architecture of the PHP language is simple but powerful, and includes an extremely wide variety of functions suited for many tasks, both traditional data processing tasks and more web-oriented functions as well.

On the other hand, one could argue that PHP remains an immature language, without the architectural elegance or extensibility of Perl, for instance. Whereas some developers find embedded scripting, where program code is often mixed together with HTML structure, empowering, other developers find this approach disorganized and bug-prone, preferring separate development environments for each web component. Developers with experience in Perl and especially mod_perl environments may find little reason to spend time with PHP, and this may be entirely justifiable.

That said, this is an introduction to PHP, so let us assume you are at least a bit curious!

The Very Basics >

< Introduction


[print version of this page]

Welcome to PHP
  1. Introduction
  2. Why PHP?
  3. The Very Basics
  4. PHP Structure
  5. Scalar Variables and Data
  6. Data collection: Arrays
  7. PHP Variables and Web Forms
  8. Operations and Comparisons
  9. PHP Comparison Operators
  10. PHP Logical Operators
  11. Control Statements
  12. The Function of Functions
  13. Object Orientation
  14. Fini