Chapter 10

PHP

PHP, standing for Hypertext Preprocessor, is an open-source general-purpose scripting language.

It’s server side programming language and best suited for web development.

What can PHP do?

  • Create dynamic web pages.
  • Interact with database.
  • Interact with files on the server.
  • Collect and process forms.
  • Encrypt data.
  • Send or receive cookies.

Why you should learn PHP?

It’s multi-purpose.

  • Simple and complex websites
  • CRM portals
  • E-commerce systems
  • Rest API
  • Image/ video/ audio processing
  • Works with almost all database.
  • Easy to set up.
  • Has a large community, so you can ask.

PHP frameworks are in high demand on job market.

  • Laravel
  • Symfony
  • Codeigniter

PHP CMSs are popular too.

  • WordPress
  • Magento - E-commerce
  • Drupal - CMS + E-commerce

Discover PHP syntax, functions and more in this chapter.