This site is archived.

Introduction to AJAX, jQuery, and Javascript in Drupal 6

Platinum and gold sponsors

mbutcher's picture
mbutcher - Mon, 01/28/2008 - 3:57pm
Presenters: 
Matt Butcher
Track: 
community and core
Session Description: 

SESSION OVERVIEW
This session provides a basic introduction to jQuery, AJAX, and Javascript in Drupal 6. In this session, we will look at passing AJAX/JSON data between the client and server. We will create a “random quotes” module to exemplify this. Our module will employ the menuing system to provide a JSON/AJAX gateway to data. jQuery, and Drupal Javascript (and a touch of theming) will provide the client side functionality.

We will be focusing on core APIs (though I know there are some great modules out there that assist in AJAX development).

TRACK
Community and Core

AGENDA
* Starting with a simple block and some content
* Create an AJAX/JSON service with hook_menu() and callbacks
* Checking for Javascript support (and degrading gracefully)
* Retrieving AJAX/JSON content using jQuery
* Displaying content using jQuery

GOALS
The purpose of this session is to introduce module developers (and code-savvy themers) to Drupal 6’s Javasript support. By the end, users should be familiar with jQuery, the basics of Drupal’s Javascript API, and the process of creating AJAX/JSON services in Drupal modules.

RESOURCES
Attendees will benefit most if they know at least basic PHP an basic Javascript. Since we will rush through the basics of module development, attendees should also have at least passing familiarity with module development and the hook system.

(I’d be happy to incorporate this into a panel if others are interested)

Average: 4.6 (14 votes)