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

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 5.5.9. Moreover, since the current version of PHP (at the time of writing this book) is PHP 7, I personally recommend that you run Drupal 8. It's best to start off right.

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.

主站蜘蛛池模板: 淮滨县| 洛隆县| 大石桥市| 始兴县| 明溪县| 孝昌县| 华池县| 芒康县| 永顺县| 河北区| 岳西县| 成武县| 大安市| 彰武县| 黎川县| 洛扎县| 横山县| 临清市| 昌江| 宁化县| 曲阜市| 定州市| 五寨县| 策勒县| 科技| 宜昌市| 绥中县| 渭源县| 海伦市| 盘山县| 兴仁县| 伊吾县| 尼木县| 靖宇县| 沧州市| 商河县| 龙泉市| 措美县| 织金县| 镇原县| 密云县|