免费视频淫片aa毛片_日韩高清在线亚洲专区vr_日韩大片免费观看视频播放_亚洲欧美国产精品完整版

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費(fèi)電子書(shū)等14項(xiàng)超值服

開(kāi)通VIP
What is FreeMarker?

FreeMarkeris 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 anapplication for end-users in itself, but something that programmers canembed into their products.

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 patternfor 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 programmershaving to change or recompile code, because the application logic (Javaprograms) and page design (FreeMarker templates) are separated.Templates do not become polluted with complex program fragments. Thisseparation is useful even for projects where the programmer and theHMTL page author is the same person, since it helps to keep theapplication clear and easily maintainable.

Although FreeMarker has some programming capabilities, it is nota full-blown programming language like PHP. Instead, Java programsprepare the data to be displayed (like issue SQL queries), andFreeMarker just generates textual pages that display the prepared datausing templates.

FreeMarker is nota Web application framework. It is suitable as a component in a Webapplication framework, but the FreeMarker engine itself knows nothingabout HTTP or servlets. It simply generates text. As such, it isperfectly usable in non-web application environments as well. Note,however, that we provide out-of-the-box solutions for using FreeMarkeras the view component of Model 2 frameworks (e.g. Struts), which alsolet you use JSP taglibs in the templates.

 FreeMarker is Free, with BSD-style license. It is OSI Certified Open Source Software. OSI Certified is a certification mark of the Open Source Initiative.  



Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1607835

本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開(kāi)APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
spring
SpringBoot靜態(tài)化
FreeMarker特性
freemarker加載模板
java利用freemarker生成html靜態(tài)頁(yè)面
[Python]Basic wiki in 0.3
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服