FreeMarkerテンプレートエンジン【Velocityよりずっとまし】at PHPFreeMarkerテンプレートエンジン【Velocityよりずっとまし】 - 暇つぶし2ch■コピペモード□スレを通常表示□オプションモード□このスレッドのURL■項目テキスト25:FreeMarker vs. Velocity 05/07/14 03:11:46 ] * Beside the usual string, number, and boolean literals you can define list and map literals as well inside templates. * There is a support for all Java string literal escapes: \b, \t, \n, \f, \r, \", \', \\, also we support \xXXXX to specify characters with their UNICODE code. [ リテラル ] * 通常の文字列リテラルや数値リテラルや真偽値リテラルと同様に、リストやマップのリテラルを 定義してテンプレート中に含めることができます。 * Javaの文字列で使用できるエスケープ文字はすべて使用可能です:\b、\t、\n、\f、\r、 \"、\'、\\、およびユニコードの文字を表す\xXXXXが使えます。 26:FreeMarker vs. Velocity 05/07/14 03:12:24 [ Advanced white-space removal ] * FreeMarker consistently removes white-space (spaces, tabs and line-break) from lines that contain non-outputting FreeMarker tags only, thus eliminates most annoying, obviously superfluous white-space. * There are directives to explicitly trim lines from needless white-space, just for the extreme cases, when white-space is a real problem. [ 高度なホワイトスペース除去機能 ] * FreeMarkerは、出力用ではないFreeMarkerタグのみを含む行から、ホワイトスペース (空白、タブ、改行)を取り除きます。これにより、いつも悩みの種となる、 明らかに余計であるようなホワイトスペースはなくなります。 * 極端なケースですが、ホワイトスペースが現実の問題となった場合には、 不必要なホワイトスペースを行から明示的に削除するディレクティブを使うこともできます。 次ページ最新レス表示レスジャンプ類似スレ一覧スレッドの検索話題のニュースおまかせリストオプションしおりを挟むスレッドに書込スレッドの一覧暇つぶし2ch