Pages

Wednesday, December 5, 2012

php history


PHP: Hypertext Preprocessor [1] is a scripting language that can be embedded or inserted into the HTML. [2] [3] PHP is widely used to program dynamic web sites. PHP can be used to build a CMS.
Contents [hide]
1 History of PHP
2 Examples of program
2.1 Hello World Program
Program 2.2 Fibonacci numbers
3 Advantages of PHP from Other Languages
4 Types of data
5 References
6 See also
7 External links
[Edit] History of PHP

At first PHP stands for Personal Home Page (personal website). PHP was first created by Rasmus Lerdorf in 1995. At that time still called PHP Form Interpreted (FI), which is realized in the form of a set of scripts that are used to process data from the web form.
Furthermore Rasmus released the source code to the public and named PHP / FI. With the release of the source code is open source, many programmers who are interested to participate in the development of PHP.
In November 1997, released PHP / FI 2.0. In this release, the PHP interpreter has been implemented in a C program In this release also included extension modules that enhance the ability of PHP / FI significantly.
In 1997, a company called Zend PHP interpreter rewrite a cleaner, better, and faster. Then in June 1998, the company released a new interpreter for PHP and inaugurate release as PHP 3.0 and PHP stands converted into recurring acronym for PHP: Hypertext Preprocessing.
In mid-1999, the new Zend PHP interpreter releases and release is known as PHP 4.0. PHP 4.0 is a PHP version of the most widely used at the beginning of the 21st century. This version is widely used due to its ability to build complex web applications while maintaining the speed and stability.
In June 2004, Zend PHP 5.0 release. In this version, the core of the PHP interpreter underwent major changes. This version also includes a model of object-oriented programming in PHP programming language to address developments in the direction of the object-oriented paradigm.
[Edit] Examples of programs

[Edit] Hello World Program
Hello World program written in PHP is as follows:
<? Php
    echo "Hello World";
?>
[Edit] Program Fibonacci numbers
Here is an example of a relatively more complex programs written using PHP. Examples of these programs is the program to display the first 20 numbers of the Fibonacci series of numbers.
<? Php
fibonacci_seq function ($ term) {
   for ($ l = array (0.1), $ i = 2, $ x = 0; $ i <$ length, $ i + +)
        $ L [] = $ l [$ x + +] + $ l [$ x];
   return $ l;
}

fibonacci_seq (20);
/ / The number "20" can be changed as desired
?>
[Edit] Advantages of PHP from Other Languages

Some of the advantages of PHP web programming language, such as:
'Programming language PHP is a scripting language that does not do a compilation in its use.'
'Web server that supports PHP can be found where - where from the start apache, IIS, Lighttpd, until Xitami with a relatively simple configuration.'
'In the development easier, because the number of mailing lists - mailing and developers who are ready to assist in the development.'
'In the pemahamanan, PHP is a scripting language most easily because it has a lot of references.'
"PHP is an open source language that can be used in a variety of machines (Linux, Unix, Macintosh, Windows) and can be run through the console and also the runtime can run system commands. '
[Edit] Types of data

PHP has 8 (eight) data types are:
Integer
Double
Boolean
String
Object
Array
Null
Nill
Resource
[Edit] References

^ What does PHP stand for?
^ What is PHP?
^ PHP: Manual Preface
[Edit] See also

Template Engine
Smarty
PHP Framework
CakePHP
CodeIgniter
PRADO
Symfony
Zend Framework
Yii
PHPDevShell
Akelos
QPHP
ZooP
[Edit] External links

Official site
(English) Why choose PHP
(English) Top 10 PHP Frameworks

0 comments:

Post a Comment