Showing posts with label object oriented. Show all posts
Showing posts with label object oriented. Show all posts

Getting Good with Javascript Review

Getting Good with Javascript
Average Reviews:

(More customer reviews)
Are you looking to buy Getting Good with Javascript? Here is the right place to find the great deals. we can offer discounts of up to 90% on Getting Good with Javascript. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Getting Good with Javascript ReviewBased on my experience with Rockable Press publications in the past, I was a bit hesitant to purchase this book. Is it a good primer on Javascript? I think so, but the number of spelling and grammatical errors are unacceptable and very distracting. Simple concepts are obfuscated by glaring spelling and grammatical errors. Here are some highlights: using "you've" instead of "you'd"; "now" instead of "know"; "folowing" instead of "following"; and my personal favorite: every other page in chapter 2 has a page header of "Baiscs".
Rockable Press should be embarrassed that they released a book that could be considered a rough draft. The errors are so common and egregious, it is comical. At best, it is an amateurish attempt at publishing a book. If you can find your way through the grammatical mistakes, I think you'll find a decent introduction to Javascript. However, I'd wait until someone at Rockable Press decides to actually edit this book before purchasing.Getting Good with Javascript Overview
Ever wanted to spice up your websites with a dash of JavaScript, but not known where to start? In Getting Good with JavaScript, author Andrew Burgess breaks programming in JavaScript down into easy, straight-forward principles and practices.

This book will introduce you to important programming concepts, show you how to write your first scripts, and make you comfortable with JavaScript code. You'll learn:

The basics of types, variables, and operators
Best practices for efficient coding
Testing and optimizing your JavaScript
Interacting with HTML elements

Andrew Burgess will help you get past the learning curve and get you Getting Good with JavaScript!


Want to learn more information about Getting Good with Javascript?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...

Object-Oriented JavaScript: Create scalable, reusable high-quality JavaScript applications and libraries Review

Object-Oriented JavaScript: Create scalable, reusable high-quality JavaScript applications and libraries
Average Reviews:

(More customer reviews)
Are you looking to buy Object-Oriented JavaScript: Create scalable, reusable high-quality JavaScript applications and libraries? Here is the right place to find the great deals. we can offer discounts of up to 90% on Object-Oriented JavaScript: Create scalable, reusable high-quality JavaScript applications and libraries. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Object-Oriented JavaScript: Create scalable, reusable high-quality JavaScript applications and libraries ReviewThe 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.Object-Oriented JavaScript: Create scalable, reusable high-quality JavaScript applications and libraries OverviewCreate scalable and reusable high-quality JavaScript applications and libraries using the concepts of object-oriented programming. This book is for the beginning to intermediate web developer who wants to solve web development problems with smart JavaScript. It does not assume any prior knowledge of JavaScript programming; however even if you already know some JavaScript, there will be plenty for you to learn here.

Want to learn more information about Object-Oriented JavaScript: Create scalable, reusable high-quality JavaScript applications and libraries?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...

Professional JavaScript for Web Developers (Wrox Programmer to Programmer) Review

Professional JavaScript for Web Developers (Wrox Programmer to Programmer)
Average Reviews:

(More customer reviews)
Are you looking to buy Professional JavaScript for Web Developers (Wrox Programmer to Programmer)? Here is the right place to find the great deals. we can offer discounts of up to 90% on Professional JavaScript for Web Developers (Wrox Programmer to Programmer). Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Professional JavaScript for Web Developers (Wrox Programmer to Programmer) ReviewThis is currently my favorite book on JavaScript.
Zakas doesn't pull any punches. It took me a while to work through some of the chapters, primarily Chapter 5 (Reference Types), Chapter 6 (Object-Oriented Programming) and Chapter 18 (Advanced Techniques) because of the difficulty of the material. This is a good thing: the difficulty is due to the sometimes non-intuituve aspects of JavaScript (i.e., function binding and currying), not to any possible failure on the part of the author. His command of his material is evident in his ability to explain these difficult techniques, which can seem overwhelming at first blush. I really like that he doesn't insult his reader's intelligence by sticking with the easier-to-understand aspects of JavaScript but covers the most advanced JavaScript topics thoroughly. I expect to be challenged when reading a book on JavaScript, and taking time to work through the examples by stepping through them in Firebug is well worth it and what I look forward to doing. I don't like when I can read a book and not have to touch a keyboard to understand the material.
I especially love the chapter on OO programming and how he breaks down each OO pattern. He starts with the most basic example of inheritance and works up to the best-case scenario, always giving the pros and cons of each pattern along the way and when each pattern could be employed. In doing so, he provides an invaluable service to those who want to understand how libraries are engineered. I remember when I first was looking at the source code for a particular library, and I was completely baffled by what I saw. For example, I would often see this:
MyClass.superclass.constructor.call(this);
There was no explanation to what this esoteric statement was doing. Now, after reading the book (actually, at the time it was the first edition of the book), I understand that this is known as constructor stealing or object masquerading, and I now know that it's used to inherit instance properties. I had many, many moments like this, and now when I look at source code I can intelligently follow it and understand its intent.
This book empowers the reader with new knowledge. This is especially important when more and more I encounter front-enders who feel that knowing jQuery is knowing JavaScript. I remember when I first began looking at JavaScript libraries I was completely overwhelmed; from that moment I resolved to learn the JavaScript language inside and out if I could. Then, I'd go back to the libraries. Well, that has paid off in spades now, and I feel completely comfortable working in any library knowing what they're doing under the hood (and I have worked with several at different jobs). In fact, I write my own library in my spare time, and I never could have begun to do that or understand how to do that without books like this one and others.
I also love how Zakas gives the back-history to all the subjects he covers. Knowing where stuff came from is important, even if I would never use it. For example, I never knew there were HTML methods, and if I were to have come across them in the legacy code that I support I would've thought that they were user-defined methods. Now I know better. Knowledge is power.
I work on a team composed of Java developers, and this book has helped me to better communicate with them. I love how Zakas talked about how the Array methods can act as data structures. That's very important for a book to cover. Giving comparisons to other languages and emphasizing the similarities and how one language can translate to another is another way that this book has empowered me. It's much easier for me now to convey ideas to my teammates when I can express things like, "JavaScript doesn't have block-level scope like you're used to, but that's what anonymous functions are doing and that's why you see them here...", etc.
Lastly, the expanded chapter on Best Practices is invaluable. I've already employed them in my own work and have gotten the wheels in motion to do what I can at work (gzipping and including compression in our build process).
If you're left a little or a lot puzzled about prototypal inheritance, closures and OO programming in general, get a copy of this book and devote time to it. You'll walk away completely confident that there isn't anything out there that you can't figure out, as I did.
P.S. I suggest reading this book cover-to-cover, even if you feel like that doesn't apply to you. Zakas is very thorough in disseminating lesser-known aspects of both core and client-side JavaScript. In fact, there's so much that I'm going back for a second-helping.
Professional JavaScript for Web Developers (Wrox Programmer to Programmer) OverviewProfessional 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.


Want to learn more information about Professional JavaScript for Web Developers (Wrox Programmer to Programmer)?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...

Eloquent JavaScript: A Modern Introduction to Programming Review

Eloquent JavaScript: A Modern Introduction to Programming
Average Reviews:

(More customer reviews)
Are you looking to buy Eloquent JavaScript: A Modern Introduction to Programming? Here is the right place to find the great deals. we can offer discounts of up to 90% on Eloquent JavaScript: A Modern Introduction to Programming. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Eloquent JavaScript: A Modern Introduction to Programming ReviewA concise and balanced mix of principles and pragmatics. I loved the tutorial-style game-like program development. This book rekindled my earliest joys of programming. Plus, JavaScript!
/beEloquent JavaScript: A Modern Introduction to Programming Overview
"A concise and balanced mix of principles and pragmatics. I loved the tutorial-style game-like program development. This book rekindled my earliest joys of programming. Plus, JavaScript!" -Brendan Eich, creator of JavaScript

JavaScript is the language of the Web, and it's at the heart of every modern website from the lowliest personal blog to the mighty Google Apps. Though it's simple for beginners to pick up and play with, JavaScript is not a toy—it's a flexible and complex language, capable of much more than the showy tricks most programmers use it for.

Eloquent JavaScript goes beyond the cut-and-paste scripts of the recipe books and teaches you to write code that's elegant and effective. You'll start with the basics of programming, and learn to use variables, control structures, functions, and data structures. Then you'll dive into the real JavaScript artistry: higher-order functions, closures, and object-oriented programming.

Along the way you'll learn to:

Master basic programming techniques and best practices
Harness the power of functional and object-oriented programming
Use regular expressions to quickly parse and manipulate strings
Gracefully deal with errors and browser incompatibilities
Handle browser events and alter the DOM structure

Most importantly, Eloquent JavaScript will teach you to express yourself in code with precision and beauty. After all, great programming is an art, not a science—so why settle for a killer app when you can create a masterpiece?


Want to learn more information about Eloquent JavaScript: A Modern Introduction to Programming?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...

Pro JavaScript Techniques Review

Pro JavaScript Techniques
Average Reviews:

(More customer reviews)
Are you looking to buy Pro JavaScript Techniques? Here is the right place to find the great deals. we can offer discounts of up to 90% on Pro JavaScript Techniques. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Pro JavaScript Techniques Review§
"Pro JavaScript Techniques" is definitely for experienced and advanced scripters. The level of abstraction is high in this treatment of the latest trends of JavaScript. If you are looking for ready-made scripts to solve some specific problem in your site or application, you are looking for a different sort of book.
If you have ever gone to Douglas Crockford's site to learn about advanced concepts in JavaScript, and withdrew dazed and abused by his obtuse examples -- but with a conviction that there was something valuable to learn there -- this book is for you.
The author states, and I agree, that understanding Chapter 2, "Object Oriented JavaScript" is the key to the puzzle. "The phrase object-oriented JavaScript is somewhat redundant, as the JavaScript language is completely object-oriented and is impossible to use otherwise. However, a common shortcoming of most new programmers is to write their code functionally without any context or grouping."
The chapter contains a clear exposition of what the author means by "context or grouping." In fact, his concise but relevant example code to explain the distinction between privileged methods and static methods lit up all sorts of light bulbs in my head...Finally! :-)
Be aware that the author's approach has a particular bias in that it is often directed at the *programmer* coming into Web scripting. The idea is to make the JavaScripting world appear more like the programming languages already known. You learn "how to go about writing a variety of object-oriented code to suit anyone coming from another programming language."
This is a great book -- but not for all.
§Pro JavaScript Techniques OverviewJavaScript 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.

Want to learn more information about Pro JavaScript Techniques?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...

JavaScript Patterns Review

JavaScript Patterns
Average Reviews:

(More customer reviews)
Are you looking to buy JavaScript Patterns? Here is the right place to find the great deals. we can offer discounts of up to 90% on JavaScript Patterns. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

JavaScript Patterns ReviewIt's often difficult to find good intermediate to advanced technical books that help you get over the hump. This is most definitely one of those books, IMO, along with Javascript: The Good Parts by Crockford and High Performance JavaScript by Zakas.
If you're a beginner, even an ambitious beginner, such as an experienced programmer in another language, you don't want to start here. For beginners, I'd recommend Zakas (Javascript for Web Developers) as the most complete introduction to Javascript, the DOM and browser scripting; or Simply JavaScript from Sitepoint for a gentler introduction that emphasizes the separation of structured content (HTML), presentation (CSS) and behavior (scripting the DOM with Javascript).
OTOH, if you're more or less comfortable with core Javascript and the DOM but want to clarify and explore the many idiosyncracies and fine points of JS, this book really hits the sweet spot. The table of contents is available on Amazon or O'Reilly, so I won't recap it - but will avow that Stefanov both chooses his topics and covers and organizes his material very well. This is a precisely and well-written book, and the reader will infer that there must have be a lot of experience, previous history and discussions behind these 200+ pages. I've read the blogs of the majority of his technical reviewers and believe you're in good hands here. I'm really lovin' this book. The only caveat - don't expect a lot on browser scripting. However, I'd be surprised if the somewhat experienced, but non-ninja, Javascript programmer did not significantly take his/her knowledge to a higher level after reading JavaScript Patterns.JavaScript Patterns Overview
What's the best approach for developing an application with JavaScript? This book helps you answer that question with numerous JavaScript coding patterns and best practices. If you're an experienced developer looking to solve problems related to objects, functions, inheritance, and other language-specific categories, the abstractions and code templates in this guide are ideal -- whether you're writing a client-side, server-side, or desktop application with JavaScript.

Written by JavaScript expert Stoyan Stefanov -- Senior Yahoo! Technical and architect of YSlow 2.0, the web page performance optimization tool -- JavaScript Patterns includes practical advice for implementing each pattern discussed, along with several hands-on examples. You'll also learn about anti-patterns: common programming approaches that cause more problems than they solve.

Explore useful habits for writing high-quality JavaScript code, such as avoiding globals, using single var declarations, and more
Learn why literal notation patterns are simpler alternatives to constructor functions
Discover different ways to define a function in JavaScript
Create objects that go beyond the basic patterns of using object literals and constructor functions
Learn the options available for code reuse and inheritance in JavaScript
Study sample JavaScript approaches to common design patterns such as Singleton, Factory, Decorator, and more
Examine patterns that apply specifically to the client-side browser environment


Want to learn more information about JavaScript Patterns?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...