Book Image

Drupal 7 Mobile Web Development Beginner's Guide

By : Tom Stovall
Book Image

Drupal 7 Mobile Web Development Beginner's Guide

By: Tom Stovall

Overview of this book

<p>How disappointing is it to log on to a website for a product or business you love only to discover the feature you were drawn to doesn’t work on your mobile or tablet? Drupal has brand new features to adapt your existing site into a mobile site that will keep your customers coming back.</p> <p>The Drupal Mobile Web Development Beginner's Guide follows a humble 'Mom &amp; Pop' restaurant website which gets a makeover complete with cutting edge features that play to mobile, tablet and desktop audiences. By following the fun example, you will finish the book having effortlessly adapted your website so that it is accessible and, more importantly, looks good and functions well, on any mobile device.</p> <p>Restaurant websites are notoriously horrible to navigate and our Mom &amp; Pop example is wellintentioned but no exception to this rule. We bring this site out of the early 1990's with cutting edge development practices and a team development workflow. This pizza chain goes mobile with location services, audio, video, charting and mapping worthy of any multi-million dollar site. Each chapter examines the way the site works and shows you how to move the existing content and functionality into reusable features.</p>
Table of Contents (18 chapters)
Drupal 7 Mobile Web Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Pop quiz Answers

Chapter 2. Setting up a Local Development Environment

Working on a server, especially a server that is serving live traffic, is a little like walking a tightrope with no net. Only do it if you're willing to risk head trauma. This book attempts to introduce best practices to your development process. Frequently, we'll venture off the topic of developing, specifically for mobile. This will allow you to catch a glimpse of how, in a perfect world, a development team produces a professional Drupal website locally. From there, we'll push the new features the team has created up through different testing environments. Finally, we'll go live with the new code, or "production" as we will be calling it.

In this chapter, we will cover the following:

  • Introduction to our example site, drupallospizzakitchen.com

  • Best practices for local and remote development

  • Source Control Management (SCM)

  • Cloning a copy of our development site's unique files locally

  • Some basic Drush commands

  • Using a Drush make file to set...