Books
Stoyan Stefanov

Object-Oriented JavaScript

In DetailOnce 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.
Create scalable and reusable high-quality JavaScript applications and libraries using the concepts of object-oriented programming
Who this book is forThe 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.
328 printed pages

Related books

Impressions

    👍
    👎
    💧
    🐼
    💤
    💩
    💀
    🙈
    🔮
    💡
    🎯
    💞
    🌴
    🚀
    😄

    How did you like the book?

    Sign in or Register

Quotes

    Mladen Radivojevichas quoted5 months ago
    If you call Date() without new, you get a string representing the current date, whether or not you pass any parameters.
    Stefan Stankovićhas quoted10 months ago
    The browser is the most popular host environment
    Александр Пироженкоhas quotedlast year
    Here's how to modify multiplyByTwo() so that it accepts a callback function and invokes callback on every iteration:

    function multiplyByTwo(a, b, c, callback) {
    var i, ar = [];
    for(i = 0; i < 3; i++) {
    ar[i] = callback(arguments[i] * 2);
    }
    return ar;
    }
    By using the modified function, the whole work is now done with just one function call, which passes the start values and the callback.

On the bookshelves

    Liudmila Vasnetsova
    JavaScript
    • 13
    • 21
    Bogdan Ruptash
    JS
    • 9
    • 3
    Maksim Loginov
    Learning Javascript
    • 5
    • 3
    Nexile
    JS
    • 17
    • 2
    Charles Møller
    Technology
    • 27
    • 1
fb2epub
Drag & drop your files (not more than 5 at once)