In ASP.NET development, under normal circumstances, the front-end program of the website does not use the .NET control mode, and the performance is improved. The development method of .NET controls is more conducive to improving development efficiency and improving module reusability, but the disadvantage is that there will be some loss in performance. For example, without data binding, obviously there is no need to judge the data source and convert the data type, and there is no need for page controls. and control events, etc., thus avoiding the use of ViewState. In addition, .NET controls often pursue complete functions. When you only need some functions, a large amount of useless code will also drag down performance. Based on the above considerations, Fangbi website template engine chose another A template approach.
FangPage Template, also referred to as FPT, is a template engine (Template Engine) technology based on ASP.NET. It was born for agile WEB application development and simplified enterprise application development. It allows anyone to define or reference objects defined in .NET code using only a simple HTML-like template language (Template Language). When FPT is applied to Web development, interface designers can develop a Web site that follows the MVC architecture simultaneously with program developers. That is to say, page designers can only focus on the display effect of the page, while program developers focus on business logic coding. . FPT separates the .NET program code from the Web page, which facilitates the long-term maintenance of the Web site. It also provides us with an alternative to the traditional .NET control mode design.
Compared with traditional WebForm and MVC development, FPT maintains the separation of graphic design and application logic, and also provides a more manageable method, allowing users to create ASP.Net dynamics only by understanding basic HTML code. Website, webmasters can easily master how to modify and design the interface. More importantly, it also includes a high-end, highly integrated, and consistent development framework, making it easier for users to understand and develop.
Expand