Difference between revisions of "PHP"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(External links)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''PHP''' is a [[server-side scripting]] [[programming language]] designed for [[web development]].
+
'''PHP''' is a [[Server-side scripting|server-side scripting language]] designed for [[web development]].
  
 
== How PHP works ==  
 
== How PHP works ==  
Line 43: Line 43:
 
* [[Slim (PHP)]]
 
* [[Slim (PHP)]]
 
* [[Symfony]]
 
* [[Symfony]]
 +
* [[Yii]]
 
* [[Zend Framework]]
 
* [[Zend Framework]]
  
Line 61: Line 62:
 
== See also ==
 
== See also ==
  
 +
* [[Array (PHP)]]
 +
* [[Composer (software)]]
 
* [[General-purpose programming language]]
 
* [[General-purpose programming language]]
 
* [[Getting started with PHP]]
 
* [[Getting started with PHP]]
 +
* [[PHP htmlspecialchars function]]
 
* [[PHP header]]
 
* [[PHP header]]
 +
* [[Superglobal (PHP)]]
 +
* [[PHP syntax and semantics]]
 
* [[Programming language]]
 
* [[Programming language]]
 
* [[Server-side scripting]]
 
* [[Server-side scripting]]
 
* [[Web application framework]]
 
* [[Web application framework]]
 
* [[Web template system]]
 
* [[Web template system]]
 +
* [[Yii]]
  
 
== External links ==
 
== External links ==
Line 73: Line 80:
 
* [https://en.wikipedia.org/wiki/PHP PHP] @ Wikipedia
 
* [https://en.wikipedia.org/wiki/PHP PHP] @ Wikipedia
 
* [http://www.phptherightway.com/ PHP: the Right Way]
 
* [http://www.phptherightway.com/ PHP: the Right Way]
 +
* [https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/ PHP: a fractal of bad design]
 +
* [http://phpsadness.com/ PHP Sadness]
 +
 +
 +
[[Category:Computer science]]
 +
[[Category:Computer programming]]
 +
[[Category:PHP]]
 +
[[Category:Programming languages]]

Latest revision as of 14:18, 9 March 2017

PHP is a server-side scripting language designed for web development.

How PHP works

PHP code is usually processed by a PHP interpreter, which is usually implemented as a web server's native module or a Common Gateway Interface (CGI) executable. See web template system.

After the PHP code is interpreted and executed, the web server sends the resulting output to its client.

The output is typically HTML, and the client is typically a web browser.

The output might be an image, or some other data; and the client might be some program other than a browser, such as a web search engine.

Getting started with PHP

See Getting started with PHP.

PHP and HTML

PHP code can be simply mixed with HTML code.

Blocks of PHP code are defined by PHP markers.

PHP Frameworks

PHP can be used in combination with various templating engines and web application frameworks.

General-purpose programming language

PHP is not limited to web development: it can also be used as a general-purpose programming language.

Command line

PHP has also evolved to include a command-line interface (CLI) capability and can be used in standalone graphical applications.

Frameworks

Many frameworks are available for PHP. Some which interest me include:

See:

Licensing and distribution

The standard PHP interpreter, powered by the Zend Engine, is free software released under the PHP License.

PHP has been widely ported and can be deployed on most web servers on almost every operating system and computing platform, free of charge.

See also

External links