Object-Oriented JavaScript

  Author:    Stoyan Stefanov
  ISBN:    1847194141
  Sales Rank:    97282
  Published:    2008-07-24
  Publisher:    Packt Publishing
  # Pages:    356
  Binding:    Paperback
  Avg. Rating:    5.0 based on 7 reviews
  Used Offers:    7 from $35.88
  Amazon Price:    $38.33
  (Data above last updated:  2008-11-19 05:40:50 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
Object-Oriented JavaScript
  
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.

                  Reader Reviews 1 - 7 of 7                 
  
  
Review
Date
Review
Rating(5 High)
Review
Helpful
to:
Customer Review Reviewer
Info
Permanent
Link
Reader Reviews Below Sorted by Newest First
10-29-08 5 2\2
(Hide Review...)  Great book for any level programmer
Reviewer Permalink
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.
(Review Data Last Updated: 2008-11-19 05:42:15 EST)
10-26-08 5 3\3
(Hide Review...)  One of the top books in the field
Reviewer Permalink
Having read a large number of JavaScript books, I would say that this is easily one of the best around. The introductory chapters are above average, and thoughtfully mention a number of useful details. The core chapters in the book describe Functions, Objects, Prototype, and Inheritance. These chapters alone are worth the price of the book. They are probably clearer than any other book on the subject.

Beginners and moderate JavaScript users will gain a great deal from this book, and advanced users will also find it useful. Highly recommended.
(Review Data Last Updated: 2008-10-30 05:33:04 EST)
10-24-08 5 1\1
(Hide Review...)  A Must Read!
Reviewer Permalink
I'm not new to OO JavaScript and employ many of the techniques explained in this book on a daily basis, but that didn't stop me from learning many new things and filling in the gaps and cementing my knowledge in most areas.

Stoyan's ability to walk the reader through a complex topic and exaplin the complexities in an easy to understand manner, will help JS developers of all abilities.

This really is a must have book.
(Review Data Last Updated: 2008-10-29 05:29:44 EST)
09-10-08 4 0\5
(Hide Review...)  Practical and Entertaining
Reviewer Permalink
I am a PHP and MySQL web developer and I have always resisted using Javascript in my projects. So I have kept my Javascript knowledge to minimum.

But there are times when you simply can't avoid JavaScript, so I decided to take my JS programming to the next level. After reading this book I have certainly learned a lot more, but it did not change my opinion about this language. I still HATE this language and the idea of using Javascript as a serious Object Oriented Programming is nothing but a JOKE.

It made me appreciate the PHP and its Object Oriented paradigm.

I can't wait for a day when HTML5 and CSS3 are implemented in all modern browsers so I can kiss Javascript Goodbye forever. In the meantime I have no choice but to use this ugly language.
(Review Data Last Updated: 2008-10-29 05:29:44 EST)
08-29-08 5 (NA)
(Hide Review...)  Fantastic Reference for Web Developers
Reviewer Permalink
Object-Oriented JavaScript is a must-have for web developers building functionally rich applications using JavaScript. Stoyan starts out with a brief history on the evolution of the web and background on object-oriented programming, then immediately dives into data types, arrays, loops, functions, objects, prototypes, inheritance, DOM, and more. His book is full of thoughtful examples, useful tips, and excellent review exercises at the end of each chapter. Fantastic book and author! (Disclaimer: I helped review this book and also hired Stoyan to join Yahoo!'s Exceptional Performance team.)
(Review Data Last Updated: 2008-09-20 06:40:00 EST)
08-11-08 4 1\1
(Hide Review...)  Intermediate or Above and Wonderful
Reviewer Permalink
This is a keeper on my bookshelf. I am not new to JavaScript but routine for me includes finding better or books that look at things from different perspectives. This book is sort of a handbook with short cut concepts explaining how JavaScript thinks from one end of the language to the other. It also shows several different takes and methods for achieving concepts. To date this is the best book I have seen explaining 'closures'. On an issue of style my love of OO programming is more 'class' oriented. So this book approached things slightly different from what I was expecting. With that said there was no regret for reading this book. It will solve other programming needs and will be one of the routine books to come off my shelf again and again for sure!
(FYI... by way of reference I am the author of ColdFusion 8 Developer Tutorial )
(Review Data Last Updated: 2008-08-30 05:21:51 EST)
08-02-08 5 1\1
(Hide Review...)  Best JavaScript on Object Oriented Programming
Reviewer Permalink
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!
(Review Data Last Updated: 2008-08-25 16:32:43 EST)
  
                  Reader Reviews 1 - 7 of 7                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
In Association with Amazon.com

Cache miss
(not cached)