Drush for Developers, 2nd Edition

Sub-title: 
Effectively manage Drupal projects using Drush
Publisher: 
Packt Publishing
Publication date: 
2015-01
Page count: 
164
ISBN-13: 
978-1784393786

Drush for Developers, Second Edition, takes common challenges in Drupal projects and solves them using Drush. This book starts with the different installation approaches for Drush and its command structure. It then moves on to perhaps the trickiest challenge in Drupal projects: keeping code and configuration together during a project's lifetime. Next, we will deep dive into the tasks needed to keep a website under control and learn how to run, automate, and monitor them effectively.

Error validating and debugging our Drush commands is a must and this book has a whole chapter on that topic. The magic of managing remote Drupal projects through Drush site aliases is explained in the following chapters through a practical example. Finally, the book wraps up by putting in practice all the concepts covered in previous chapters in order to implement a development workflow for a team.

Drupal 8 Configuration Management

Sub-title: 
Make the most out of Drupal 8’s coolest new feature – the Configuration Management system
Publisher: 
Packt Publishing
Publication date: 
2015-03
Page count: 
148
ISBN-13: 
9781783985203

With all the complex configuration options of Drupal, the Configuration Management system allows you to keep track of your configuration and move configuration changes between several development environments with ease. Its API allows you to add your own configuration settings within a custom module.

Drupal 8 Configuration Management will teach you everything you need to know about the Configuration Management system and get you started with using its features quickly, whether you are a Drupal site administrator with no programming knowledge or a seasoned developer. Starting at defining what Configuration Management actually means and why you should be using it, the book also covers how site administrators can make the most out of it without any programming knowledge. For more advanced users with programming skills, the book explains how to use the API to add custom configuration and how to upgrade custom modules to use the new Configuration Management. The book also covers some essential tools and best practices.

After reading the book, you will be able to write schema files for custom configurations, make use of the Configuration Management API, and upgrade modules to the new Configuration Management systems. Additionally, you will learn how to migrate configuration from Drupal 6 and 7 to Drupal 8 and how to manage configuration for multilingual websites.

Drupal 8 Module Development

Sub-title: 
Create and design your own modules and websites from scratch with Drupal 8
Authors: 
Publisher: 
Packt Publishing
Publication date: 
2015-06
Page count: 
468
ISBN-13: 
978-1782168775

What you will learn from this book

  • Build your own modules extending Drupal's core functionality
  • Create custom Blocks, Fields, Entities, and more
  • Learn how to work with Drupal's hook system
  • Explore the major APIs and libraries introduced in Drupal 8 to build successful Drupal websites
  • Familiarize yourself with Drupal’s Theming layer and template engine
  • Test your code programmatically with Drupal's Simple Test framework
  • Develop interactive form-based tools with Drupal's Forms API

In Detail

Drupal 8 is a free, open source content management system primarily used for the development and management of websites. Comparing it with its predecessor, Drupal 7, Drupal 8 introduces a number of huge architectural changes geared towards better usability, development experience, and cross-platform support, making it the most versatile and flexible open source CMS in the world.

Starting with the basic technologies that drive Drupal, this book will walk you through the architecture of Drupal 8 and its main subsystems and explain how to use its APIs to build your own custom modules.

It also delves into the concepts of Symfony 2 and its basic components that are used in Drupal 8. It will help you venture into the domain of admin interface designing, plugins, and views newly introduced in this version of Drupal. It will also enable you to gain valuable insights on the changes in JavaScript and the updated command names.

It then rounds off by giving you an overview of the module porting process and the concept of Profile Installation.

Approach

An easy-to-follow yet comprehensive guide full of illustrations, code snippets, and tips with detailed, step-by-step explanations of all the topics to demonstrate Drupal 8’s built-in features and APIs.

Who this book is for

This book is for all Drupal and PHP developers who wish to learn how to develop and customize their own modules to suit their needs and requirements.

Responsive Theming for Drupal

Sub-title: 
Making Your Site Look Good on Any Device
Authors: 
Publisher: 
O'Reilly Media
Publication date: 
2014-02
Page count: 
78
ISBN-13: 
978-1449373313

If you want your Drupal website to work well on smartphones, tablets, and desktops, this practical guide shows you how to incorporate Responsive Web Design (RWD) with specific Drupal 7 themes. You’ll learn how to create attractive, easy-to-navigate layouts for everything from tiny phone screens to 30-inch desktop monitors—all with the same codebase.

Ideal for experienced Drupal developers, this book takes you through RWD basics and shows you how to build sites based on Aurora, Zen, and Omega—three popular base themes created by Drupal contributors. Whether you’re creating a new site with RWD or adapting an existing one, you’ll learn how to become a better, more efficient Drupal themer.

  • Understand how Responsive Web Design and CSS media queries work
  • Learn how the Sass stylesheet language and Compass framework support RWD
  • Adopt a mobile-first approach to RWD—and learn why it’s important
  • Get step-by-step instructions for creating custom subthemes on top of Aurora, Zen, and Omega
  • Tackle common problems when building and theming responsive Drupal sites
  • Explore alternative options for accommodating smartphone and tablet users

Instant Premium Drupal Themes

Sub-title: 
Learn how to create visually stunning themes to add the wow factor to all of your Drupal sites!
Authors: 
Publisher: 
Packt Publishing
Publication date: 
2013-10
Page count: 
40
ISBN-13: 
978-1783281756

What you will learn from this book

  • Understand Drupal theme structure and terminology
  • Configure raw HTML in a Drupal environment
  • Populate Drupal themes with dynamic content
  • Learn how to customize the search result page and how to add regions to your home page
  • Discover the best practices and conventions of using Drupal to speed up your development

In Detail

Drupal’s theme layer, and the themes that use it, are responsible for the look and feel of a Drupal web site. Themes have the final say and ultimate control over almost every aspect of each page. Good themes consist of all the same elements that you would find on any reputable web site, including standards-compliant XHTML markup, CSS, and JavaScript. How it all comes together is what is so special and what makes Drupal themes so flexible and powerful.

Premium Drupal Themes is a practical, hands-on guide filled with clear, step-by-step examples which shows you how to create Drupal themes using HTML. This book will show you the best practices and conventions that you should adopt and utilize so you can change the way Drupal looks using HTML without wasting energy digging through Drupal’s code.

Starting with the essentials including Drupal terminology and Drupal theme structures, this book will show you how to configure raw HTML in a Drupal environment. You will learn about the Drupal template variables and also how to populate a Drupal theme with dynamic content. You will also discover how to customize the search result page and how to add regions to your home page. This book will help you familiarize yourself with the theme engines and will help you learn about the core of Drupal’s theme rendering system. Finally, you will learn how to create your very own Drupal theme that will take people’s breath away!

Approach

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. A step-by-step guide filled with recipes that will show you how to create your very own Drupal themes using HTML.

Who this book is for

This book is great for developers who are new to Drupal. It is assumed that you have some experience in HTML, PHP, and CSS. You’ll need a PHP (LAMP/WAMP) environment to install Drupal. It is also assumed that you know how to install Drupal. Some familiarity with CMS will be useful but is not essential.

High Performance Drupal

Cover image for this book
Sub-title: 
Fast and Scalable Designs
Publisher: 
O'Reilly Media
Publication date: 
2013-10
Page count: 
264
ISBN-13: 
978-1449392611

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

Pages

Subscribe with RSS Subscribe to RSS - Print