Enter your mobile number below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
Getting the download link through email is temporarily not available. Please check back later.
To get the free app, enter your mobile phone number.
|Print List Price:||£18.99|
Save £4.60 (24%)
Drush User's Guide Kindle Edition
|New from||Used from|
|Length: 140 pages|
Customers Who Bought This Item Also Bought
Top Customer Reviews
Most Helpful Customer Reviews on Amazon.com (beta)
The book is both a reference of commands, and some examples of how they are used in the real world. Of particular interest was they way they explain how to extend drush with custom commands. There are some good tips for deployment, like synchronizing databases across versions of a site. And I didn't know you could use drush to view the source code of functions, very nice. I also discovered how easy it is to use drush to create test users and nodes. I use drush make, but only now understand how you can create a makefile from an existing site.
My experience over the years has been to use a tool, and then revisit the manual every six months or so to dig deeper into what it can do, and learn new tricks. The online documentation fro drush is very good, and there are lots of other sites with details on various commands. This book has pulled them all together into a single, easy to use place for both reference and education. I recommend it to all Drupal users, from the beginner to the more experienced ninjas.
So now you understand why Drush is so awesome, and Packt Publishing's new book, Drush User's Guide is here to help you become a Drush Master. This book helps you jump right in and get going with Drush. It has lots of examples and has plenty for the novice Drupal user to the veteran Drupal guru. Authored by Juan Pablo Novillo Requena, a Drush contributor; it is also technically reviewed by Greg Anderson and Jonathin Araña Cruz, Drush co-maintainers and contributors respectively.
The book immediately dives into installing Drush, it wastes no time explaining what Drupal is or the value of Open Source. You should have a grasp on those already. It goes into detail on how to install Drush on Linux, Windows & Mac and several different ways to do so. Drush 4.5 was used while writing the book, current stable release of Drush at the time of this review is Drush 5.4. All the info in the book is still relevant, 5 just adds to 4.
The book has 4 chapters and 119 pages, so it is easy to get through. The first 2 chapters cover installing Drush and the basic commands that any novice can master. The last 2 chapters cover more advanced topics.
All the basics like installing Drupal core, downloading modules, enabling modules, clearing the caches, and such are in these first 2 chapters. I was surprised Site Aliases weren't mentioned here, but they are covered in the third chapter, so keep reading even if you are a novice! While perhaps a bit on the advanced side, variables are also covered in the second chapter. Working with variables at the command line with Drush is a really powerful skill, and can save the day if you have a set variable and cause a white screen. I did learn a valuable nugget on variables here as well. I knew how to set and unset Drupal variables with Drush, but didn't realize Firebug could dig the variable names out of the rendered page. There is also some great stuff on dealing with databases, monitoring Watchdog and using cron in the second chapter. There is one very minor typo in an example, the command to use cron is "drush cron", not "drushcron". However, since all Drush commands start with drush, a space and then thecommand, that is a pretty easy one to figure out.
The third chapter dives into the more advanced stuff, like writing our own commands, executing PHP from the command line, and optimizing the terminal with the core-cli command. To make the most of these tools, some knowledge of PHP, SQL, and the Drupal API will be required. Site aliases and Drush config files are also covered, and are powerful tools that any Drush user can leverage. In the beginning of the book the example of syncing a development and production database with the simple command "$ drush sql-sync @somewebsite.com @somewebsite.local" is shown. Chapter 3 explains how this is done with site aliases.
The last chapter covers how Drush can interact with other modules from the command line, instead of pecking through the GUI. This falls into the category of "which are you more comfortable with?", the CLI or the GUI. There is a nice demo on using Drush to create a boilerplate starting point for building a module, which will save the habitual module builder some time.
The very last topic in the book just happens to be the one thing about Drush that I absolutely love - Drush Make! This fantastic tool can literally download Drupal core, all the modules and themes a site needs, apply patches, grab external libraries pull from Git repos and numerous other things with something as simple as $ drush make mysite.make mysite.com. Drush Make is awesome, read this section! The book doesn't cover all the different things that Drush Make can do, but the readme file included with Drush Make does. Drush Make is such an incredible time saver, it takes less than a minute for Drush Make to pull all the code together for my Drupal blog, hackmonkey.com!
Drush is awesome, and should be in every Drupal site builders tool box. The Drush User's Guide is a great resource for those just getting started with Drush, or for those looking to take their Drupal mastery to the next level of efficiency. At the start of the book, it is mentioned that commands would be shown full length, instead of the shorter command aliases. Anyone that uses Drush for any amount of time will quickly want to adopt the aliases. For example "cache-clear" becomes "cc", "watchdog-show" aliases to "ws" and "pm-download" shortens to "dl". While a cheat sheet of Aliases might have been a nice inclusion as an appendix, the good news is that all the aliases and extended syntax for all of Drush's commands are nicely documented on the Drush website, drush.org. 4 Stars only because it doesn't include the command aliases, and was wrote before Drush 5 was stable.
The copy of Drush User's Guide that was used for this review was provided at no charge to me by Packt Publishing. However, no other compensation was received for this review and this review was published without prior review or any influence from Packt Publishing.
We don't need a thick book like a yellow pages to talk about what every little command does, documentation will explains every little details.
What we need is a book to guide you learn Drush easily and explain how we can use Drush to improve and accelerate our Drupal development,
so this book does an excellent job for that objective, and it is easy to read and well laid out.
Although this book could be somewhat difficult for Drupal newcomers, you still find this book useful to you.
I have been using Drush for a while, I still learned a bunch of new tricks and tips from this book. I believe you will grasp great stuffs even you are an advanced Drupal developer.
I really like the great walk through of creating Drush commands in Chapter 3. I have been thinking about creating Drush commands to automate some of the repetitive tasks in my team after reading this chapter.
One of the most powerful Drush features, but less mention is site aliases. There is a comprehensive section explains how it works, this is a real time saver for Drupal developers.
If you are a system administrator deploying Drupal sites in your company, you have to read this section. After getting a proper site alias setup, maintaining and deploying multiple Drupal sites could be just as easy as entering a few Drush commands.
Juan Pablo Novillo has written a straight text and easy to understand, besides its a bit short.
The main contents are:
1. Installation & basic commands
PHP, Drupal & Drush installation
- The book covers the PHP installation in windows & mac and PHP-cli over Mac as in Linux.
- The Drush version used in the book is 4.5
- The author teaches to install Drush manually, i prefer do it with PEAR
- Manual & automatic ([...]) install of Drush 5 in Windows systems
- variable-get y variable-set
[the author uses usually the longest format, for better readability]
- pm-download, for downloading modules
- site-install, for installing a Drupal site
- cache-clear & image-flush
- sql-cli, sql-query, sql-dump
- archive-dump & archive-restore
3. Custom commands
The books offers a deep description of:
- modifying existing commands
- php-eval, for executing PHP custom
- optimization with drush-cli
4. Extending Drush
- site backup with modules like «Backup & Migrate» → bam-backup y bam-restore
- reinstall modules & generate data & users → with «devel» module, devel-reinstal, generate-content, generate-users, etc ...
- working with «Features», features-export
- Managing & reverting views, views-list, views-disable y views-enable
- generate a initial custom module for start to code with «Module builder» module with mb-build
In short, an excellent overview of all we can do with Drush. Use with ease just half of the secrets here explained and you will be a Drupal guru!
Look for similar items by category
- Books > Computing & Internet > Digital Lifestyle
- Books > Computing & Internet > Web Development > Web Administration
- Books > Computing & Internet > Web Development > Web Design > Applications
- Kindle Store > Kindle eBooks > Computing > Tech Culture & Computer Literacy > Information Technology
- Kindle Store > Kindle eBooks > Computing > Web Development > Application Development
- Kindle Store > Kindle eBooks > Computing > Web Development > Web Site Design