PHP
PHP is the language behind a large share of the web, including WordPress, Drupal and Laravel. Here is what it is, why it is still a strong choice, and how older PHP systems can be brought up to date.
PHP is one of the most widely used programming languages on the web. A large share of all websites are run on it, including every site built with WordPress, Drupal or Laravel. It is free, it is open source, and it has been improved steadily for more than twenty-five years.
What is PHP?
PHP is a programming language that was designed specifically for the web. It runs on the server, behind the scenes, and is used to build each page before it is sent to the visitor's browser. Logins, forms, shopping baskets and anything that is read from or saved to a database are typically handled by PHP.
Modern PHP is not the PHP of the past
PHP is sometimes thought of as old-fashioned, but the language has changed a great deal. Recent versions are many times faster than the versions of ten years ago, and features have been added that help mistakes to be caught early and code to be kept tidy. A new version is released every year, and each one is supported with security fixes for several years.
The benefits
Fast and efficient
Modern PHP is quick, and it is light on server resources. Busy websites can be served from modest hardware, which keeps hosting costs down.
Hosting is available everywhere
PHP is supported by almost every hosting provider, from low-cost shared plans to large cloud platforms. A PHP application is never tied to one particular host.
A huge pool of developers
Because PHP is so widely used, experienced developers are easy to find. A PHP project can be looked after by someone else in the future if that is ever needed.
Proven tools and packages
Thousands of well-tested, open-source packages are available for common jobs, such as sending email, taking payments or creating PDFs. Less code has to be written from scratch, so projects are delivered sooner and with fewer surprises.
Built for the web
Because PHP was made for websites, everyday web tasks are handled simply and reliably. Pages are built fresh for each visit, and a fault in one request does not affect any others.
When PHP is a good choice
A website, online shop or web application is being built.
The site is built on WordPress, Drupal or Laravel, all of which are written in PHP.
Affordable, flexible hosting is important.
The software needs to be easy to hand over to other developers in the future.
Upgrading older PHP systems
Many businesses still rely on PHP systems that were written years ago. These systems often still do an important job, but they may be running on versions of PHP that no longer receive security updates. Rather than being thrown away and rebuilt, they can usually be upgraded step by step. Tests are added around the most important features first, so that each change can be checked, and the system is then moved to a current, supported version of PHP.
When something else may fit better
For features that need to update live in the browser, such as chat or live dashboards, Node.js is often used alongside PHP. The two work well together, and each is used for the job it does best.
How HollyIT works with PHP
PHP has been used by HollyIT for well over twenty years, and it is used every day. New applications are written in modern, carefully typed PHP, and older systems are rescued, tested and upgraded so they can keep doing their job safely.