Drupal 8 Module Development
eBook - ePub

Drupal 8 Module Development

  1. English
  2. ePUB (mobile friendly)
  3. Only available on web
eBook - ePub

Drupal 8 Module Development

Book details
Table of contents
Citations

About This Book

Learn to create and customize impressive Drupal 8 modules to extend your website's functionalitiesAbout This Book• Unleash the power of Drupal 8 programming by creating efficient modules and extensions• Explore a plethora of Drupal 8 APIs and get the best out of them using the power of PHP coding• Learn to implement efficient data management and data security by creating dedicated modules for it. Who This Book Is ForThe primary target of this book is Drupal developers who want to learn how to write modules and carry out development in Drupal 8. It is also intended for Drupal site builders and PHP developers who have basic Object Oriented Programming skills.A little bit of Symfony experience is helpful but not mandatory.What You Will Learn• Write a Drupal 8 module with custom functionality and hook into various extension points• Master numerous Drupal 8 sub-systems and APIs• Model, store, and manipulate data in various ways and for various purposes• Display data and content in a presentable and secure way• Learn about the theme system and render arraysIn DetailDrupal is an open source web-based content management system (CMS) that can be used for building anything from simple websites to complex applications. It enables individuals and organizations to build platforms that engage users and deliver the right content at the right time.Drupal 8 is an exciting new development in the Drupal community. However, the differences from the previous version are substantial and this can put quite some pressure on Drupal 7 developers that need to catch up. This book aims to help such developers in getting up to speed with Drupal 8 module development.The book first introduces you to the Drupal 8 architecture and its subsystems before diving into creating your first module with basic functionality. Building upon that, you will cover many core APIs and functionalities available to module developers.You will work with the Drupal logging and mailing systems, learn how to output data using the theme layer and work with menus and links programmatically. Then, you will learn how to work with different kinds of data storages, create custom entities, field types and leverage the Database API for lower level database queries. Moreover, you will learn about the Drupal 8 access system and caching layer as well as the APIs used for data processing (queues and batches).You will further see how to introduce javascript into your module, work with the various file systems and ensure the code you write works on multilingual sites. Finally, you will learn how to programmatically work with Views, write automated tests for your functionality and also write secure code in general.By the end of the book, you will have learned how to develop your own custom module from scratch that can help solve a small problem or even provide complex functionality. And who knows, maybe you'll even contribute it back to the Drupal community.Style and approachThis book aims to introduce PHP developers to programming concepts specific to Drupal 8 to get them started on writing their own functionality with Drupal 8 and create efficient Drupal 8 modules and extensions.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Drupal 8 Module Development an online PDF/ePUB?
Yes, you can access Drupal 8 Module Development by in PDF and/or ePUB format, as well as other popular books in Ciencia de la computación & Sistemas de gestión de contenidos. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Title Page
  2. Copyright
  3. Credits
  4. About the Author
  5. About the Reviewers
  6. www.PacktPub.com
  7. Customer Feedback
  8. Preface
  9. Developing for Drupal 8
  10. Creating Your First Module
  11. Logging and Mailing
  12. Theming
  13. Menus and Menu Links
  14. Data Modeling and Storage
  15. Your Own Custom Entity and Plugin Types
  16. The Database API
  17. Custom Fields
  18. Access Control
  19. Caching
  20. JavaScript and the Ajax API
  21. Internationalization and Languages
  22. Batches, Queues, and Cron
  23. Views
  24. Working with Files and Images
  25. Automated Testing
  26. Drupal 8 Security
Citation styles for Drupal 8 Module Development

APA 6 Citation

[author missing]. (2017). Drupal 8 Module Development (1st ed.). Packt Publishing. Retrieved from https://www.perlego.com/book/835382 (Original work published 2017)

Chicago Citation

[author missing]. (2017) 2017. Drupal 8 Module Development. 1st ed. Packt Publishing. https://www.perlego.com/book/835382.

Harvard Citation

[author missing] (2017) Drupal 8 Module Development. 1st edn. Packt Publishing. Available at: https://www.perlego.com/book/835382 (Accessed: 28 June 2024).

MLA 7 Citation

[author missing]. Drupal 8 Module Development. 1st ed. Packt Publishing, 2017. Web. 28 June 2024.