04-05-2012, 12:09 PM
PHP Introduction
php.ppt (Size: 1.95 MB / Downloads: 38)
PHP Hypertext Preprocessor
Now very widely used for websites
Only three years ago it was considered a risky alternative for development
Has a lot of community support
Is developed by hackers (see name)
Is hacky
PHP
Hacky, but (also?) very c-like
Classes, etc., work very much like c/c++
Designed to work in the world of HTML
Is run-time interpreted by the web server
Exception: those running Zend Cache
We sure won’t be
Reminder: it’s hacky
Simple PHP
PHP is meant to be invoked inline with content
Page “escapes” into and out of a regular html document
File extension is .php (was .php3 for version 3)
Initial use was control flow and simple scripting