Pro JavaScript Techniques

Front Cover
Apress, May 1, 2007 - Computers - 384 pages

Pro JavaScript Techniques is the ultimate JavaScript book for the modern web developer. It provides everything you need to know about modern JavaScript, and shows what JavaScript can do for your web sites. This book doesn't waste any time looking at things you already know, like basic syntax and structures.

Expert web developer and author John Resig concentrates on fundamental, vital topics—what modern JavaScripting is (and isnt), the current state of browser support, and pitfalls to be wary of. The book is organized into four sections:

  • Modern JavaScript development using JavaScript the object-oriented way, creating reusable code, plus testing and debugging
  • DOM scripting updating content and styles, plus events, and effect and event libraries
  • How Ajax works, overcoming problems, and using libraries to speed up development of Ajax applications
  • The future of JavaScript looking at cutting edge topics like JSON, HTML5, and more

All concepts are backed up by real-world examples and case studies, and John provides numerous reusable functions and classes to save you time in your development. There are also up-to-date reference appendixes for the DOM, events, browser support (including IE7), and frameworks, so you can look up specific details quickly and easily.

 

Contents

CHAPTER
3
CHAPTER
7
CHAPTER
9
CHAPTER
11
APPENDIX C
14
Creating Reusable Code
39
Packaging
49
Distribution
56
Libraries
163
Improving Forms
169
Building an Image Gallery
191
INDEX
202
Summary
212
Ajax
215
Handling Response Data
225
Enhancing Blogs with Ajax
233

Tools for Debugging and Testing
59
Testing
68
Events
111
JavaScript and CSS
135
Animations
151
DragandDrop
157
Autocomplete Search
247
An Ajax Wiki
265
Where Is JavaScript Going?
287
APPENDIX B Events Reference
325
The Browsers
345
Copyright

Other editions - View all

Common terms and phrases

About the author (2007)

John Resig is a programmer and entrepreneur who's been developing web applications for over eight years. Having primarily focused on back-end development for most of that time using Perl and MySQL, John changed his focus toward implementing usable web front ends. He holds a degree in computer science from Rochester Institute of Technology in New York, and has published several papers on data mining instant messaging networks. When he's not programming, he enjoys watching movies, writing in his blog, www.ejohn.org, and spending time with his girlfriend.

Bibliographic information