Programmer's Guide to Drupal, 2nd Edition Год издания: 2016 Автор: Hodgdon J. Издательство: O'Reilly Media ISBN: 978-1491911464 Язык: Английский Формат: PDF Качество: Издательский макет или текст (eBook) Интерактивное оглавление: Да Количество страниц: 238 Описание: If you’re a web programmer, your experiences have taught you certain lessons—and only some of them apply well to Drupal. Drupal has its own set of programming principles that require a different approach, and many programmers make mistakes when relying on skills they’ve used for other projects. This book will show you which programming techniques you can use—and which you should avoid—when building web applications with this popular content management framework. Updated to cover both Drupal 7 and Drupal 8, the guidelines in this book demonstrate which programming practices conform to the "Drupal way" and which don’t. The book also serves as an excellent guide for Drupal 7 programmers looking to make the transition to Drupal 8. - Get an overview of Drupal, including Drupal core and add-on modules and themes - Learn Drupal’s basic programming principles, such as the ability to customize behavior and output with hooks - Compare Drupal 7 and Drupal 8 programming methods, APIs, and concepts - Discover common Drupal programming mistakes—and why hacking is one of them - Explore specific areas where you can put your programming skills to work - Learn about the new object-oriented Drupal 8 API, including plugins and services
Примеры страниц
Оглавление
Table of Contents Chapter 1 Overview of Drupal What Is Drupal? The Evolution of Drupal How Drupal Handles HTTP Requests The Drupal Cache Automatic Class Loading in Drupal Chapter 2 Drupal Programming Principles Principle: Drupal Is Alterable Principle: Drupal Separates Content, Configuration, and State Data Principle: Drupal Is International Principle: Drupal Is Accessible and Usable Principle: Drupal Is Database-Independent Principle: Drupal Is Secure; User Input Is Insecure Principle: Drupal Code Is Tested and Documented Chapter 3 Common Drupal Programming Mistakes Mistake: Programming Too Much Mistake: Overexecuting Code Mistake: Saving PHP Code in the Database Mistake: Working Alone Chapter 4 Drupal Programming Examples Registering for URLs and Displaying Content Using the Drupal Form API Programming with Ajax in Drupal Programming with Entities and Fields Creating Views Module Add-Ons Creating Rules Module Add-Ons in Drupal 7 Programming with CTools in Drupal 7 Chapter 5 Programming Tools and Tips Where to Find More Information Drupal Development Tools Discovering Drupal API Functions and Classes Other Programming Tips and Suggestions
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum