In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the relevant knowledge of "what are the knowledge points of Jspxcms secondary development". The editor shows you the operation process through actual cases, the operation method is simple and fast, and it is practical. I hope this article "what are the knowledge points of Jspxcms secondary development" can help you solve the problem.
As a general website content management system, it can only meet most of the needs as much as possible, but it is difficult to meet all the needs, so it is necessary to redevelop the system. For some public secondary development programs can be made into plug-ins, provided to other developers or customers to use.
The application types of CMS are very rich and varied, and different websites have different needs, so whether the secondary development (plug-in development) is simple and fast is an important index to evaluate the advantages and disadvantages of Internet.
Jspxcms non-intrusive secondary development (plug-in development), without modifying the original system code, can integrate Entity, Service, Controller, function menu, permissions, tags, internationalization and other functions. The module can be added by copying the plug-in file to the system, and the module can be removed by deleting the plug-in file from the system.
Learning this tutorial requires basic knowledge of Java, JSP, Spring, SpringMVC, Spring-Data-JPA, Spring-Boot, JPA, Shiro, etc.
The "plug-in-resume management" in the system (hereinafter referred to as "this example") is realized in this way. The following is to explain the method of Jspxcms plug-in and secondary development with "resume management".
Configuration file directory
/ src/main/resources/conf/plugin/plug
The following documents are available:
Backend.xml: background Controller configuration file
Conf.properties: configuration files such as foreground template Freemarker tag, internationalization file directory, etc.
Context.xml:Spring profile
Menu.yml: background menu and permission profile
Source code directory
/ src/main/java/com/jspxcms/plug
The following packages are available:
Domain: entity class Entity
Repository: database operation class Dao
Service: service class Service
Web.back: background Controller
Web.fore: front desk Controller
Web.directive:FreeMarker tag class
Background JSP file
/ src/main/webapp/WEB-INF/views/plug
The jsp file directory for this example is resume
Foreground template file
In this example, the template file for applying for a position is / src/main/webapp/template/1/default/plug_resume.html.
International document
/ src/main/resources/messages/plugin/plug background internationalization file
/ src/main/resources/messages/plugin/plugfore foreground internationalization file
To edit and view internationalization files, install the Properties Editor plug-in for Eclipse. Otherwise, you can't see Chinese, you can only see codes such as\ u5217\ u8868, and enter Chinese directly when editing, and the page will appear as garbled.
This is the end of the content about "what are the knowledge points of the secondary development of Jspxcms". Thank you for your reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.