PHP - An overview of PHP Cristian Bogdan What is PHP PHP:...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1 An overview of PHP Cristian Bogdan What is PHP PHP: Hypertext Processor (or Personal Home Page?) This lecture goes through the doc: http://www.php.net/manual/en/ Interpreted language – Easy to get something done fast – Problems when size and complexity grow – Performance penalty (though addressed in later Zend engine) A number of PHP organisations and hosting services around the net. A huge catalogue of features developped by volunteers A wide user community definately happy that they not only can program, but they also can program for the internet… Language in evolution… PHP 5 adds exception handling. OOP is also an add-on since PHP4, PHP5 perfects it – most OOP concepts and keywords are like in java: class, extends, interface, private, protected, etc – exceptions are like in Java (try/catch, etc)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 What can PHP do • CGI scripting of course – Based on escapes within HTML pages <?php > or <% … %> • Command line scripting • GUI applications (PHP-GTK) http://gtk.php.net/ Installation • Install the PHP interpreter separately. There is good support for this on Linux • In the webserver configuration, associate the php extension with the PHP interpreter • For serious applications you will need a database engine. • Apache
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/23/2011 for the course ENCS ENCS5 taught by Professor Abdelsalam during the Spring '10 term at Birzeit University.

Page1 / 6

PHP - An overview of PHP Cristian Bogdan What is PHP PHP:...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online