13. Frameworks

The rise of frameworks is one of the reasons for JavaScript’s larger role in today’s Web, and you can’t fully appreciate modern JavaScript without learning frameworks, too. In this chapter, you’ll be introduced to two of the most popular frameworks—jQuery and the Yahoo! User Interface (YUI) Library. You’ll pick up the fundamentals for using both, and see a couple of specific add-ons for each. The chapter begins, though, with a discussion of how you should select a framework, as well as the arguments for and against them in general.

Choosing a Framework

Once you’ve decided to learn a framework, the natural question is: Which framework? Clearly, jQuery is the current dominant JavaScript framework, and it would be a reasonable decision ...

Get Modern JavaScript: Develop and Design now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.