06. Architecture overview - Summary,
Architecture overview - Summary,
Angular has modular approach, because of
that, application which we have develop using angular has a clear structure.
Angular has feature of components, so there are reusable code are in angular (Newer angular is completely based on components.
It consists of several components forming a tree structure with parent and
child components.).Angular has a lot of inbuilt
capabilities such as validation, routing etc which will helpful to development
quicker and easier. Easy to do the unit test.
- Modules – one or more components and services. Modules interact and ultimately render the view in the browser.
- Services – Business logic (Service is a basically a class which contain the business logic of the application.)
- Components – html + class(Each component has html template to resent the view in the browser and a class that controls the logic of that view)
Within any component components we can see,
Template View HTML, Class Typescript
Code, Metadata Information Decorator
Components are building blocks of an angular application. There are 3 ways to specify to the selector for a component.
........................ 01 ........................
........................ 02 ........................
........................ 03 ........................
Comments
Post a Comment