CQ Development - Guidelines and Best Practices を自分理解用のために意訳。
- ページの新しいタイプを作るために存在しているテンプレートを再利用する。
- 新しいページには paragraph system (parsys/iparsys) を使う。
- アクセス権を定義します。paragraph systems のデザインモード。権限が割り当てられた人のみ編集できるように。
- Define the components allowed in the given paragraph system so that editors can then place the required components ont he page. In our case it could be a list component, which can traverse a subtree of pages and extract the information according to predefined rules.
- Editors add and configure the allowed components, on the pages they are responsible for, to deliver the requested functionality (information) to the business.
CQ をベースにした開発者たちは使うべきだ。
- 均一性や商標保護のための paragraph system 設計へのテンプレートやアクセスコントロール
- 柔軟性に対する設定オンションを含めた paragraph system
以下に記載する開発者への一般的なルールは、通常のプロジェクト大部分で意味を成す。
- テンプレート数を少なくする - Webサイト上で根本的に異なるページ構造を少なくする
- カスタムコンポーネントに必要な柔軟性と構成機能を提供すること
- CQ paragraph system (the parsys & iparsys components) のパワーと柔軟性を最大限に活用
注意
/libs
の中は何も 変更してはいけません。
設定や他の変更を行うためには
/libs
のアイテムを/apps
にコピーする/apps
内で任意の変更を行う
JCR クエリは
- コンテント上のフルテキスト検索のようなエンドユーザの実際の検索
セキュリティチェックリストも合わせて見る価値があります。
ユーザセッションを使うべきで、管理セッションを使うべきではない。
- トラフィックは SSL を利用して暗号化する
- 可能ならば HTTP POST を利用する
エラーページはカスタマイズ出来る。インターナルサーバエラーのトレイスを明らかにしてはいけない。