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

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.

主站蜘蛛池模板: 龙泉市| 班玛县| 资阳市| 和田县| 类乌齐县| 丹寨县| 锦屏县| 兴义市| 来凤县| 新民市| 尖扎县| 田阳县| 长葛市| 常熟市| 道真| 都江堰市| 抚顺县| 万载县| 西乌珠穆沁旗| 江川县| 新昌县| 东至县| 潢川县| 新津县| 武宣县| 昂仁县| 如皋市| 墨竹工卡县| 清新县| 阿克陶县| 广丰县| 内黄县| 资溪县| 漳浦县| 洪湖市| 鹤山市| 平江县| 惠安县| 正安县| 崇阳县| 闻喜县|