FreeMarkerテンプレートエンジン【Velocityよりずっとまし】at PHPFreeMarkerテンプレートエンジン【Velocityよりずっとまし】 - 暇つぶし2ch■コピペモード□スレを通常表示□オプションモード□このスレッドのURL■項目テキスト21:FreeMarker vs. Velocity 05/07/14 02:42:51 [ Name-spaces ] * You can use multiple name-spaces for variables. This is invaluable when you build "macro libraries", because you can prevent name collisions with application specific variables or with variables of other macro libraries. [ 名前空間 ] * 変数の名前空間を複数使用することができます。 この機能により、アプリケーション固有の変数や他のマクロが使用する変数との名前の衝突を防ぐことができるため、 "マクロライブラリ"を作るときはたいへん重宝します。 22:FreeMarker vs. Velocity 05/07/14 02:43:14 [ Java-independent string, list, and map manipulations with built-in functions/operators ] * You can turn a string upper-, lower-, or title-case, turn upper-/lowercase only the first letter, convert (escape) the string to HTML, XML, or RTF, extract substrings, split strings, query string length, find/replace substring, ...etc. * Access elements of lists by index, extract sublists, concatenate lists, query size of a lists, sort lists. * Access map elements by variable key, check if the map is empty, obtain the key or value list. [ Javaと独立した、文字列やリストやマップを操作するための組み込みの関数や演算子 ] * 文字列を大文字/小文字にしたり、title-caseにしたり〔訳注:Camel Caseのこと?〕、 最初の文字だけを大文字/小文字にしたり、HTMLやXMLやRTF用に特殊文字をエスケープしたり、 部分文字列を取り出したり、分割したり、長さを調べたり、部分文字列を検索したり置き換えたり、 ・・・などができます。 * リストの要素に添え字でアクセスしたり、部分リストを取り出したり、複数のリストを結合したり、 長さを調べたり、ソートしたりできます。 * マップの要素にキーでアクセスしたり、空かどうか調べたり、キーや値をリストとして取り出したりできます。 次ページ最新レス表示レスジャンプ類似スレ一覧スレッドの検索話題のニュースおまかせリストオプションしおりを挟むスレッドに書込スレッドの一覧暇つぶし2ch