Book Image

Mastering Angular 2 Components

By : Gion Kunz
Book Image

Mastering Angular 2 Components

By: Gion Kunz

Overview of this book

<p>Through this book, you will learn how to use Angular 2 and its component-based architecture in order to develop modern user interfaces. A new holistic way of thinking about UI development will be established throughout this book, and you will discover the power of Angular 2 components through many examples. This book is based on Release Candidate 1(RC1) of Angular 2.</p> <p>On this journey, you'll discover the benefits of component-based user interfaces over the classical MVC design. Also, you will get a chance to compare a classical MVC with a component-based approach and understand the challenges of modern user interfaces. You will learn the very basics of the required core technologies and the setup needed to get going with Angular 2, and progressively enhance your understanding of Angular 2 components by working on the example application.</p> <p>After reading the book and following the example application, you will have built a small-to-mid-sized application with Angular 2 using a component-based UI architecture.</p>
Table of Contents (19 chapters)
Mastering Angular 2 Components
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Plugin architecture


At a higher level, a plugin architecture should fulfil at least the following requirements:

  • Extensibility: The main idea behind plugins is to allow the extension of the core functionality using isolated bundles of code. A great plugin architecture allows you to extend the core seamlessly and without noticeable performance losses.

  • Portability: Plugins should be isolated enough so that they can be plugged into the system during runtime. There shouldn't be a necessity to rebuild a system to enable plugins. Ideally, plugins can even be loaded at any time during runtime. They can be deactivated and activated and should not cause the system to run into an inconsistent state.

  • Composability: A plugin system should allow the use of many plugins in parallel and allow an extension of the system by compositing multiple plugins together. Ideally, the system also includes dependency management, plugin version management, and plugin intercommunication.

There are a lot of different approaches...