Webmaster Tips » Webmaster Books » JavaScript
JavaScript books
Professional JavaScript for Web Developers (Wrox Programmer to Programmer)
![]() |
Author: | Nicholas C. Zakas |
| List price: | $49.99 | |
| Amazon price: | $22.70 Book details at Amazon.com | |
| Average rating: | ||
| Publisher: | Wrox (14 January 2009) |
Professional JavaScript for Web Developers, 2nd Edition, provides a developer-level introduction along with the more advanced and useful features of JavaScript.
Starting at the beginning, the book explores how JavaScript originated and evolved into what it is today. A detailed discussion of the components that make up a JavaScript implementation follows, with specific focus on standards such as ECMAScript and the Document Object Model (DOM). The differences in JavaScript implementations used in different popular web browsers are also discussed.
Building on that base, the book moves on to cover basic concepts of JavaScript including its version of object-oriented programming, inheritance, and its use in various markup languages such as HTML. An in-depth examination of events and event handling is followed by an exploration of browser detection techniques and a guide to using regular expressions in JavaScript. The book then takes all this knowledge and applies it to creating dynamic user interfaces.
The last part of the book is focused on advanced topics, including performance/memory optimization, best practices, and a look at where JavaScript is going in the future.
This book is aimed at three groups of readers:
- Experienced developers familiar with object-oriented programming who are looking to learn JavaScript as it relates to traditional OO languages such as Java and C++
- Web application developers attempting to enhance the usability of their web sites and web applications
- Novice JavaScript developers aiming to better understand the language
In addition, familiarity with the following related technologies is a strong indicator that this book is for you:
- Java
- PHP
- ASP.NET
- HTML
- CSS
- XML
This book is not aimed at beginners who lack a basic computer science background or those looking to add some simple user interactions to web sites. These readers should instead refer to Wrox’s Beginning JavaScript, 3rd Edition (Wiley, 2007).
This book covers:
- What Is JavaScript?—Explains the origins of JavaScript: where it came from, how it evolved, and what it is today. Concepts introduced include the relationship between JavaScript and ECMAScript, the Document Object Model (DOM), and the Browser Object Model (BOM). A discussion of the relevant standards from the European Computer Manufacturer’s Association (ECMA) and the World Wide Web Consortium (W3C) is also included.
- JavaScript in HTML—Examines how JavaScript is used in conjunction with HTML to create dynamic web pages. Introduces the various ways of embedding JavaScript into a page, including a discussion surrounding the JavaScript content-type and its relationship to the element.
- Language Basics—Introduces basic language concepts, including syntax and flow control statements. Explains the syntactic similarities of JavaScript and other C-based languages and points out the differences. Type coercion is introduced as it relates to built-in operators.
- Variables, Scope, and Memory—Explores how variables are handled in JavaScript given their loosely typed nature. A discussion about the differences between primitive and reference values is included, as is information about execution context as it relates to variables. Also, a discussion about garbage collection in JavaScript explains how memory is reclaimed when variables go out of scope.
- Reference Types—Covers all of the details regarding JavaScript's built-in reference types, such as Object and Array. Each reference type described in ECMA-262 is discussed both in theory and how they relate to browser implementations.
- Object-Oriented Programming—Explains how to use object-oriented programming in JavaScript. Since JavaScript has no concept of classes, several popular techniques are explored for object creation and inheritance. Also covered is the concept of function prototypes and how that relates to an overall OO approach.
- Anonymous Functions—Explores one of the most powerful aspects of JavaScript: anonymous functions. Topics include closures, how the this object works, the module pattern, and creating private object members.
- The Browser Object Model—Introduces the Browser Object Model (BOM), which is responsible for objects allowing interaction with the browser itself. Each of the BOM objects is covered, including window, document, location, navigator, and screen.
- Client Detection—Explains various approaches to detecting the client machine and its capabilities. Different techniques include capability detection and user-agent string detection. Each approach is discussed for pros and cons as well as situational appropriateness.
- The Document Object Model—Introduces the Document Object Model (DOM) objects available in JavaScript as defined in DOM Level 1. A brief introduction to XML and its relationship to the DOM gives way to an in-depth exploration of the entire DOM and how it allows developers to manipulate a page.
- DOM Levels 2 and 3 Explains how DOM Levels 2 and 3 augmented the DOM with additional properties, methods, and objects. Compatibility issues between Internet Explorer and other browsers are discussed.
- Events—Explains the nature of events in JavaScript, where they originated, legacy support, and how the DOM redefined how events should work. A variety of devices are covered, including the Wii and iPhone.
- Scripting Forms—Looks at using JavaScript to enhance form interactions and work around browser limitations. Discussion focuses on individual form elements such as text boxes and select boxes and on data validation and manipulation.
- Error Handling and Debugging—Discusses how browsers handle errors in JavaScript code and presents several ways to handle errors. Debugging tools and techniques are also discussed for each browser, including recommendations for simplifying the debugging process.
- XML in JavaScript—Presents the features of JavaScript used to read and manipulate eXtensible Markup Language (XML) data. Explains the differences in support and objects in various web browsers, and offers suggestions for easier cross-browser coding. This also covers the use of eXtensible Stylesheet Language Transformations (XSLT) to transform XML data on the client.
- ECMAScript for XML—Discusses the ECMAScript for XML (E4X) extension to JavaScript, which is designed to simplify working with XML. Explains the advantages of E4X over using the DOM for XML manipulation.
- Ajax and JSON—Looks at common Ajax techniques, including the use of the XMLHttpRequest object and Internet Explorer's XDomainRequest object for cross-domain Ajax. Explains the differences in browser implementations and support as well as recommendations for usage.
- Advanced Techniques—Dives into some of the more complex JavaScript patterns, including function currying, partial function application, and dynamic functions. Also covers creating a custom event framework to enable simple event support for custom objects.
- Client-Side Storage—Discusses the various techniques for storing data on the client machine. Begins with a discussion of the most commonly supported feature, cookies, and then discusses newer functionality such as DOM storage.
- Best Practices—Explores approaches to working with JavaScript in an enterprise environment. Techniques for better maintainability are discussed, including coding techniques, formatting, and general programming practices. Execution performance is discussed and several techniques for speed optimization are introduced. Last, deployment issues are discussed, including how to create a build process.
- Upcoming APIs—Introduces APIs being created to augment JavaScript in the browser. Even though these APIs aren't yet complete or fully implemented, they are on the horizon and browsers have already begun partially implementing their features. Includes the Selectors API and HTML 5.
- The Evolution of JavaScript—Looks into the future of JavaScript to see where the language is headed. ECMAScript 3.1, ECMAScript 4, and ECMAScript Harmony are discussed.
JavaScript Pocket Reference (2nd Edition)
![]() |
Author: | David Flanagan |
| List price: | $9.95 | |
| Amazon price: | $5.18 Book details at Amazon.com | |
| Average rating: | ||
| Publisher: | O'Reilly Media ( 5 November 2002) |
JavaScript--the powerful, object-based scripting language that can be embedded directly into HTML pages--has earned its place in the web developer's toolkit, to the extent that it's now considered required knowledge for web developers. You can use JavaScript to create dynamic, interactive applications that run completely within a web browser. JavaScript is also the language of choice for developing Dynamic HTML content. Because its syntax is based on the popular programming languages C, C++, and Java, JavaScript is familiar and easy to learn for experienced programmers. At the same time, it's an interpreted scripting language, providing a flexible, forgiving programming environment for new programmers.
The JavaScript Pocket Reference, 2nd Edition, provides a complete overview of the core JavaScript language and client-side scripting environment, as well as quick-reference material on core and client-side objects, methods, and properties. The new edition has been revised to cover JavaScript 1.5, and is particularly useful for developers working with the standards-compliant web browsers, such as Internet Explorer 6, Netscape 7, and Mozilla. Ideal as an introduction for beginners and a quick reference for advanced developers, this pocket-sized book is easy to take anywhere and serves as the perfect companion volume to the bestselling JavaScript: The Definitive Guide, 4th Edition.
O'Reilly's Pocket References have become a favorite among developers everywhere. By providing a wealth of important details in a concise, well-organized format, these handy books deliver just what you need to complete the task at hand. When you've reached a sticking point and need to get to the answer quickly, the new JavaScript Pocket Reference is the book you'll want close at hand.
Beginning PhoneGap: Mobile Web Framework for JavaScript and HTML5
![]() |
Author: | Rohit Ghatol |
| List price: | $39.99 | |
| Amazon price: | $27.26 Book details at Amazon.com | |
| Average rating: | ||
| Publisher: | Apress ( 9 February 2012) |
PhoneGap is a growing and leading open-source mobile web apps development framework that lets developers build JavaScript and HTML5-based web applications with native wrappers for more than six mobile platforms, including iOS, Android, and BlackBerry. This framework lets you build HTML- and JavaScript-based apps and still take advantage of native mobile device capabilities like camera, localStorage, geolocation, storage and much more, irrespective of the mobile platform you target. It also lets you use more specialized JavaScript frameworks like jQuery Mobile and more.
Beginning PhoneGap is a definitive, one-of-a-kind book that teaches the fundamentals and strategies behind cross-platform mobile application development. Instead of learning languages like Objective-C, focus on building apps from day one for Android, iOS, Blackberry, WebOS and Symbian—without the complexities of these platforms.
This book shows how to build apps which makes use of Google Local Search to create a Restaurant finder apps (which uses Maps to layout locations and uses internal database to store your favorite restaurants. Furthermore, you'll learn how to extend PhoneGap's functionality by using PhoneGap plugins to write apps like Dropbox (syncing files in the background outside HTML/JavaScript code and in native code).
By the time you finish Beginning PhoneGap, you'll know PhoneGap inside and out, and, consequently, be able to develop mobile web apps faster and more efficiently than ever before. Make more money in less time!
This book offers an examples-based approach on how to build PhoneGap-based HTML and JavaScript that integrates device features like geolocation, camera, storage, and more.
- To understand mobile web applications development using the PhoneGap framework
- How to build simple apps for iPhone, Android, BlackBerry, WebOS and Symbian
- The differences in capabilities across various mobile devices
- How to integrate other popular mobile JavaScript frameworks to build user interfaces in PhoneGap
- All the major features in PhoneGap, like geolocation, camera, media, storage, and more.
- How to build app which make use of OAuth for authentication with services like Facebook
- How to extend PhoneGap using the PhoneGap plugin development framework
This book is for project managers and developers of mobile applications who plan to develop for more than one platform, and are interested in saving money and time in the development process.
JavaScript Pocket Reference
![]() |
Author: | David Flanagan |
| List price: | $12.99 | |
| Amazon price: | $9.60 Book details at Amazon.com | |
| Average rating: | ||
| Publisher: | O'Reilly Media (30 March 2012) |
Although JavaScript has become the programming language of the Web, it’s a little different from the expectations of other languages. This convenient pocket reference gives you immediate answers to pressing questions as you encounter them.
Based on content distilled from David Flanagan’s bestselling JavaScript: The Definitive Guide, this quick guide to JavaScript’s features and quirks is ideal for experienced programmers coming to JavaScript from another environment, as well as developers experienced with the language.
Beginning HTML, XHTML, CSS, and JavaScript (Wrox Programmer to Programmer)
![]() |
Author: | Jon Duckett |
| List price: | $34.99 | |
| Amazon price: | $19.42 Book details at Amazon.com | |
| Average rating: | ||
| Publisher: | Wrox (30 December 2009) |
An indispensable introductory guide to creating web pages using the most up-to-date standards
This beginner guide shows you how to use XHTML, CSS, and JavaScript to create compelling Web sites. While learning these technologies, you will discover coding practices such as writing code that works on multiple browsers including mobile devices, how to use AJAX frameworks to add interactivity to your pages, and how to ensure your pages meet accessible requirements.
Packed with real-world examples, the book not only teaches you how to write Web sites using XHTML, CSS and JavaScript, but it also teaches you design principles that help you create attractive web sites and practical advice on how to make web pages more usable. In addition, special checklists and appendices review key topics and provide helpful references that re-enforce the basics you've learned.
- Serves as an ideal beginners guide to writing web pages using XHTML
- Explains how to use CSS to make pages more appealing and add interactivity to pages using JavaScript and AJAX frameworks
- Share advice on design principles and how to make pages more attractive and offers practical help with usability and accessibility
- Features checklists and appendices that review key topics
This introductory guide is essential reading for getting started with using XHTML, CSS and JavaScript to create exciting and compelling Web sites.
Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
Pro JavaScript Techniques
![]() |
Author: | John Resig |
| List price: | $44.99 | |
| Amazon price: | $28.00 Book details at Amazon.com | |
| Average rating: | ||
| Publisher: | Apress (13 December 2006) |
JavaScript usage on the Web has changed in recent times, due to increased JavaScript support in web browsers, and new techniques coming to light. JavaScript is also now being looked on as a proper programming language, whereas in it's inception it was regarded as little more than a scripting toy.
This book addresses all the points above in detail - modern browser support (including information on Internet Explorer 7), Object-Oriented JavaScript, testing and debugging, Unobtrusive JavaScript techniques using DOM Scripting, Ajax, creating and using blocks of reusable code, and looking towards the future of JavaScript.
It backs up all the concepts with real world examples and full-blown case studies, and also includes several reference sections to allow developers to look up details quickly and easily.
Foundation HTML5 Animation with JavaScript
![]() |
Author: | Billy Lamberta |
| List price: | $39.99 | |
| Amazon price: | $23.99 Book details at Amazon.com | |
| Average rating: | ||
| Publisher: | friendsofED (30 November 2011) |
Foundation HTML5 Animation with JavaScript covers everything that you need to know to create dynamic scripted animation using the HTML5 canvas. It provides information on all the relevant math you'll need, before moving on to physics concepts like acceleration, velocity, easing, springs, collision detection, conservation of momentum, 3D, and forward and inverse kinematics. Foundation HTML5 Animation with JavaScript is a fantastic resource for all web developers working in HTML5 or switching over from Flash to create standards-compliant games, applications, and animations that will work across all modern browsers and most mobile devices, including iPhones, iPads, and Android devices.
You will learn how to utilize the amazing animation and physics-based code originally created by author Keith Peters in his hugely successful Foundation ActionScript Animation in all of your HTML5 applications. In no time at all, you'll understand the concepts behind scripted animation and also have the ability to create all manner of exciting animations and games.
- All the JavaScript and HTML5 code (including math and trigonometry functions) you'll need to start animating with code
- Basic motion principles like velocity, acceleration, friction, easing, and bouncing
- How to handle user interactions via the keyboard, mouse, and touchscreen
- Advanced motion techniques like springs, coordinate rotation, conservation of momentum, and forward and inverse kinematics
- All the basic 3D concepts you'll need for 3D in HTML5 (without WebGL)—from simple perspective to full 3D solids, complete with backface culling and dynamic lighting
This book is a fantastic resource for all web developers working in HTML5 or switching over from Flash to create standards-compliant games, applications, and animations that will work across all modern browsers and most mobile devices, including iPhones, iPads, and Android devices.
Table of Contents- Basic Animation Concepts
- Basics of JavaScript for Animation
- HTML5 and Canvas graphics
- Trigonometry for Animation
- Velocity and Acceleration
- Boundaries and Friction
- User Interaction: Moving Objects Around
- Easing and Springing
- Collision Detection
- Coordination Rotation and Bouncing Off Angles
- Billiard Ball Physics
- Particle Attraction and Gravity
- Forward Kinematics: Making Things Walk
- Inverse Kinematics: Dragging and Reaching
- 3D Basics
- 3D Lines and Fills
- Backface Culling and 3D Lighting
- Matrix Math
- Tips and Tricks
New Perspectives on JavaScript and AJAX, Comprehensive (New Perspectives (Course Technology Paperback))
![]() |
Author: | Patrick Carey |
| List price: | $95.95 | |
| Amazon price: | $67.74 Book details at Amazon.com | |
| Average rating: | ||
| Publisher: | Course Technology (16 December 2009) |
NEW PERSPECTIVES ON JAVASCRIPT AND AJAX uses a practical, step-by-step approach to provide comprehensive instruction on basic to advanced JavaScript and AJAX concepts. This book teaches students JavaScript and AJAX using a simple text editor to create basic to complex Web sites. The text reviews the basics of HTML, XHTML, and CSS and includes an extended appendix containing commands and common code errors.
Test-Driven JavaScript Development (Developer's Library)
![]() |
Author: | Christian Johansen |
| List price: | $49.99 | |
| Amazon price: | $26.53 Book details at Amazon.com | |
| Average rating: | ||
| Publisher: | Addison-Wesley Professional (19 September 2010) |
For JavaScript developers working on increasingly large and complex projects, effective automated testing is crucial to success. Test-Driven JavaScript Development is a complete, best-practice guide to agile JavaScript testing and quality assurance with the test-driven development (TDD) methodology. Leading agile JavaScript developer Christian Johansen covers all aspects of applying state-of-the-art automated testing in JavaScript environments, walking readers through the entire development lifecycle, from project launch to application deployment, and beyond.
Using real-life examples driven by unit tests, Johansen shows how to use TDD to gain greater confidence in your code base, so you can fearlessly refactor and build more robust, maintainable, and reliable JavaScript code at lower cost. Throughout, he addresses crucial issues ranging from code design to performance optimization, offering realistic solutions for developers, QA specialists, and testers.
Coverage includes
• Understanding automated testing and TDD
• Building effective automated testing workflows
• Testing code for both browsers and servers (using Node.js)
• Using TDD to build cleaner APIs, better modularized code, and more robust software
• Writing testable code
• Using test stubs and mocks to test units in isolation
• Continuously improving code through refactoring
• Walking through the construction and automated testing of fully functional software
The accompanying Web site, tddjs.com, contains all of the book’s code listings and additional resources.
JavaScript Step by Step (Step By Step (Microsoft))
![]() |
Author: | Steve Suehring |
| List price: | $39.99 | |
| Amazon price: | $21.02 Book details at Amazon.com | |
| Average rating: | ||
| Publisher: | Microsoft Press ( 6 January 2011) |
Your hands-on, step-by-step guide to the fundamentals of JavaScript development.
Teach yourself how to program with JavaScript -- one step at time. Ideal for developers with fundamental programming skills, this practical tutorial provides the clear guidance and hands-on examples you need to create or customize interactive Web applications using core JavaScript features and techniques.
Discover how to:
- Write and deploy JavaScript code with Microsoft® Visual Studio® 2010, the Eclipse IDE, or text editors
- Work with JavaScript syntax and data types
- Use the Document Object Model to retrieve, create, and change HTML elements
- Create rollover images and slideshow effects
- Validate and provide feedback for user input on Web forms
- Manipulate CSS styles and respond to browser events
- Develop interactive Web applications using AJAX
- Help speed development with JavaScript frameworks such as jQuery
Your Step by Step digital content includes:
- All the books practice files -- ready to download and put to work.
- Fully searchable online edition of this book -- with unlimited access on the Web.
The print version of this book includes free digital content online. To download, please visit O'Reilly's web site, search for the title of this book to find its catalog page, and click on the link below the cover image (Examples, Companion Content, or Practice Files). Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to booktech@oreilly.com.
Tips & Tricks
Webmaster Tools
Sponsors
Subscribe
Statistics
Validate








