PHP
PHP - Hypertext Preprocessor
- - Scripting language
- - Created in 1994 (initially as Personal Home Page Tools)
- - Last release: PHP 7 in 2015
Objectives
Automatize the creation of HTML pages
- - File include, Variables, Loops
- - Executed on the server (/JS executed on the client)
Principle of PHP interpreter:
- Input: A PHP Script
- Output: A HTML Page
Today: PHP is the most common language for server programming
-
- (+) Very simple to be embeeded (/mixed) within HTML page
- (-) Sometimes old and heavy for general client/server communication