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.

  • 相关阅读:
    Linux 搭建SVN server
    GREENPLUM简单介绍
    监听手机录音
    Java NIO与IO的差别和比較
    元数据驱动思考实例分析
    jQuery推断复选框是否勾选
    BitBlt介绍
    Android灭亡论之Firefox OS操作系统出现
    CEGUI添加自定义控件
    IFrame和Ajax比較
  • 原文地址:https://www.cnblogs.com/winderby/p/7006918.html
Copyright © 2011-2022 走看看