The focus of this chapter was on JavaScript and integrating JavaScript services into Drupal modules. In the course of this chapter, we explored many of the features of jQuery and the Drupal JavaScript library. We also built on a previous module to create a JSON service for our module. We then linked that module to client-side JavaScript in order to add dynamic content to an existing block.
In the next chapter, we will build an administrative module. This module will provide new features for administrators, and will make use of some of the hook_menu()
hook features introduced in this chapter.