Learning Drupal 6 Module Development

Matt Butcher

  • 出版商: Packt Publishing
  • 出版日期: 2008-05-10
  • 售價: $1,300
  • 貴賓價: 9.5$1,235
  • 語言: 英文
  • 頁數: 328
  • 裝訂: Paperback
  • ISBN: 1847194443
  • ISBN-13: 9781847194442
  • 相關分類: Drupal
  • 已過版




In Detail

With great power comes... tremendous flexibility. Drupal is an award-winning open-source Content Management System, and the feature-packed sixth release is right around the corner. It's a modular system, with an elegant hook-based architecture, and great code. These are a few of the perks that make Drupal a choice platform for developers who want the power of an established CMS, but the freedom to make it work for them. From social networking to AJAX to e-commerce, the hundreds of existing modules attest to Drupal's flexibility. When you create a new module for Drupal, it fits seamlessly into the look and feel of your overall site. If you can think it in PHP, you can code it as a Drupal module.

Dive into Drupal module development as we create the Philosopher Biographies website, developing new modules and themes to meet practical goals. Create custom content types. Add AJAX functionality with the jQuery library. Use external XML APIs to add content to your site. Email newsletters to site members. Use themes. Empower administrators with extra features. And bundle it all up in a custom installation profile. You won't find a "hello world" here!

If you're eager to start creating modules for Drupal 6, this is your book. Walk through the development of complete Drupal modules with this primer for PHP programmers. Specifically written for Drupal 6, this book will get you coding modules as quickly as possible, and help you add the features that will give your work that professional gloss!

Just getting started with Drupal development? This book will give you a clear, concise and, of course, practical guidance to take you from the basics of creating your first module to developing the skills to make you a Drupal developer to be reckoned with.

Are you a Drupal developer looking to update to version 6? This book covers the new and updated APIs to guide your transition to Drupal 6. The new menu system, the Forms and Schema APIs, and many core revisions are covered in this book.

What you will learn from this book?

  • A developer's overview of important Drupal concepts and APIs, like nodes, menus, and forms
  • Using Drupal tools for module development
  • Creating a new module from scratch
  • Harnessing the power of the Drupal hook system
  • Using key Drupal functions
  • Creating custom content types, from basic to advanced
  • Performing database operations
  • Writing module installers and uninstallers
  • Making Drupal content available to JavaScript with a JSON service
  • Interacting with the theme system to build crisp layouts
  • Creating richer user interfaces with Drupal's JavaScript libraries
  • Working with blocks, nodes, actions, and menus
  • Using a web service to retrieve and display XML data
  • Creating an administration interface
  • Customizing user profiles
  • Writing actions and triggering them with events
  • Working with the Forms API
  • Defining custom hooks and making modules work together
  • Exploring the database and schema API
  • Creating an installation profile to bundle your modules into a custom Drupal distribution

Who this book is written for?

This book is written for PHP developers who want to add custom features to Drupal. You will need to know the basics of PHP and MySQL programming, but no experience of programming Drupal is required, although you will be expected to be familiar with the basic operation of Drupal.