Chapter 10. An Object-Oriented JavaScript Programming Primer

It is more than likely that, as shown in the previous chapters, you will heavily rely on JavaScript to build your web applications. Over time, client-side scripting has become an ever more crucial tool for developers, with the progress of hardware, the evolution of expectations, and, recently, new APIs that bring the most desirable functionality to web content.

However, this language, to be efficiently used, requires that the developer understands some of its specificities, such as weak typing and its object model. We will explain the object-oriented programming part, which should help you bring more modularity to your programs, encapsulate some APIs to make their use more flexible and ...

Get Beginning iPhone and iPad Web Apps: Scripting with HTML5, CSS3, and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.