|
We had 2 packets of global variables, 75 ampoules with no data types, 5 unconditional jumps and a whole sea of multi-colored links to the same blocks anywhere in the scripts. It was impossible to come up with anything scarier - we were writing a website in PHP...
Seriously, PHP is one of the ten most popular programming languages according to the TIOBE index. Most CMS (including WordPress!) are written in it, which make ±70% of all portals in the world work. PHP is under the hood of YouTube, Facebook, Slack and Bitrix, and its ecosystem has been developing for 25 years. Do you want to learn how to make websites in "PHP"? Welcome to the courses at TMS!
Features of the PHP language
PHP (from English Hypertext PreProcessor - "hypertext preprocessor") is an open source programming language. At the start, it was designed to create web applications, but as it developed, it turned into an entire general-purpose ecosystem. His "daddy" is considered to be the Dane Rasmus Lerdorf, who showed the world his brainchild in the hairy year of 1995.
Chumba, it will be difficult now, but you can handle it. Look, the PHP language is based on the ability to change the contents of a site before sending it to the browser. Let's imagine a situation - a user clicks on a picture, and it is slightly highlighted and enlarged. Its code is changed by scripts, the execution of which modifies the existing HTML code (of an initially static picture). The server, in response to a browser request, sends exactly this, already dynamically modified code.
From this follow three main features of "pehapeshka":
the language is actually a hypertext preprocessor;
its code is executed on the server side;
It is interpreted - implemented in the form of scripts and scenarios.
Today, PHP is used in a whole range of fundamentally different projects — from browser games and social networks to large web applications like YouTube.
— Alexander, why did you choose PHP and how did you get into PHP development?
— “I studied at university, and my first language was C++. After a year, I got bored of studying theory and doing labs, and I decided to look for a job. As a result, my friends advised me web development and the PHP language, because it is quite easy to learn. And so it went — I didn’t have to change anything, I started working and developing in this area,” — Alexander Filipovsky, PHP developer course teacher at TMS.
Where PHP is used
PHP is a popular programming language (at the beginning of 2024, it ranks 7th in the TIOBE rating), which has gained fame due to its simplicity. With its help, you can create both a small one-page website social media marketing service and a large corporate portal with various interesting gimmicks. Among the distinguished projects developed using the capabilities of the "pehapeshechka":
sites - Facebook, Yahoo and Flickr;
e-commerce applications - OpenCart, Zen Cart and Magento;
content management systems - WordPress, Drupal and Joomla;
frameworks - Laravel and Symphony.
In the slightly forgotten year 2022 (then the Midjourney neural network was released, and the most famous meme was the walking Dr. Livesey from Treasure Island), the guys from W3Techs conducted a study and found out that 77.4% of all websites in the world are written in PHP.
- Alexander, where is PHP used? Is any software written in it besides websites?
- “First of all, frameworks and CMS can be written in PHP. This niche is probably the best developed for the language - take as an example at least the popular Bitrix, WordPress, Magento, Laravel and Symphony.
Also, PHP is a language that was originally created for writing scripts on the server. That is, with its help you can create small files, for example, for parsing information or logging.
Additional libraries increase the capabilities of PHP and make them much wider. However, the main area of application of the language is websites,” - Alexander Filipovsky, teacher of the PHP developer course at TMS.

The list of hard and soft skills of a PHP developer can change - here everything depends on the direction in which the programmer works. Among the main skills:
PHP itself - knowledge of syntax, language features and programming theory;
a popular framework - for example, Laravel, Symfony, CodeIgniter or CakePHP;
OOP basics - design patterns, various programming principles;
DBMS and declarative programming language SQL - for working with databases;
Docker - because modern application development and deployment uses the principle of containerization;
theoretical basis for computers and networks - what is a server, why is HTTP needed, how does client-server interaction occur;
Git is a utility for tracking and maintaining the history of file changes in various projects.
There is an opinion that all programmers are individualists and introverts. In practice, things are different. Both a beginner and an experienced PHP developer should learn to work in a team, listen to colleagues and compromise. The list of other, no less important soft skills includes the ability to evaluate tasks, set priorities and correctly maintain a balance between work, personal affairs and rest. The last point on the list, as a rule, causes the most difficulties for programmers. We talked
about how to protect your nervous system from overload using the digital detox method in the blog.
PHP programmer salary
PHP developer is a necessary, important and in-demand person. He writes his resume with a serious face - just like the guy from the video with the booby-trapped slipper. In fact, there are enough reasons to be proud, because Glassdoor has about 3.5 thousand vacancies with a salary range from $45,000 to $180,000 per year (as of early 2024).
|
|