FreeMarkerテンプレートエンジン【Velocityよりずっとまし】 (100レス)
上下前次1-新
1(1): 1 2005/07/05(火)08:21 ID:??? AAS
内容:
FreeMarkerは、Java用としては現時点で最強のテンプレートシステム。
Velocityなんか目じゃないぐらい、簡単、高機能、高性能(最大で約2倍速い)。
WebWork2もVelocityからFreeMarkerに乗り換えた。
本家
外部リンク:freemarker.sourceforge.net
特徴
外部リンク[html]:freemarker.sourceforge.net
Velocityとの比較
外部リンク[html]:freemarker.sourceforge.net
省3
2: 2005/07/05(火)09:45 ID:??? AAS
ハッシュドビーフ
3: 2005/07/05(火)15:37 ID:??? AAS
Velocityとの比較を見てると、Velocityってそんなこともできなかったのねと思ったりするが、なぜこの板なのかという疑問は解消できない。
4: What is FreeMarker? [FreeMarkerって何よ?] 2005/07/08(金)01:35 ID:??? AAS
What is FreeMarker?
FreeMarkerって何よ?
FreeMarker is a "template engine"; a generic tool to generate text
output (anything from HTML to autogenerated source code) based on
templates. It's a Java package, a class library for Java programmers.
It's not an application for end-users in itself, but something that
programmers can embed into their products.
FreeMarkerとは、テンプレートに基づいてテキスト出力(HTMLからソースコード
まで何でも)を生成する汎用のツール、つまり「テンプレートエンジン」です。
FreeMarkerはJavaパッケージ(Javaプログラマーのためのクラスライブラリ)で
省2
5: 2005/07/08(金)01:42 ID:??? AAS
FreeMarker is designed to be practical for the generation of HTML Web
pages, particularly by servlet-based applications following the MVC
(Model View Controller) pattern. The idea behind using the MVC pattern
for dynamic Web pages is that you separate the designers (HTML authors)
from the programmers. Everybody works on what they are good at.
Designers can change the appearance of a page without programmers having
to change or recompile code, because the application logic (Java
programs) and page design (FreeMarker templates) are separated.
Templates do not become polluted with complex program fragments. This
separation is useful even for projects where the programmer and the HMTL
省14
6: 2005/07/08(金)01:50 ID:??? AAS
Although FreeMarker has some programming capabilities, it is not a
full-blown programming language like PHP. Instead, Java programs prepare
the data to be displayed, and FreeMarker just generates textual pages
that display the prepared data using templates.
FreeMarkerはいくらかのプログラミング機能を持っていますが、PHPのような本
格的なプログラミング言語ではありません。表示すべきデータはJavaプログラム
で用意し、FreeMarkerはそのデータからテンプレートを用いてテキストベースの
ページを生成するだけです。
Overview of FreeMarker workflow
FreeMarkerによるワークフローの概観
省2
上下前次1-新書関写板覧索設栞歴
あと 94 レスあります
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル
ぬこの手 ぬこTOP 0.015s