Treffer: Mastering JavaScript Object-Oriented Programming

Title:
Mastering JavaScript Object-Oriented Programming
Authors:
Resource Type:
eBook.
Database:
eBook Index

Weitere Informationen

About This BookCovering all the new Object-Oriented features introduced in ES6, this book shows you how to build large-scale web appsBuild apps that promote scalability, maintainability, and reusabilityLearn popular Object-Oriented programming (OOP) principles and design patterns to build robust appsImplement Object-Oriented concepts in a wide range of front-end architecturesWho This Book Is ForThis book is ideal for you if you are a JavaScript developer who wants to gain expertise in OOP with JavaScript to improve your web development skills and build professional quality web applications.What You Will LearnMaster JavaScript's OOP features, including the ones provided by ES6 specificationIdentify and apply the most common design patterns such as Singleton, Factory, Observer, Model-View-Controller, and Mediator patternsUnderstand the SOLID principles and their benefitsImplement SOLID principles in JavaScript in order to create robust, flexible, and maintainable codeAvoid the global scope pollution by creating namespaces and organize JavaScript code into reusable unitsApply the creational design patterns in your applicationsExploit duck typing technique in order to define contracts between objects and simulate the classical OOP interfaceDesign applications using a modular architecture based on SOLID principlesIn DetailECMAScript 6 introduces several new Object-Oriented features that drastically change the way developers structure their projects.Starting with a comprehensive overview of OOP principles in JavaScript, you will learn how they can be implemented to build sophisticated web applications. Kicking off with a subtle refresher on objects, we'll show you how easy it is to define objects with the new ES6 classes and will take you through some essential OOP principles, forming a base for you to get hands-on with encapsulation.You'll get to work with the different methods of inheritance and understand how to avoid using inheritance with duck typing. From there, we'll move on to some advanced patterns for object creation and you'll get a strong idea of how to use interesting patterns to present data to users and to bind data. We'll use the famous promises to work with asynchronous processes and teach you how to create robust code using SOLID principles. Finally, we'll show you how to clearly define the goals of your application architecture to get better, smarter, and more effective coding.