JavaScript Cookbook, 2nd Edition
- Length: 634 pages
- Edition: 2
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2015-02-13
- ISBN-10: 1491901888
- ISBN-13: 9781491901885
- Sales Rank: #796727 (See Top 100 Books)
Problem solving with JavaScript is a lot trickier now that its use has expanded considerably in size, scope, and complexity. This cookbook has your back, with recipes for common tasks across the JavaScript world, whether you’re working in the browser, the server, or a mobile environment. Each recipe includes reusable code and practical advice for tackling JavaScript objects, Node, Ajax, JSON, data persistence, graphical and media applications, complex frameworks, modular JavaScript, APIs, and many related technologies.
Aimed at people who have some experience with JavaScript, the first part covers traditional uses of JavaScript, along with new ideas and improved functionality. The second part dives into the server, mobile development, and a plethora of leading-edge tools. You’ll save time—and learn more about JavaScript in the process.
Topics include:
Classic JavaScript:
- Arrays, functions, and the JavaScript Object
- Accessing the user interface
- Testing and accessibility
- Creating and using JavaScript libraries
- Client-server communication with Ajax
- Rich, interactive web effects
JavaScript, All Blown Up:
- New ECMAScript standard objects
- Using Node on the server
- Modularizing and managing JavaScript
- Complex JavaScript frameworks
- Advanced client-server communications
- Visualizations and client-server graphics
- Mobile application development
Table of Contents
Part I. Classic JavaScript
Chapter 1. The JavaScript Not-So-Simple Building Blocks
Chapter 2. JavaScript Arrays
Chapter 3. Functions: The JavaScript Building Blocks
Chapter 4. The Malleable JavaScript Object
Chapter 5. JavaScript and Directly Accessing the User Interface
Chapter 6. Preliminary Testing and Accessibility
Chapter 7. Creating and Using JavaScript Libraries
Chapter 8. Simplified Client-Server Communication and Data
Chapter 9. Creating Media Rich, Interactive Web Effects
Part II. JavaScript, All Blown Up
Chapter 10. The New ECMAScript Standard Objects
Chapter 11. Node: JavaScript on the Server
Chapter 12. Modularizing and Managing JavaScript
Chapter 13. Fun with APIs
Chapter 14. JavaScript Frameworks
Chapter 15. Advanced Client-Server Communications and Streams
Chapter 16. Data Visualizations and Client/Server Graphics
Chapter 17. Data and Persistence
Chapter 18. JavaScript Hits the (Mobile) Road
Appendix A. Up and Running in jsBin and jsFiddle