Main functions
Graphic verification code function based on captcha, which can be flexibly configured;
Based on the memcached cache system, it can be used to build high-concurrency projects;
Strictly follow the MVC system and reasonably separate the database system, program coding system, and front-end page interaction;
Based on the freemarker template, use HTML pages with appropriate tags to replace cumbersome JSP pages;
The persistence layer uses Mybatis, which is close to native and eliminates functions such as consuming system resources and low performance at the database level;
The entire project uses LOG4J2 as the log framework, including console output, recording to files, sending email reminders for serious errors, and recording logs to the database;
Images, videos, and attachments are uploaded and saved in cloud storage to improve browsing speed, security, and stability;
A complete administrator permission system assigns permissions to specific roles, and then assigns administrators a series of roles for system management;
The blog supports the cover image function, which is no longer monotonous text;
The framework's underlying package is regularly upgraded to ensure performance while preventing system losses due to underlying vulnerabilities;
Supports visitor comments, administrators can reply;
Based on the scheduled task function of scheduling, you can configure a task to be turned on or off in the background (no longer tedious to configure in an XML file), and record the execution of each scheduled task in detail;
Based on the system operation monitoring function of Alibaba druid, the database, connection pool, transactions, visits, concurrency, and number of people online can be viewed online at any time, making it easy to quickly analyze system performance and bottlenecks;
Integrating the WeChat public account function, WeChat users can directly view the latest blog posts and search blog posts, and administrators can simply send photos and videos to the public account to quickly publish blog posts;
Maintenance by a professional team, regular upgrades and the launch of more features. Please stay tuned to the official website for more excitement, and we also look forward to your valuable opinions.
database
s2mBlog uses Mysql as database storage. It is recommended to use 5.0 or above. The database connection pool uses Alibaba's druid connection pool. It also provides database operating environment monitoring, SQL monitoring, transaction monitoring and other functions.
Memcached caching
The project integrates the memcached caching function, which can directly implement method-level caching (it can directly return cached data at the method level without executing the program within the method, greatly improving system performance)
System background
The backend is built based on the Bootstrap framework, with an independent and complete backend management system. It is configured with a system log function implemented using LOG4J2, a scheduled task framework, and unified and standardized order number generation specifications (such as quickly generating unique order numbers in a high-concurrency, distributed environment, Serial number, etc.)