Skip to content

Instantly share code, notes, and snippets.

@yujiokayama
Last active October 7, 2018 02:11
Show Gist options
  • Select an option

  • Save yujiokayama/b5d6fc78919d196b1227e3fcf77426e7 to your computer and use it in GitHub Desktop.

Select an option

Save yujiokayama/b5d6fc78919d196b1227e3fcf77426e7 to your computer and use it in GitHub Desktop.
■コンポーネント
ページを構成するUI部品の事
1つ以上のコンポーネントでページは構成される
例)
・ヘッダー
・サイドバー
・メインコンテンツ
・フッター
コンポーネント
=============================
・ディレクティブ
・パイプ
・データバインディング
・HTMLテンプレート
=============================
■モジュール
アプリの構成部品を束ねる部品の事
アプリは1つ以上のモジュールで構築される
=============================
・コンポーネント
・サービス
・パイプ
・ディレクティブ
=============================
■バインディング
コンポーネントとテンプレート(ビュー)を紐付ける為の仕組み
■ディレクティブ
文章ツリーの操作ができる
テンプレート(ビュー)に対して
ifやforなどのステートメント操作できる仕組み
■パイプ
テンプレート(ビュー)のデータを加工/整形する為の仕組み
■サービス
他のコンポーネントでも使い回せるように共通化する仕組み
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment