My Account Log in

2 options

Drush for developers : effectively manage Drupal projects using Drush / Juampy Novillo Requena.

EBSCOhost Academic eBook Collection (North America) Available online

View online

Ebook Central College Complete Available online

View online
Format:
Book
Author/Creator:
Requena, Juampy Novillo, author.
Series:
Community experience distilled.
Community Experience Distilled
Language:
English
Subjects (All):
Drupal (Computer file).
Web sites--Design.
Web sites.
Web site development.
Physical Description:
1 online resource (180 p.)
Edition:
2nd ed.
Place of Publication:
Birmingham, England : Packt Publishing, 2015.
Language Note:
English
Biography/History:
Novillo Requena Juan Pablo: Juan started building PHP websites professionally in London after finishing his University studies in 2006. He spent some time using Symfony and Ruby on Rails and in 2010, back in Spain, he created his first website with Drupal. His commitment with the Drupal Community started a year later once he discovered how much fun and challenging it was to contribute. Currently, he maintains several modules such as Twitter and Oauth among others, he frequently submits and reviews patches for other projects (recently Drush), he participates in the Madrid and Spanish communities with talks and code sprints and overall he does his best to help Drupal evolve and become known to a wider audience. I would like to thank Lorena for her everyday support in my career and life. My family for believing in me and being so helpful. Also, thanks to my colleague Tushar Mahajan (http: //drupal. org/user/398572), whose passion for Drupal and guidance was what got me into all this up to a level I could not even imagine. Juan's Drupal profile can be found at http: //drupal. org/user/682736.
Summary:
This book is a best fit for backend developers with a basic knowledge of Drupal's APIs and some experience using the command line. Perhaps you already worked on one or two Drupal projects, but have never dived deep into Drush's toolset. In any case, this book will give you a lot of advice by covering real-world challenges in Drupal projects that can be solved using Drush.
Contents:
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introduction, Installation, and Basic Usage; Installation requirements; Operating system; PHP; Installing Composer; Drush installation on Linux and OSX; Manual installation; The Drush command structure; Executing a command; Providing arguments to a command; Altering a command's behavior through options; Structuring command invocations; Command aliases; Understanding Drush's context system; Setting the context manually; Summary
Chapter 2: Keeping Database Configuration and Code TogetherMeeting the update path; Rebuilding the registry; Breaking the registry; Rebuilding Drupal's registry; Running database updates; Managing features; Exporting configuration into code; Running the update path on a different environment; Analyzing results; Reverting the feature components programmatically; Summary; Chapter 3: Running and Monitoring Tasks in Drupal Projects; Running periodic tasks with cron; Disabling Drupal's cron; Verifying the current cron frequency; Overriding cron frequency and exporting it to code
Running cron with DrushScheduling cron runs with Jenkins; Installing Jenkins; Creating a job through the web interface; Monitoring cron runs; Running a task outside cron; Example - moving a Feeds importer from Drupal's cron to Drush; Exporting the Feeds importer into code; Writing a Drush command to trigger the Feeds importer; Running long tasks in batches; Sample Drush command using the Batch API; Batch API operations; Running the command and verifying the output; Evaluating code on the fly and running scripts; The php-eval command; The php-script command
Script to create nodes and revisionsLogging messages in Drush; The verbose and quiet modes; Redirecting Drush output into a file; Implementing your own logging mechanism; Running a command in the background; Summary; Chapter 4: Error Handling and Debugging; Validating input; Validating an argument; Validating options; Ignoring options after the command name; Allowing additional options; Adding custom validation to a command; Rolling back when an error happens; Turning the update path into a single command; Browsing hook implementations; Inspecting the bootstrapping process
Inspecting hook and function implementationsBrowsing and navigating hook implementations; Viewing source code of a function or method; Summary; Chapter 5: Managing Local and Remote Environments; Managing local environments; Managing remote environments; Verifying requirements; Accessing a remote server through a public key; Defining a group of remote site aliases for our project; Using site aliases in commands; Special site aliases; Running a command on all site aliases of a group; Avoiding a Drupal bootstrap with @none; Referencing the current project with @self
Adding site alias support to the update path
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed February 11, 2015).
ISBN:
1-78439-703-2

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.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account