Book Image

Object-Oriented JavaScript - Third Edition

By : Ved Antani, Stoyan STEFANOV
5 (1)
Book Image

Object-Oriented JavaScript - Third Edition

5 (1)
By: Ved Antani, Stoyan STEFANOV

Overview of this book

JavaScript is an object-oriented programming language that is used for website development. Web pages developed today currently follow a paradigm that has three clearly distinguishable parts: content (HTML), presentation (CSS), and behavior (JavaScript). JavaScript is one important pillar in this paradigm, and is responsible for the running of the web pages. This book will take your JavaScript skills to a new level of sophistication and get you prepared for your journey through professional web development. Updated for ES6, this book covers everything you will need to unleash the power of object-oriented programming in JavaScript while building professional web applications. The book begins with the basics of object-oriented programming in JavaScript and then gradually progresses to cover functions, objects, and prototypes, and how these concepts can be used to make your programs cleaner, more maintainable, faster, and compatible with other programs/libraries. By the end of the book, you will have learned how to incorporate object-oriented programming in your web development workflow to build professional JavaScript applications.
Table of Contents (25 chapters)
Object-Oriented JavaScript - Third Edition
About the Authors
About the Reviewer
Customer Feedback
Built-in Functions
Regular Expressions


React is taking the JavaScript world by storm. Facebook created the react framework to solve an age-old problem-how to deal efficiently with the view part of the traditional Model-View-Controller applications.

React provides a declarative and flexible way to build user interfaces. The most important thing to remember about react is that it deals with only one thing-the view, or the UI. React does not deal with data, data bindings, or anything else. There are complete frameworks, such as Angular, that deal with data, bindings, and UI; React is not that.

React gives a template language and a small set of functions to render HTML. React components can store their own state in memory. To build a full-fledged application, you will need other pieces as well; React is just to handle the view part of that application.

A big challenge when writing complex UI is to manage state of the UI elements when the model changes. React provides a declarative API so that you don't have to worry about exactly...