Object-Oriented JavaScript and over one million other books are available for Amazon Kindle. Learn more

Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Start reading Object-Oriented JavaScript on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Object-Oriented JavaScript [Paperback]

Stoyan Stefanov

List Price: CDN$ 40.73
Price: CDN$ 40.28 & this item ships for FREE with Super Saver Shipping. Details
You Save: CDN$ 0.45 (1%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 1 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Want it delivered Tuesday, May 28? Choose One-Day Shipping at checkout.

Formats

Amazon Price New from Used from
Kindle Edition CDN $14.39  
Paperback CDN $40.28  
There is a newer edition of this item:
Object Oriented Javascript Object Oriented Javascript
Sign up to be notified when this item becomes available.

Book Description

July 1 2008
Once listed in the "nice to have" sections of job postings, these days the knowledge of JavaScript is a deciding factor when it comes to hiring web developers. And rightly so. Where in the past we used to have the occasional few lines of JavaScript embedded in a web page, now we have advanced libraries and extensible architectures, powering the "fat-client", AJAX-type rich internet applications.

JavaScript is the language of the browser, but it's also heavily employed in many other environments: server-side programming, desktop applications, application extensions and widgets. It's a pretty good deal: you learn one language and then code all kinds of different applications. While this book has one chapter specifically dedicated to the web browser environment including DOM, events, and AJAX tutorials, the rest is applicable to all the other environments too.

This book treats JavaScript as a serious object-oriented language, showing you how to build robust, maintainable, and powerful libraries and applications. Along the way, we cover many of the recent innovations such as AJAX, JSON, and interesting design and coding patterns. After reading this book, you'll be prepared to ace your JavaScript job interview and even impress with some bits that the interviewer maybe didn't know. You should read this book if you want to be able to take your JavaScript skills to a new level of sophistication.

What you will learn from this book?

* Learn to think in JavaScript, the language of the web browser
* The basics of object-oriented programming, and how they apply to JavaScript
* Set up and use your training environment (Firebug)
* Master data types, operators, and flow control statements
* Understand functions: usage patterns, variable scope, and built-in functions
* Closures demystified
* Create and use objects
* Understand and use prototypes
* Reuse code with common patterns for inheritance
* Understand and work with the BOM (Browser Object Model)
* The DOM (Document Object Model) - accessing, modifying, adding, and deleting nodes
* Build responsive web pages with AJAX
* JSON (JavaScript Object Notation)
* Listen and respond to browser events
* Apply design patterns to solve common problems
* Adopt coding patterns that unleash the unique power of the language
* Make your programs cleaner, faster, and compatible with other programs and libraries
* Achieve missing object-oriented features in JavaScript such as private properties and methods

Who is this book written for?

The book requires no prior knowledge of JavaScript and works from the ground up to give you a thorough grounding in this powerful language. If you do already know some JavaScript, you will find plenty of eye-openers as you discover just what the language can do.

This book takes a do-it-yourself approach when it comes to writing code, because the best way to really learn a programming language is by writing code. You are encouraged to type code into Firebug's console, see how it works and then tweak it and play around with it. There are practice questions at the end of each chapter to help review what you have learned.


Frequently Bought Together

Object-Oriented JavaScript + JavaScript: The Good Parts + JavaScript Patterns
Price For All Three: CDN$ 78.83

Show availability and shipping details

  • In Stock.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details

  • JavaScript: The Good Parts CDN$ 18.80

    In Stock.
    Ships from and sold by Amazon.ca.
    Eligible for FREE Super Saver Shipping on orders over CDN$ 25. Details

  • JavaScript Patterns CDN$ 19.75

    In Stock.
    Ships from and sold by Amazon.ca.
    Eligible for FREE Super Saver Shipping on orders over CDN$ 25. Details


Customers Who Bought This Item Also Bought


Product Details


Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

There are no customer reviews yet on Amazon.ca
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.3 out of 5 stars  35 reviews
38 of 41 people found the following review helpful
5.0 out of 5 stars Best JavaScript on Object Oriented Programming Aug 2 2008
By Frank Stepanski - Published on Amazon.com
Format:Paperback
Object-Oriented JavaScript by Stoyan Stefanov is a first among JavaScript books in my opinion. OOP in JavaScript is not new, but has gained much popularity since the use of JavaScript in Ajax and the development of JavaScript libraries and widgets from various web companies (especially Yahoo!). Learning how to create component-based applications using JavaScript is not an easy thing to master if all you know about JavaScript is doing "mouse-overs" or neat little effects. There really isn't a book out there that really explains how OOP works in JavaScript completely.

There are books from Apress and WROX that are geared towards "intermediate" topics in JavaScript such as creating objects and so forth, but they quickly go into sing custom libraries which really doesn't teach you anything apart from using a library.

This book really goes into detail in explaining how the syntax of JavaScript can be used to create scalable applications from the ground-up. I would say this book is geared for the developer who has a grasp on the language itself but wants to learn more in creating real useful applications for the web using JavaScript and wants to learn without depending on any pre-built library or component.

The author goes into the basics of the language first (chapter 1-2) then spends a chapter on functions (chapter 3) which is the many ways in JavaScript to create objects. Since JavaScript is not a fully OO language, it can get confusing on understanding the many different ways to create an object. Stoyan explains it very well with many examples so anybody can understand it.

The next few chapters (4 - 6), the author goes into OOP practices like how objects work, the Prototype built-in object, inheritance, and many of the built-in methods and properties you can use to manipulate your custom objects. Yes, object literal notation is covered in-depth since it really is the standard way in JavaScript to create objects.

The rest of the book has some excellent chapters on the BOM, DOM, Ajax and Design Patterns which really round out the book and make it worth it. I have never seen a book so complete on some of the more intermediate to advanced features of JavaScript and explaining it so anybody can learn it.

Go get yourself a copy of this book today!
41 of 46 people found the following review helpful
2.0 out of 5 stars Good book but doesn't deliver what the title promises Jan 28 2010
By Arne Claassen - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
The book is very well written and contains a lot of great information, but if you're looking to learn how "Create scalable, reusable high-quality javascript applications and libraries", it is nearly useless. There were a total of two chapters that I found useful to a non-novice. One covered inheritance options in incredible details (which is great, since there are so many), and the last chapter gives lip service to covering common OO patterns with javascript. That's about it. "Introduction to creating objects and simple OO patterns in Javascript" would have been a much more apt title.
18 of 20 people found the following review helpful
5.0 out of 5 stars Great book for any level programmer Oct 29 2008
By Evan Larsen - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
This is a well written book, I recommend that everyone wanting to get into javascript programming go pick up this book. I first bought JavaScript: The Definitive guide by Oreily because everyone in the JavaScript community said thats the most detailed book on javascript. But that book was like reading a dictionary and I would get bored with it pretty quick. This book "Object-Oriented Javascript" is a wonderful read, its well structured. Flowing from 1 chapter to another giving you everything you need to know like building blocks laying out a strong foundation.

Before I read this book I wasnt comfortable with javascript at all, but now I feel like I can do just about anything with it. I really liked the chapters on Prototyping and the section on closures work. The author really tries hard to show how javascript works by not only explaining it in laymen terms but also having diagrams to help illustrate his point. The examples are kept short and to the point and he has many examples to help get all his points across.

The way this book is layed out it will make for a good desktop reference.

Stoyan Stefanov, I'm looking forward to any more books you might come out with.

Listmania!

Create a Listmania! list

Look for similar items by category


Feedback


Amazon.ca Privacy Statement Amazon.ca Shipping Information Amazon.ca Returns & Exchanges