What is Freemaker

Source: Internet
Author: User
It is a Java package, a class library for Java programmers. It is not an application for end users in itself, but rather allows programmers to embed it in their products. Freemarker is designed to generate HTML Web pages, especially applications based on the MVC (model View Controller) pattern. The idea of using the MVC pattern as a Dynamic Web page is to separate the page designer (HTML Designer) from the programmer: Everyone does the part that they are good at. Designers can change the way the page looks without changing or modifying the code, because the application logic (Java program) and the page design (freemarker template) are separate. Templates are not broken by complex, cumbersome program frameworks. This separation is useful even when the programmer of a project and the creator of the HIMTL page are the same person, because it helps keep the application clear and easy to maintain. Although Freemarker has some programming capabilities, it is not a mature programming language like PHP. Unlike Java, where Java programs prepare data for display (such as SQL queries), Freemarker only generates a text page that displays the preliminary data for the template. Freemarker is not a Web application framework and is better suited to act as a component in a Web application framework, but the Freemarker engine itself does not care about HTTP or servlets, it is simply generating text. It also shows the perfect use in a non-web application environment. However, it is worth noting that we provide a convenient solution for using freemarker, and as a view component of the MODEL2 framework (such as struts), you can also use JSP tags in the template. Freemarker is free and has bsd-style Licenseservlet running in java-enabled Web server.  Java Servlets can dynamically extend the capabilities of the server and provide Web services in a request-response pattern. The first to support servlet technology is the JavaSoft Java Web Server. Since then, some other Java-based Web servers have started to support the standard

What is Freemaker

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.