fastm(Java)
fastmfastm -- fast template. Java Port of PHP Fast Template. Emulate JDynamiTe (a sf project). fastm Advantage: Template stands alone from the Parametter Setting part. Template can be safely reused by multiple threads to generate page at any time. Among all the Java Template Techs I know, I believe fastm is the best way in all aspects—fast, easy to use, flexible, and powerful. I hope fastm will solve the painful Page Generation problem and will be popular among the Java programmers of the world.
Homepage: https://fastm.dev.java.net/
fastm 1.0 Milestone 发布
fastm 以前的 1.0 alpha 版本 https://sourceforge.net/projects/fastm fastm 1.0 Milestone 发布在java.net上。 https://fastm.dev.java.net/ 增强了很多功能。因为转移到java.net上,所以原来的package 名字 net.sf.fastm,改成 net.fastm. 在“Documents and Files”.可以下载 https://fastm.dev.java.net/servlets/ProjectDocumentList ...
Fastm设计思路深度剖析
1.PHP(&Fastm)把文档切割为简单的DOM结构 PHP模板的设计思路非常漂亮,用注释里的Begin和End把HTML(WML,或任何XML)页面切割成不同的块,而且块里面还可以继续切块。 这样一来,一个页面被切割成一个树结构,很象DOM结构。只是DOM结构太过笨重,对每一个元素都要建立一个节点,而且节点的类型非常复杂。比如,一个HTML DOM结构,有多少种HTML元素,就...
变革性的Java Web模板技术
1.“简单就是美”空想(响)曲 在软件设计领域中,有一句脍炙人口的至理名言??简单即美好。 几乎所有的软件设计大师,都会在其著作中训导读者: “简单即美好”, “Keep it simple, Stupid”, “Less is more”, ….. 这是一条耳闻能详,人人都会说的至理名言。 但实际上,这也是一...