Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Java では、クラス、インターフェイス、パッケージ、メソッド、変数、および定数の命名規則があります。JSF XHTML ページの命名規則があるかどうか疑問に思っています。
ここに私の頭に浮かんだいくつかの変種があります:
MyPage.xhtml
myPage.xhtml
my-page.xhtml
mypage.xhtml
小文字で始まるキャメルケースが適切です。モジュール/サブページ/サブ要素を区別するためにハイフンを使用します。
例えば:
正式な規則ではありませんが、うまく機能します。フラグメントやサブ機能をモジュール化または識別できると便利です。