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.

  1.  Angular app – one or more modules.
  2. Modules – one or more components and services. Modules interact and ultimately render the view in the browser.
  3. Services – Business logic (Service is a basically a class which contain the business logic of the application.)
  4. 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

Popular posts from this blog

02. Spring – Creating spring project clone it with GIT step by step.

02.What is MicroService?

06.Mongo DB - Query part 2 (Aggregation)