WHAT YOU WILL LEARN IN THIS CHAPTER:
- Using Modernizr to write feature-specific code
- Loading external resources for browsers that do not support certain features
- Using Prototype and MooTools to perform common tasks, such as DOM manipulation and Ajax requests
WROX.COM CODE DOWNLOADS FOR THIS CHAPTER
You can find the wrox.com code downloads for this chapter at
The aim of general frameworks is to balance the differences between browsers by creating a new, unified API to perform general tasks like DOM manipulation and Ajax functionality (jQuery is a general framework). Specialty frameworks, on the other hand, focus on a specific ability, such as feature detection. So identify what it is you want to achieve and choose a framework based on that. For example, if you wanted to perform animations and only animations, the script.aculo.us framework (
http://script.aculo.us/) could be a good choice for you.
This chapter looks at both general and specific frameworks. When deciding ...