Choosing a Framework

The new difficulty now is choosing among the bewildering variety of frameworks. Some of the more popular of which are listed in Table 19-1.

Because each of these frameworks works differently, I have opted to settle on just one of them—the YUI framework—for this chapter. I made this decision because it was originally written by programmers at Yahoo!, which since then has allowed the JavaScript community as a whole to contribute code to the project. As a result, it’s a solid framework used across all the Yahoo! properties and also by tens of thousands of developers around the world.

What’s more, you can download the entire framework and an extensive collection of more than 300 example programs, along with a comprehensive amount of documentation, amounting to over 70 MB of data once uncompressed. But although I say “you can,” you don’t have to, because all of these scripts and the documentation appear on the YUI developer website, and you are permitted to simply link ...

Get Learning PHP, MySQL, and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.