Drupal 9 Module Development

Drupal 9 Module Development

Author: Daniel Sipos

Publisher: Packt Publishing Ltd

Published: 2020-08-14

Total Pages: 626

ISBN-13: 1800200544

DOWNLOAD EBOOK

Build and extend flexible Drupal sites and applications with this up-to-date, expert guide to Drupal 9 module development Key FeaturesExplore the essential Drupal 9 APIs for module developmentLearn how to implement data modeling, caching, architecture, and much more in your Drupal applicationsDiscover what’s new in the latest Drupal core releasesBook Description With its latest release, Drupal 9, the popular open source CMS platform has been updated with new functionalities for building complex Drupal apps with ease. This third edition of the Drupal Module Development guide covers these new Drupal features, helping you to stay on top of code deprecations and the changing architecture with every release. The book starts by introducing you to the Drupal 9 architecture and its subsystems before showing you how to create your first module with basic functionality. You’ll explore the Drupal logging and mailing systems, learn how to output data using the theme layer, and work with menus and links programmatically. Once you’ve understood the different kinds of data storage, this Drupal guide will demonstrate how to create custom entities and field types and leverage the Database API for lower-level database queries. You’ll also learn how to introduce JavaScript into your module, work with various file systems, and ensure that your code works on multilingual sites. Finally, you’ll work with Views, create automated tests for your functionality, and write secure code. By the end of the book, you’ll have learned how to develop custom modules that can provide solutions to complex business problems, and who knows, maybe you’ll even contribute to the Drupal community! What you will learnDevelop custom Drupal 9 modules for your applicationsMaster different Drupal 9 subsystems and APIsModel, store, manipulate, and process data for effective data managementDisplay data and content in a clean and secure way using the theme systemTest your business logic to prevent regressionStay ahead of the curve and write PHP code by implementing best practicesWho this book is for If you are a Drupal developer looking to learn Drupal 9 to write modules for your sites, this book is for you. Drupal site builders and PHP developers with basic object-oriented programming skills will also find this book helpful. Although not necessary, some Symfony experience will help with understanding concepts easily.


Drupal 8: Enterprise Web Development

Drupal 8: Enterprise Web Development

Author: Nick Abbott

Publisher: Packt Publishing Ltd

Published: 2016-12-30

Total Pages: 1005

ISBN-13: 1787281531

DOWNLOAD EBOOK

Harness the power of Drupal 8 to create enterprise-grade, highly scalable websites About This Book Build complete, complex websites with no prior knowledge of web development entirely using the intuitive Drupal user interface Ensure your sites are modern, responsive and mobile-friendly through utilizing the full features available in Drupal 8 Quickly master theme administration, custom block layouts, views, and the Twig template structure Who This Book Is For This course is suitable for web developers, designers, as well as web administrators who are keen on building modern, scalable websites using Drupal 8 and its wide range of new features What You Will Learn Set up a local “stack” development environment and install your first Drupal 8 site Find out what is available in the Drupal 8 core Integrate third-party front-end and back-end libraries with Drupal Understand the plugin system that powers many of Drupal 8's new APIs to extend its functionality Build custom block layouts with reusable and fieldable blocks Work with the new Twig PHP templating engine Develop a theme from scratch following a step-by-step project outline In Detail This Drupal 8 course takes you through the journey of building, extending, and customizing websites to build highly scalable and enterprise-ready websites. The first part—Learning Drupal 8—takes you step by step through building a Drupal 8 website. You will start with the basics, such as setting up a local “stack” development environment and installing your first Drupal 8 site, then we move on to image and media handling and extending Drupal modules. This section will help you get to grips with the modular nature of Drupal, and you'll learn how to extend it by adding new functionalities to create your new modules. After learning to develop and manage a modern and responsive website using Drupal 8, you'll start exploring different techniques to take advantage of the new Drupal 8 features. The next module—Drupal 8 Development Cookbook—is your go-to guide to experimenting with all of Drupal 8's features through helpful recipes. You will explore techniques to customize and configure the Drupal environment, create blocks and custom modules, as well as make your web apps responsive by harnessing the mobile-first feature of Drupal 8. This module will also show you how to incorporate multilingual facilities in your sites, use web services and third-party plugins with your applications from inside Drupal 8, and test and deploy your apps. In the third part—Drupal 8 Theming with Twig—you will master Drupal 8's new Twig templating engine to customize the look and feel of your website. This section will walk you through a real-world project to create a Twig theme from concept to completion while adopting best practices to implement CSS frameworks and JavaScript libraries. You will see just how quick and easy it is to create beautiful, responsive Drupal 8 websites while avoiding the common mistakes that many front-end developers make. By the end, you will have learned how to develop, manage, extend, and customize an enterprise-level website. This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products: Learning Drupal 8 by Nick Abbott and Richard Jones Drupal 8 Development Cookbook by Matt Glaman Drupal 8 Theming with Twig by Chaz Chumley Style and approach This course offers a thorough coverage of developing, managing, extending, and designing highly scalable websites using the Drupal 8 platform. Filled with practical examples and recipes, this course is a great combination of example-driven learning complemented by interesting techniques to take advantage of the Drupal platform.


Drupal 8 Module Development

Drupal 8 Module Development

Author: Daniel Sipos

Publisher:

Published: 2017-10-27

Total Pages: 566

ISBN-13: 9781782168775

DOWNLOAD EBOOK

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.


Drupal's Building Blocks

Drupal's Building Blocks

Author: Earl Miles

Publisher: Addison-Wesley Professional

Published: 2010-12-22

Total Pages: 383

ISBN-13: 0132655942

DOWNLOAD EBOOK

“Even if you’re already a seasoned Drupal user of CCK, Views, or Panels, I’ve no doubt that this book will provide you with several new techniques and methods for getting the most out of these extremely essential modules. It certainly has for me.” —Dries Buytaert, founder and project lead of Drupal, and CTO of Acquia With Drupal, Web professionals can create full-featured Web sites with just a few clicks. Drupal’s core is compact and well documented, but much of Drupal’s immense power lies elsewhere—in external modules. Drupal’s Building Blocks is an authoritative tutorial, reference, and cookbook for Drupal’s most valuable modules. The authors are Drupal insiders who’ve spent years creating and supporting these modules—Earl Miles, developer of the Views and Panels modules, and Lynette Miles, Drupal documentation team member. They’ve brought together indispensable information you won’t find anywhere else, as well as extensive sample “recipe” code designed for easy adaptation and reuse. Learn how to Use Content Construction Kit (CCK) to customize your data input forms around your needs Improve site flexibility with Drupal’s node system Add optional field types, including PHP-based fields Customize themes to display data more attractively and legibly Build powerful Views query displays Integrate with SQL databases Customize Views with relationships, arguments, and filters Optimize query performance Add custom styles with the Panels module Maintain full control over sites as you deploy into production This book will help you create more powerful, flexible, usable, and manageable Web sites—whether you’re a Web developer, designer, administrator, architect, or consultant. The accompanying Web site contains all examples, code, and themes presented in this book.


High Performance Drupal

High Performance Drupal

Author: Jeff Sheltren

Publisher: "O'Reilly Media, Inc."

Published: 2013-10-14

Total Pages: 279

ISBN-13: 1449358039

DOWNLOAD EBOOK

How can you help your Drupal website continue to perform at the highest level as it grows to meet demand? This comprehensive guide provides best practices, examples, and in-depth explanations for solving several performance and scalability issues. You’ll learn how to apply coding and infrastructure techniques to Drupal internals, application performance, databases, web servers, and performance analysis. Covering Drupal versions 7 and 8, this book is the ideal reference for everything from site deployment to implementing specific technologies such as Varnish, memcache, or Solr. If you have a basic understanding of Drupal and the Linux-Apache-MySQL-PHP (LAMP) stack, you’re ready to get started. Establish a performance baseline and define goals for improvement Optimize your website’s code and front-end performance Get best and worst practices for customizing Drupal core functionality Apply infrastructure design techniques to launch or expand a site Use tools to configure, monitor, and optimize MySQL performance Employ alternative storage and backend search options as your site grows Tune your web servers through httpd and PHP configuration Monitor services and perform load tests to catch problems before they become critical


Drupal 6 Attachment Views

Drupal 6 Attachment Views

Author: J. Ayen Green

Publisher: J. Ayen Green

Published: 2010

Total Pages: 301

ISBN-13: 1849510806

DOWNLOAD EBOOK

"This hands-on tutorial will teach Drupal developers across the experience spectrum how to use Attachment displays in Views, to make quick progress in functionality and added-value to users! Views are a common way to display a collection of similar content types on one page. This book provides several examples of introducing additional displays onto a web page, and having them interact with each other. The result is pages that provide several types of information and behave more like a desktop application, increasing the value to your site visitors"--Resource description p.


Drupal 6 JavaScript and JQuery

Drupal 6 JavaScript and JQuery

Author: Matt Butcher

Publisher: Packt Publishing

Published: 2009

Total Pages: 0

ISBN-13: 9781847196163

DOWNLOAD EBOOK

This book focuses on teaching by example. Chapters are packed with example code, providing hands-on examples you can play with and then release to your own Drupal sites. By introducing short projects interspersed with discussion, the pace is rapid yet practical. This book is for web designers and developers who want to add JavaScript elements to Drupal themes or modules to create more flexible and responsive user interfaces. You are expected to know about the basic operation of Drupal, and be familiar with the concept of theming and modules in Drupal. No experience of creating themes or modules is required. You will need to know the basics of client-side web development; this means HTML, CSS, but also have a rudimentary grasp of the syntax of JavaScript. Familiarity with PHP programming will be an advantage, since we will be writing PHPTemplate files and (at the end) creating Drupal modules. However, the PHP is covered thoroughly enough that even the PHP neophyte will not find the text too demanding. The book also covers the jQuery JavaScript library and its use in Drupal, but no knowledge of jQuery is expected - you will learn everything you need in this book.


Building Powerful and Robust Websites with Drupal 6

Building Powerful and Robust Websites with Drupal 6

Author: David Mercer

Publisher: Packt Pub Limited

Published: 2008

Total Pages: 362

ISBN-13: 9781847192974

DOWNLOAD EBOOK

Written in the same style as the original Drupal title, this book is a pragmatic look at the steps necessary to get a website up and running. Drawing on years of writing experience, David Mercer utilizes a friendly, engaging style that is both clear and concise perfect for the Drupal newbie. This book is for people with little or no experience in website design, people who are not familiar with PHP, MySQL or HTML, and above all people with little to no experience in using Drupal. Even intermediate Drupal users will find this book of interest although it is specifically aimed at pushing beginners up the learning curve.


The Definitive Guide to Drupal 7

The Definitive Guide to Drupal 7

Author: Benjamin Melancon

Publisher: Apress

Published: 2011-12-27

Total Pages: 1076

ISBN-13: 143023136X

DOWNLOAD EBOOK

The Definitive Guide to Drupal 7 is the most comprehensive book for getting sites done using the powerful and extensible Drupal content management system. Written by a panel of expert authors, the book covers every aspect of Drupal, from planning a successful project all the way up to making a living from designing Drupal sites and to contributing to the Drupal community yourself. With this book you will: Follow practical approaches to solving many online communication needs with Drupal with real examples. Learn how to keep learning about Drupal: administration, development, theming, design, and architecture. Go beyond the code to engage with the Drupal community as a contributing member and to do Drupal sustainably as a business. The Definitive Guide to Drupal 7 was written by the following team of expert Drupal authors: Benjamin Melançon, Jacine Luisi, Károly Négyesi, Greg Anderson, Bojhan Somers, Stéphane Corlosquet, Stefan Freudenberg, Michelle Lauer, Ed Carlevale, Florian Lorétan, Dani Nordin, Ryan Szrama, Susan Stewart, Jake Strawn, Brian Travis, Dan Hakimzadeh, Amye Scavarda, Albert Albala, Allie Micka, Robert Douglass, Robin Monks, Roy Scholten, Peter Wolanin, Kay VanValkenburgh, Greg Stout, Kasey Qynn Dolin, Mike Gifford, Claudina Sarahe, Sam Boyer, and Forest Mars, with contributions from George Cassie, Mike Ryan, Nathaniel Catchpole, and Dmitri Gaskin. For more information, check out the Drupaleasy podcast #63, in which author Benjamin Melançon discusses The Definitive Guide to Drupal 7 in great detail: http://drupaleasy.com/podcast/2011/08/drupaleasy-podcast-63-epic