About Workshop
Drupal is a free software package that allows an individual, a community of users, or an enterprise to easily publish, manage and organize a wide variety of content on a website. Hundreds of thousands of people and organizations are using Drupal to power an endless variety of web sites, including:
• Community web portals
• Discussion sites
• Corporate web sites
• Intranet applications
• Personal web sites or blogs
• Aficionado sites
• E-commerce applications
• Resource directories
• Social Networking sites
Course Highlights:
-About Drupal & Writing Module
-Hooks, Actions, and Triggers
-The Menu System
-Working with Databases & Users
-Working with Nodes & the Theme System
-Working with Blocks, the Form API & the Filter System
-Searching and Indexing Content, Working with Files & Taxonomy
-Caching, Sessions, Using jQuery & XML-RPC
Workshop topics to be covered:
Class: 01 (About Drupal & Writing Module)
About Drupal
Installation
Administrative Interface
Serving a Request
Writing a Module
- o Creating the Files
- o Implementing a Hook
- o Adding Module-Specific Settings
- o Adding the Data Entry Form
Storing Settings
Class: 02 (Hooks, Actions, and Triggers)
Understanding Events and Triggers
Understanding Actions
Using the Context in Actions
Examining the Context
How Actions Are Stored
Calling an Action Directly with actions_do()
Defining Your Own Triggers with hook_hook_info()
Adding Triggers to Existing Hooks
Class: 03 (The Menu System)
Callback Mapping
Menu Nesting
Access Control
Title Localization and Customization
Wildcards in Menu Items
Kinds of Menu Items
Using menu.module
Class: 04 (Working with Databases & Users)
Working with Databases
- o Defining Database Parameters
- o Connecting to the Database
- o Performing Simple Queries
- o Retrieving Query Results
- o The Schema API
- o Inserts and Updates with drupal_write_record()
Working with Users
- o The $user Object
- o Introduction to hook_user()
- o The User Registration Process
- o The Login Process
- o External Login
Class: 05 (Working with Nodes & the Theme System)
Working with Nodes
- o About Node
- o Creating a Node Module
The Theme System
- o Theme System Components
- o Installing a Theme
- o Building a PHPTemplate Theme
- o Understanding Template Files
- o Advanced Drupal Theming
Class: 06 (Working with Blocks, the Form API & the Filter System)
Working with Blocks
- o About Block
- o Defining a Block
- o Building a Block
- o Enabling a Block
The Form API
- o Understanding Form Processing
- o Creating Basic Forms
- o Form API Properties
Manipulating User Input: The Filter System
- o Filters and Input Formats
- o Creating a Custom Filter
Class: 07 (Searching and Indexing Content, Working with Files & Taxonomy)
Searching and Indexing Content
- o Building a Custom Search Page
- o Using the Search HTML Indexer
Working with Files
- o Drupal Serves Files
- o PHP Settings
- o Media Handling
- o File API
Working with Taxonomy
- o About Taxonomy
- o Kinds of Taxonomy
- o Taxonomy Functions
Class: 08 (Caching, Sessions, Using jQuery & XML-RPC)
Caching
- o How Caching Works
Sessions
- o Session-Related Settings
- o Session Life Cycle
Using jQuery
- o About jQuery
- o jQuery Within Drupal
- XML-RPC
- o About XML-RPC
- o XML-RPC Clients
- o A Simple XML-RPC Server
- o Built-In XML-RPC Methods