![]() |
Description
In this Wrox Blox, you’ll learn how to program using industry-standard best practices, coving code organization, indention, file structure, and organization. You’ll be introduced to the base2 JavaScript framework, which provides a stable backbone for rapid JavaScript application development by bridging and patching cross-browser inconsistencies and idiosyncrasies. This Wrox Blox describes how base2’s developer Dean Edwards has made base2’s event API consistent and loyal to the W3C standard event API by implementing the standard addEventListener() method in Internet Explorer, thereby providing a standard event API that can be used in all popular, modern browsers.
You will also learn about base2’s pioneering support for the W3C Selectors API that was recently natively implemented in Internet Explorer 8.0, Firefox 3.1, Safari 3.0, and Opera 10. base2 utilizes the native implementation when one is present for speed and efficiency and falls back on its own implementation when one is not present. In addition, you will learn about a couple of methods from base2’s rich API set. base2 provides the indexOf() and lastIndexOf() methods for arrays, and provides several other useful enhancements to strings and arrays, such as the forEach() method, which makes enumeration less verbose. Finally, base2 is even looking forward to the emerging HTML5 draft specification with support for the classList property and its methods, add(), remove(), toggle(), and has(), which let you easily manipulate the class names of elements in the DOM.
Table of Contents
Usage Rights for Wiley Wrox Blox Any Wrox Blox you purchase from this site will come with certain restrictions that allow Wiley to protect the copyrights of its products. After you purchase and download this title, you:
If you have any questions about these restrictions, you may contact Customer Care at (877) 762-2974 (8 a.m. - 5 p.m. EST, Monday - Friday). If you have any issues related to Technical Support, please contact us at 800-762-2974 (United States only) or 317-572-3994 (International) 8 a.m. - 8 p.m. EST, Monday - Friday).
|
Web Related ResourcesForumsArticlesRelated Books |