zoukankan      html  css  js  c++  java
  • Architecture

    Architecture Overview

    Modules

    Angular apps are modular and Angular has its own modularity system called Angular modules or NgModules.

    Every Angular app has at least one Angular module class, the root module, conventionally named AppModule.

    Components

    component controls a patch of screen called a view.

    Templates

    You define a component's view with its companion template.

    Metadata

    Metadata

    Metadata tells Angular how to process a class.

    Data binding

    As the diagram shows, there are four forms of data binding syntax. Each form has a direction — to the DOM, from the DOM, or in both directions.

    Directives

    Angular templates are dynamic. When Angular renders them, it transforms the DOM according to the instructions given by directives.

    Services

    Service is a broad category encompassing any value, function, or feature that your application needs.

    Dependency injection

    Dependency injection is a way to supply a new instance of a class with the fully-formed dependencies it requires.Most dependencies are services. Angular uses dependency injection to provide new components with the services they need.

  • 相关阅读:
    Spring boot 请求接口404
    Windows下安装Redis
    利用maven的profiles灵活的配置多环境
    各个JSON技术的比较
    常用工具软件
    Java方法 传值方式
    JVM内存模型
    spring-task解决定时问题
    quartz Cron表达式解读
    maven 常用命令
  • 原文地址:https://www.cnblogs.com/winderby/p/7006918.html
Copyright © 2011-2022 走看看