CHAPTER 9

image

A PHP Primer for Drupal

PHP is the programming language used in Drupal. As you may already know, Drupal uses a LAMP stack. The “P” in the word LAMP stands for PHP (the first letters stand for Linux, Apache, and MySQL). PHP is the programming language that does most of the work to make Drupal what it is—it is the guts of Drupal. This chapter teaches you the basics of the PHP programming language. It serves as a great primer for users new to the PHP language, and for users who have dabbled in PHP already, it serves as a good review of PHP. You need to understand this basic building block of Drupal if you want to become an expert in the ...

Get Drupal 8 for Absolute Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.