Learning Drupal 6 Module Development
暫譯: 學習 Drupal 6 模組開發

Matt Butcher

  • 出版商: Packt Publishing
  • 出版日期: 2008-05-10
  • 售價: $1,840
  • 貴賓價: 9.5$1,748
  • 語言: 英文
  • 頁數: 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.

商品描述(中文翻譯)

詳細內容

強大的能力帶來... 巨大的靈活性。Drupal是一個獲獎的開源內容管理系統,而功能豐富的第六版即將推出。這是一個模組化系統,擁有優雅的基於鉤子的架構和優秀的代碼。這些都是使Drupal成為開發者選擇平台的一些優勢,開發者希望擁有一個成熟CMS的強大功能,同時又能自由地使其適合自己的需求。從社交網絡到AJAX再到電子商務,數百個現有模組證明了Drupal的靈活性。當你為Drupal創建一個新模組時,它會無縫地融入你整個網站的外觀和感覺。如果你能在PHP中想到它,你就可以將其編碼為Drupal模組。

深入Drupal模組開發,隨著我們創建哲學家傳記網站,開發新的模組和主題以達成實際目標。創建自定義內容類型。使用jQuery庫添加AJAX功能。使用外部XML API將內容添加到你的網站。向網站成員發送電子郵件通訊。使用主題。為管理員提供額外功能。並將所有內容打包成自定義安裝配置檔。這裡不會有「你好,世界」的範例!

如果你渴望開始為Drupal 6創建模組,這本書就是為你準備的。這本書將帶你逐步開發完整的Drupal模組,適合PHP程序員入門。專門為Drupal 6編寫,這本書將幫助你儘快編碼模組,並幫助你添加能讓你的作品更具專業光澤的功能!

剛開始接觸Drupal開發?這本書將為你提供清晰、簡明且實用的指導,幫助你從創建第一個模組的基礎知識開始,發展成為一名值得關注的Drupal開發者。

你是一名希望升級到第6版的Drupal開發者嗎?這本書涵蓋了新的和更新的API,以指導你過渡到Drupal 6。這本書涵蓋了新的菜單系統、表單和架構API,以及許多核心修訂。

你將從這本書中學到什麼?


  • 開發者對重要Drupal概念和API的概述,如節點、菜單和表單

  • 使用Drupal工具進行模組開發

  • 從零開始創建一個新模組

  • 利用Drupal鉤子系統的力量

  • 使用關鍵的Drupal函數

  • 創建自定義內容類型,從基本到進階

  • 執行數據庫操作

  • 編寫模組安裝程序和卸載程序

  • 通過JSON服務使Drupal內容可用於JavaScript

  • 與主題系統互動以構建清晰的佈局

  • 使用Drupal的JavaScript庫創建更豐富的用戶界面

  • 處理區塊、節點、操作和菜單

  • 使用網絡服務檢索和顯示XML數據

  • 創建管理界面

  • 自定義用戶檔案

  • 編寫操作並通過事件觸發它們

  • 使用表單API

  • 定義自定義鉤子並使模組協同工作

  • 探索數據庫和架構API

  • 創建安裝配置檔以將你的模組打包成自定義的Drupal發行版


這本書是為誰而寫的?

這本書是為希望為Drupal添加自定義功能的PHP開發者而寫的。你需要了解PHP和MySQL編程的基礎知識,但不需要有Drupal編程的經驗,儘管你應該熟悉Drupal的基本操作。