官术网_书友最值得收藏!

PHP

Drupal is written in the PHP programming language. PHP is a widely supported, multiplatform, and web-centric scripting language. Since Drupal is written in PHP, this book will largely feature code written in PHP, albeit with Drupal standard practices being kept in mind.

It is very important to note that the minimum version of PHP required for Drupal 8 to run (and install via Composer) is 7.1. Therefore PHP 5 is no longer supported, neither by Drupal nor by the PHP community at large. By the time you read this book, you should probably be running Drupal on PHP 7.3 or at least 7.2

Regarding the style of PHP, a very important change compared to Drupal 7 is the heavy use of object-oriented code and design patterns. Granted, many procedural style approaches remain throughout the Drupal 8 code base, but the use of a good number of popular external libraries (such as Symfony components) has pushed the overall Drupal code to be more modern. For this reason, it is also quite important that you have at least some basic understanding of Object-Oriented Programming (OOP), especially PHP-related, if you want to do Drupal 8 development.

主站蜘蛛池模板: 汝南县| 开鲁县| 阜南县| 威海市| 广平县| 许昌市| 鄱阳县| 湘西| 大庆市| 西安市| 海淀区| 宁国市| 平武县| 武隆县| 越西县| 西丰县| 江门市| 濮阳市| 南阳市| 夏津县| 洪雅县| 政和县| 塔河县| 峡江县| 鄂伦春自治旗| 鲁山县| 鲁山县| 白山市| 高碑店市| 寻甸| 织金县| 隆安县| 肇源县| 且末县| 乐平市| 晋城| 墨玉县| 石棉县| 彰武县| 江津市| 石屏县|