Object-Oriented Javascript

Once listed in the "nice to have" sections of job postings, these days, the knowledge of JavaScript is a decisive factor in hiring a web developer. And rightly so. When used in the past occasionally have a few lines of JavaScript code embedded in a web page, now we have advanced libraries and extensible architectures, feeding the "fat-client", AJAX-type rich Internet applications.
JavaScript is the language of the browser, but is also used in many other settings: the server side programming, desktop applications, applications and extensions of widgets. It is a very good deal: you learn one language and then code all kinds of different applications. While this book has a chapter dedicated to the environment, including web browser DOM, events, tutorials and AJAX, and the rest applies to all other environments too.
This book deals with JavaScript as a serious object-oriented language, showing how to build strong, sustainable 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, he prepared his work as JavaScript and impress with a series of bits that the interviewer maybe did not know. You should read this book if you want to be able to take their JavaScript skills to a new level of sophistication.
What you learn in this book?
* Learn to think in JavaScript, the language of the Web browser
* The basic principles 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
* Understand the functions use patterns, variables and built-in functions
* Closures demystified
* Create and use objects
* Understand and use prototypes
* Reuse code with common patterns of inheritance
* Understand and work with the BOM (Browser Object Model)
* The DOM (Document Object Model) - access, modify, add and remove nodes
* Create web sites comply with AJAX
* JSON (JavaScript Object Notation)
* Listen and respond to events browser
* Apply design patterns to solve common problems
* Adopt coding patterns that unleash the unique power of the tongue
* Make your programs cleaner, faster and more compatible with other programs and libraries
* Achieve missing object oriented features in JavaScript such as private properties and methods
Who is this book written?
The book requires no prior knowledge of JavaScript and works from the ground up to provide a solid foundation in this powerful language. If you already know some JavaScript, you'll find a lot of open your eyes as you discover just what the language can do.
This book is a do-it-yourself approach when writing code, as the best way to learn a programming language is writing the code. We encourage you to write code in the Firebug console, see how it works, and then , modify and play with him. There are practice questions at the end of each chapter to help review what you've learned.
About the Author
Stoyan Stefanov is a Yahoo! web developer, Zend Certified Engineer, author of the book, and contribute to the international PHP community.Stoyan is the address of Yahoo engineering tool for optimizing the performance YSlow ', as well as other open source tools and' PEAR 'libraries.

0 comments: