- 授权协议: 未知
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://code.google.com/p/hapax/
软件介绍
Hapax 是一个Java的简单文本模板,特别适合用来在 Java 程序中生成文本信息。语法和 Google 的 ctemplate 类似。Hapax 不依赖现有的 web 框架,使用在 servlet 或者服务端应用程序中使用。
使用示例:
package com.xfltr.hapax.examples;
import com.xfltr.hapax.Template;
import com.xfltr.hapax.TemplateDictionary;
import com.xfltr.hapax.TemplateException;
class HelloWorldExample {
public static void main(String[] args) throws TemplateException {
Template tmpl = Template.parse("Hello, {{WORLD:h}}");
TemplateDictionary dict = TemplateDictionary.create();
dict.put("WORLD", "Iapetus");
System.out.println(tmpl.renderToString(dict));
}
}
Rework
Jason Fried、David Heinemeier Hansson / Crown Business / 2010-3-9 / USD 22.00
"Jason Fried and David Hansson follow their own advice in REWORK, laying bare the surprising philosophies at the core of 37signals' success and inspiring us to put them into practice. There's no jarg......一起来看看 《Rework》 这本书的介绍吧!
