Pro Drupal 7 Development

Cover image for this book
Publisher: 
Apress
Publication date: 
2010-12
Page count: 
720
ISBN-13: 
978-1430228387

Publisher’s description:

Pro Drupal 7 Development updates the most popular development reference for the release of Drupal 7. With several new and completely-rewritten essential APIs and improvements in Drupal 7, this book will not only teach developers how to write modules ranging from simple to complex, but also how Drupal itself works.

  • Learn the Drupal APIs and major changes in Drupal 7
  • Learn how to write Drupal modules using the APIs
  • Learn proper development practices and how to become a contributing community member

What you’ll learn

  • How to get started with writing basic modules
  • The flexible Drupal APIs and how they interact with modules
  • How new features in Drupal 7 make modules even more powerful and sophisticated
  • Best practices when developing in Drupal (coding standards, help developer modules)
  • How to write safe, secure, and tested code
  • How to contribute modules back to the Drupal community and maintain their modules using the Concurrent Versions System (CVS)

Who this book is for

This book is for existing Drupal module developers wanting to learn about Drupal 7 and people already knowledgeable in PHP who are interested in developing for Drupal. Simply put, if you are working with Drupal, then you need this book.

Table of Contents

  • How Drupal Works
  • Writing a Module
  • Hooks, Actions, and Triggers
  • The Menu System
  • Working with Databases
  • Working with Users
  • Working with Nodes
  • Working with Fields
  • The Theme System
  • Working with Blocks
  • The Form API
  • Manipulating User Input: The Filter System
  • Searching and Indexing Content
  • Working with Files
  • Working with Taxonomy
  • Caching
  • Sessions
  • Using jQuery
  • Localization and Translation
  • XML-RPC
  • Writing Secure Code
  • Development Best Practices
  • Optimizing Drupal
  • Installation Profiles
  • Testing
  • Database Table Reference
  • Resources

The Definitive Guide to Drupal 7

Cover image for this book
Publisher: 
Apress
Publication date: 
2011-07
Page count: 
1112
ISBN-13: 
978-1430231356

Publisher’s description:

The Definitive Guide to Drupal 7 is the most comprehensive book for building web sites using the powerful and extensible Drupal content management framework.

Written by active community members and contributors (“some of the brightest and most innovative minds in the Drupal community,” to quote Angela Byron, Drupal 7 maintainer), The Definitive Guide to Drupal 7 covers the basics then quickly advances to in-depth exploration of the functionality and tools that make Drupal so powerful for building web applications. Just as important, this book provides the reader with a guide to participating in the Drupal community: an international, committed, rapidly growing community of themers, developers, and open source advocates who write the modules, test the code, and work ceaselessly to make Drupal great. The release of Drupal 7, with its dramatic improvements in usability and system architecture, will take Drupal to a new level of popularity, and this book will help give you the foundation and scaffolding to grow with Drupal.

With The Definitive Guide to Drupal 7, you will be able to:

  • Plan and build a complete Drupal site with core alone.
  • Extend Drupal's functionality by selecting from thousands of modules.
  • Make your Drupal site look like anything you want with theming and jQuery.
  • Extend Drupal by coding your own modules.
  • Install Drupal in many environments.
  • Use essential tools such as Drush and Git to make your life easier.
  • Contribute to the Drupal community as an organizer or a coder.

Who this book is for

Anyone who is serious about getting better at Drupal.

Table of Contents

  • Building a Drupal 7 Site
  • Essential Tools: Drush and Git
  • Building Dynamic Pages Using Views
  • There's a Module for That
  • Creating Community Web Sites with Organic Groups
  • Security in Drupal
  • Updating Drupal
  • Extending Your Site
  • Drupal Community: Getting Help and Getting Involved
  • Planning and Managing a Drupal Project
  • Documenting for End Users and the Production Team
  • Development Environment
  • Putting a Site Online and Deploying New Features
  • Developing from a Human Mindset
  • Theming
  • Advanced Theming
  • jQuery
  • Introduction to Module Development
  • Using Drupal's APIs in a Module
  • Refining Your Module
  • Porting Modules to Drupal 7
  • Writing Project-Specific Code
  • Introduction to Functional Testing with Simpletest
  • Writing a Major Module
  • Drupal Commerce
  • Drush
  • Scaling Drupal
  • Spice Your Content Up with Tasty Semantics
  • The Menu System and the Path Into Drupal
  • Under the Hood: Inside Drupal When It Displays a Page
  • Search and Apache Solr Integration
  • User Experience
  • Completing a Site: The Other 90%
  • Drupal Distributions and Installation Profiles
  • Drupal's Story: A Chain of Many Unexpected Events
  • Now You're in Business: Making a Living with Drupal
  • Maintaining a Project
  • Contributing to the Community
  • Appendix A: Updating a Drupal Site from 6 to 7
  • Appendix B: Profiling Drupal and Optimizing Performance
  • Appendix C: Page Rendering and Altering
  • Appendix D: Visual Design in Drupal
  • Appendix E: Accessibility
  • Appendix F: Windows Development Environment
  • Appendix G: Installing Drupal on Ubuntu
  • Appendix H: Mac OS X Installation
  • Appendix I: Setting Up a Drupal Environment with the Acquia Dev Desktop

Drupal 7 Views Cookbook

Cover image for this book
Sub-title: 
Over 50 recipes to master the creation of Views using the Drupal Views 3 module!
Authors: 
Publisher: 
Packt Publishing
Publication date: 
2012-03
Page count: 
218
ISBN-13: 
978-1849514347

Publisher’s description:

Over 50 recipes to master the creation of Views using the Drupal Views 3 module!

  • Brand new recipe examples using the all new Views 3 UI
  • A wide variety, including multi-display and programmatic views
  • Easy-to-follow recipes with plenty of screenshots and demonstrations

In Detail

The Drupal content management system is purposely created with a 'light footprint', leaving it to the user or developer to add wanted features. Views is the #1 add-on module for Drupal and enables you to filter, select and present your content in ways that are more meaningful to your site visitors.

Drupal 7 Views Cookbook allows you to bypass most of the Views learning curve and quickly take advantage of the capabilities of the Views module through step-by-step instructions for quickly developing dozens of useful views.

Starting with a brief introduction to Views, Drupal 7 Views Cookbook takes you through recipes for elementary views such as displaying randomly selected content, to intermediate views such as customizing links, to advanced views using multiple displays. Along the way there are recipes for theming views, creating a programmatic view and a view handler, administering views, and finally, using some other modules related to the Views module. Recipes are standalone, so pick them in any order!

Don't limit your site with dull content presentation. Empower your site visitors with the recipes that Drupal 7 Views Cookbook delivers!

What you will learn from this book

  • Present menu choices for categorized subsets of your content
  • Create blocks containing interesting lists or randomly selected images
  • Link multiple content types to provide more complete information
  • Display complementary content in additional displays
  • Design a desktop-like page driven by user input
  • Deliver a view from inside a custom module
  • Manipulate the templates to add pizzazz to your views
  • Administer your views with confidence

Approach

This is a cookbook containing plenty of easy-to-follow practical recipes with screenshots that will help you in mastering the Drupal Views module.

Who this book is written for

Drupal 7 Views Cookbook is for developers or technically proficient users who are fairly comfortable with the concepts behind websites and the Drupal environment

Drupal 7 Multilingual Sites

Cover image for this book
Sub-title: 
A hands-on, practical guide for configuring your Drupal 7 website to handle all languages for your site users
Authors: 
Publisher: 
Packt Publishing
Publication date: 
2012-04
Page count: 
140
ISBN-13: 
978-1849518185

Details from Packtpub.com:

Overview

  • Prepare your Drupal site to handle content in different languages easily
  • Apply the numerous multilingual modules to your Drupal site and configure it for any number of different languages
  • Organize the multilingual pieces into logical areas for easier handling

Use the hashtag #PacktDrupalML on Twitter to discuss the book with the author, fellow readers, and Packt.

What you will learn from this book

  • Understand the Drupal 7 localization structure and process
  • Enable your Drupal UI to display in different languages
  • Localize users based on language and country
  • Employ effective search engine optimization (SEO) techniques for your multilingual site
  • Update blocks, menus, views, and panels to work with multiple languages
  • Set up language detection based on URLs, sessions, cookies, or domains
  • Create translatable content types to support multilingual content

In Detail

Drupal is one of the most powerful and popular PHP Content Management Systems at the moment. By making your site multilingual, you are opening the door to a whole new user base, in as many countries as you like. Use the localization and internationalization features of Drupal 7 to automatically detect where your site users are visiting from and select the content appropriate to them. The world is your oyster!

Drupal 7 Multilingual Sites guides you through the wild world of localization and internationalization with practical and real-world exercises that you can apply to your own website. You will go from theory to practice and acquire the skills you need to make a user-friendly Drupal 7 site that supports multiple languages.

You will follow focused chapter exercises to add multiple-language support for your user interface, content, and various parts of your site’s configuration such as system variables, menus, and blocks.

The latter half of the book fills in the details with step-by-step exercises for localizing the interface, the content, and the configuration. Drupal 7 Multilingual Sites will give you the knowledge and the skills necessary to configure your site to support your language needs.

Approach

A practical book with plenty of screenshots to guide you through the many features of multilingual Drupal.

Who this book is for

Any Drupal users who know the basics of building a Drupal site and are familiar with the Drupal UI, will benefit from this book. No previous knowledge of localization or internationalization is required.

Drush User’s guide

Cover image for this book
Sub-title: 
A practical guide to Drush, Drupal's command line interface, helping you work with your Drupal sites more effectively
Publisher: 
Packt Publishing
Publication date: 
2012-04
Page count: 
140
ISBN-13: 
978-1849517980

Details from Packtpub.com:

Overview

  • Stop clicking around administration pages and start issuing commands straight to your Drupal sites.
  • Write your own commands, hook in to alter existing ones and extend the toolkit with a long list of contributed modules.
  • A practical guide full of examples and step-by-step instructions to start using Drush right from Chapter 1.

Use the hashtag #PacktDrush on Twitter to discuss the book with the author, fellow readers, and Packt.

What you will learn from this book

  • Learn how to install Drush on different systems, and download and install a full Drupal site in seconds.
  • Understand Drush’s command structure with options and arguments.
  • Discover how to set a site to maintenance mode and other common settings with just one command.
  • Back up and restore code, files and databases into one file.
  • Learn to write your own Drush commands and name sites by aliases for even shorter commands.
  • Manage modules and users, monitor messages and run automated tests.

In Detail

Drush is a command line interface for Drupal. Most of the tasks for building and maintaining a website are repetitive and involve filling in forms on administration pages. The majority of these tasks can be achieved with a single Drush command, shortening the development and maintenance time of a project drastically.

Drush User’s Guide will allow you to be more productive and efficient in building and maintaining your Drupal sites through the command line. You will learn to install Drush on different platforms, and manage and configure your Drupal site by learning how to use and create Drush commands.

Become a Drush expert by exploring its command toolkit; customizing it to suit your needs, and extending it with contributed modules.

The command line will allow you to download, enable and upgrade Drupal projects in seconds. Back up your files, code and data in one single file, clear the cache, interact with databases, and deploy sites to remote machines – all using simply the command line. Use Drush with your own commands or alter existing ones; and extend the toolkit with a long list of contributed modules.

Drush User’s guide has everything you need to extend your use of the command line to easily build and manage your Drupal sites.

Approach

A practical guide full of examples and step-by-step instructions to start using Drush right from chapter 1.

Who this book is for

Drupal developers or themers who understand Drupal administration’s basic concepts. Drush can make building any kind of website quicker and easier, no matter if it is a development environment, beta, a simple blog or a complex system.

Pages

Subscribe with RSS Subscribe to RSS - Advanced