3 options
Drupal 10 development cookbook : practical recipes to harness the power of Drupal 10 to build ambitious digital experiences and dynamic web applications / Matt Glaman, Kevin Quillen.
- Format:
- Book
- Author/Creator:
- Glaman, Matt, author.
- Quillen, Kevin, author.
- Language:
- English
- Subjects (All):
- Drupal (Computer file).
- Web site development.
- Physical Description:
- 1 online resource (442 pages)
- Edition:
- Third edition.
- Place of Publication:
- Birmingham, England ; Mumbai : Packt Publishing, [2023]
- Biography/History:
- Glaman Matt: Matt Glaman is an open source developer who has been working with Drupal since 2013. Since then, he has contributed to Drupal core and over 60 community projects. He is also a speaker at multiple Drupal community events, including DrupalCon. Matt is currently a principal software engineer at Acquia and was previously a product lead at Centarro, helping maintain Drupal Commerce. Quillen Kevin: Kevin Quillen has been working with Drupal since 2006. He's contributed several community modules, and built websites using Drupal for brands such as Dogfish Head Craft Brewery, the National Bureau of Economics, Harvard University, MTV, Yale University, Verizon, the Museum of Science, and countless others. You can find him engaged and helping community members on Slack, Drupal StackExchange, or sharing his thoughts on his personal blog. Kevin is also an Acquia Triple Certified Drupal Expert, an Acquia Certified Site Studio Site Builder, and an Acquia Certified Cloud Platform Pro. He is currently a principal developer and Drupal practice lead at Velir.
- Summary:
- Build your expertise in developing dynamic web experiences by leveraging all-new capabilities of Drupal 10 Purchase of the print or Kindle book includes a free PDF eBook Key Features Design your digital experience platform with robust content management and editorial workflows Write custom modules to extend Drupal to meet your requirements by creating customized plugins, entity types, and pages Enhance your Drupal site using modern frontend development build tools Book Description This new and improved third edition cookbook is packed with the latest Drupal 10 features such as a new, flexible default frontend theme - Olivero, and improved administrative experience with a new theme - Claro. This comprehensive recipe book provides updated content on the WYSIWYG (What You See Is What You Get) editing experience, improved core code performance, and code cleanup. Drupal 10 Development Cookbook begins by helping you create and manage a Drupal site. Next, you'll get acquainted with configuring the content structure and editing content. You'll also get to grips with all new updates of this edition, such as creating custom pages, accessing and working with entities, running and writing tests with Drupal, migrating external data into Drupal, and turning Drupal into an API platform. As you advance, you'll learn how to customize Drupal's features with out-of-the-box modules, contribute extensions, and write custom code to extend Drupal. By the end of this book, you'll be able to create and manage Drupal sites, customize them to your requirements, and build custom code to deliver your projects. What you will learn Create and manage a Drupal site's codebase Design tailored content creator experiences Leverage Drupal by creating customized pages and plugins Turn Drupal into an API platform for exposing content to consumers Import data into Drupal using the data migration APIs Advance your Drupal site with modern frontend tools using Laravel Mix Who this book is for If you are a beginner or an intermediate Drupal developer, looking to jumpstart your journey in application building, then this book is for you. Basic knowledge of web development is required.
- Contents:
- Cover
- Title Page
- Copyright and Credits
- Contributors
- Table of Contents
- Preface
- Chapter 1: Up and Running with Drupal
- Technical requirements
- Creating a Drupal site
- Getting ready
- How to do it...
- How it works…
- There's more…
- See also
- Running your Drupal site locally
- How to do it…
- Using the Drush command-line tool
- Adding and managing module and theme extensions
- Managing your Drupal code with version control
- Successfully deploying your Drupal site
- Chapter 2: Content Building Experience
- Configuring the WYSIWYG editor
- Creating an editorial workflow with content moderation
- Creating a custom content type with custom fields
- Customizing the form display for editing content
- Customizing the display output of content
- Using layouts to build landing pages
- Creating menus and linking content
- Using Workspaces to create content staging areas
- Chapter 3: Displaying Content through Views
- Creating a blog landing page
- How to do it….
- How it works…
- Creating a block of recent blogs
- Exposing filters and sorts to users to control listings
- Contextual filters for filtering by path parameters
- Adding related data in a view with relationships
- Providing an entity reference result view
- Displaying charts using Views
- Chapter 4: Extending Drupal with Custom Code
- Creating a module
- See more…
- Providing configuration settings for your module
- Defining permissions and checking whether a user has access
- See also…
- Hooking into Drupal to react to entity changes
- Creating an event subscriber to react to events
- Creating a custom Drush command
- Chapter 5: Creating Custom Pages
- Defining a controller to provide a custom page
- Using route parameters
- Getting started
- Creating a dynamic redirect page
- Creating a JSON response
- Serving files for download
- How it works….
- Chapter 6: Accessing and Working with Entities
- Creating and saving an entity
- Querying and loading entities
- Checking entity access
- Updating an entity's field values
- Performing entity validation
- Deleting an entity
- Chapter 7: Creating Forms with the Form API
- Creating a custom form and saving configuration changes
- Validating form data
- Specifying conditional form elements
- Using AJAX in a Drupal form
- Customizing existing forms in Drupal
- Chapter 8: Plug and Play with Plugins
- Creating blocks using plugins
- Creating a custom field type
- Creating a custom field widget
- Creating a custom field formatter
- There's more...
- Creating a custom plugin type
- Chapter 9: Creating Custom Entity Types
- Using custom classes for entity bundles
- Creating a configuration entity type
- See also.
- Creating a content entity type
- Creating a bundle for a content entity type
- Implementing access control for an entity
- Providing a custom storage handler
- Chapter 10: Theming and Frontend Development
- Creating a custom theme to style your Drupal site
- There's more
- Adding CSS and JavaScript to your theme
- Using Twig templates in your theme
- Delivering responsive images
- Compiling CSS and JavaScript pre- and post-processors with Laravel Mix
- Using Laravel Mix to theme your Drupal site with live reloading
- Chapter 11: Multilingual and Internationalization
- Determining how the current language is selected
- Translating administrative interfaces
- Translating configuration
- Translating content
- Creating multilingual views
- Chapter 12: Building APIs with Drupal
- Fetching data from Drupal using JSON:API
- Using POST to create data with JSON:API
- Using PATCH to update data with JSON:API
- Using DELETE to remove data with JSON:API
- Using Views to provide custom data sources
- Using OAuth methods
- Chapter 13: Writing Automated Tests in Drupal
- Types of tests
- Unit tests
- Kernel tests
- Functional tests
- Functional JavaScript tests
- NightwatchJS tests
- Installing the PHPUnit test suite
- Running PHPUnit
- Writing a unit test
- Writing a kernel test
- Writing a functional test
- Writing a functional JavaScript test
- Writing a NightwatchJS test
- Chapter 14: Migrating External Data into Drupal
- Migrating from a previous version of Drupal
- Migrating data from CSV file(s)
- Migrating data from an HTTP API
- Writing a custom migration source plugin
- Writing a custom process plugin for migrations
- Index
- About Packt
- Other Books You May Enjoy.
- Notes:
- Includes index.
- Description based on print version record.
- ISBN:
- 9781803245072
- 1803245077
- OCLC:
- 1370947928
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.