Definition of

PHP

Logo

PHP is the acronym for Personal Home Page (PHP) Tools.

PHP is an acronym that identifies a programming language that was born as Personal Home Page (PHP) Tools . It was developed by the Danish programmer Rasmus Lerdorf in 1994 with the purpose of facilitating the design of dynamic web pages.

The recursive acronym, however, is currently linked to PHP Hypertext Pre-Processor . The language is developed today by The PHP Group although it lacks formal regulations. The Free Software Foundation therefore considers the PHP license to be part of free software .

The PHP language is usually processed directly on the server, although it can also be used through software capable of executing commands and for the development of other types of programs .

History of PHP

Lerdorf designed the first version of PHP in the Perl language based on writing a set of CGI from the C language . His intention was to present his resume and store data such as the number of visitors who accessed his website .

Israeli-born programmers Zeev Suraski and Andi Gutmans , for their part, took it upon themselves to rewrite the parser in 1997 and released PHP3 , replacing the language name with the more recent one. Over time, these programmers would rewrite the entire PHP code .

Currently, PHP is usually embedded within the HTML code of web pages and executed from a server. It is estimated that PHP is present on more than twenty million websites and nearly one million servers.

Programming language

PHP is a programming language that emerged in 1994.

Your advantages

One of the advantages of PHP is its similarity to structured programming languages ​​(such as Perl and C ), which helps programmers develop complex applications in a short time. In fact, for a programmer with little experience in this language, it is very easy to learn it and transfer to its pages functions and structures that are usually used in the creation of other types of software.

Although there are alternatives for all tastes, many consider PHP to be an indispensable tool when developing a website. In principle, it allows establishing a connection with the database, through which it is possible, for example, to present the client's personal data on the screen when the client requires it. But the most important feature of PHP is that it allows you to dynamically modify the content of a page, which is essential today.

PHP and data update

For example, in an online newspaper, news is uploaded very frequently, and the "front page" changes several times throughout a day. It would be very laborious to have to alter the HTML code every time you wanted to update the page, since it would not only be necessary to add the most recent article, but also place it in the first place and move the rest down, eventually eliminating some so as not to overload the page. page. If we add to this the rules specific to each design, which usually indicate a different image size for the cover and another for the full text, links that appear only in the preview (such as "related posts"), etc., this task could be impracticable .

Thanks to the possibilities offered by PHP, by simply updating the database with the latest news, a well-designed site will be able to dynamically display all the information every time someone uploads the cover. Of course, its advantages do not end there, and if it is used in conjunction with other languages, such as Javascript, and development models such as Ajax, the results can be dazzling.

In short, Javascript runs on the user's computer, which is why it offers complementary possibilities to those of PHP, so that together they can perform tasks such as automatically adjusting the proportions of a page according to the local resolution, changing the content without the need to refresh and reload, as well as upload files to the server, offering real-time information on the upload progress.