Pro JavaScript Techniques (2nd Edition) by John Resig, Russ Ferguson, John Paxton

By John Resig, Russ Ferguson, John Paxton

Professional JavaScript thoughts is the final word JavaScript booklet for today's internet developer. It presents every thing you want to learn about glossy JavaScript, and teaches you what JavaScript can do to your sites. This ebook doesn't waste any time taking a look at stuff you already comprehend, yet in its place concentrates on primary, important topics—what sleek JavaScripting is (and isn't), and pitfalls to be cautious of.

You will find out about the 'this' key-phrase, in addition to new item instruments. it is possible for you to to create reusable code with encapsulation, overloading and inheritance. the latest concepts for debugging and checking out are lined comprehensively, with details on Chrome developer instruments, Jasmine, PhantomJS and Protractor. This replace finishes with chapters on developing single-page net functions that dominate the trendy web.

The e-book is full of real-world examples and case experiences, in addition to various reusable services and sessions to save lots of you time on your improvement. you'll study the sensible abilities had to construct expert, dynamic net purposes. professional JavaScript ideas is an quintessential reference for any expert JavaScript internet developer—enhance your JavaScript improvement this present day.

Show description

Read Online or Download Pro JavaScript Techniques (2nd Edition) PDF

Best javascript books

Beginning Backbone.js

Starting spine. js is your step by step advisor to studying and utilizing the spine. js library on your internet initiatives. spine. js is likely one of the hottest JavaScript libraries between internet builders, used to create modular, single-page net apps. This publication takes you from downloading spine. js and its dependencies all of the method to utilizing extra complicated libraries to constitution your program structure, and every thing in among.

Javascript 1.1 Developer's Guide

A certified developer's reference for boosting commercial-grade websites explains tips to use JavaScript to hyperlink applets, multimedia courses, plugins, and extra. unique. (Advanced).

Beginning JSP, JSF and Tomcat: Java Web Development

Begin development Java–based internet purposes now, whether you’re a whole newcomer to Java. finished and example–driven, starting JSP, JSF, and Tomcat: Java internet improvement, moment version is all you must strengthen dynamic Java-based net purposes utilizing JSP, hook up with databases with JSF, and placed them into motion utilizing the world’s most well liked open resource Java net server, Apache Tomcat.

Clojure for Java Developers

Key FeaturesWrite apps for the multithreaded international with Clojure's taste of practical programmingDiscover Clojure's beneficial properties and merits and use them on your latest projectsThe booklet is designed in order that you can be capable placed to take advantage of your latest talents and software program wisdom to develop into a more desirable Clojure developerBook DescriptionWe have reached some degree the place machines usually are not getting a lot swifter, software program initiatives must be introduced speedy, and prime quality in software program is extra not easy as ever.

Extra resources for Pro JavaScript Techniques (2nd Edition)

Example text

And best of all, from an author’s perspective, there’s really nothing here for me to explain! Even the lang attribute on the tags for the calendars is standard HTML, although it’s not used too often. Here, it tells Dojo what locality to use to translate the string in the dijit. That’s neat, right? ■Note An expando attribute, which might be a term you haven’t heard, is when you add an attribute that didn’t exist before to an object. This term is usually used in the context of HTML tags (which are ultimately objects in the DOM, remember) when you have an attribute on the tag that isn’t strictly allowed given the definition of that tag.

You should definitely spend some time exploring outside this book to get the full breadth of what DojoX has to offer. Charting Generating charts on a web site is usually an exercise in either (a) some fancy graphics-based client-side code or (b) the more time-tested approach of generating the chart on the server and returning a dynamically-rendered graphic of it. With the charting support in DojoX, you can do what you see in Figure 1-12 entirely on the client dynamically. You won’t even need static graphic resources to build this up; it’s drawn 100 percent on the fly, so to speak.

Js on your page, and Table 1-2 shows the “extra” stuff that’s part of Core but that you have to include() in your page explicitly. Table 1-1. “Automatic” Dojo Core Functionality Core Functionality Group Description Browser detection Dojo can tell you whether your application is running in Internet Explorer, Firefox, Opera, Konquerer, and even whether the client is a web browser! JSON encoding/decoding Dojo provides functions to turn any object into JavaScript Object Notation (JSON) string, a standard way to represent JavaScript objects, and to turn a JSON string into a JavaScript object.

Download PDF sample

Rated 4.14 of 5 – based on 4 votes