Personal blog [design] framework and plug-papers

Outline

Rear : Maven+ Springboot+ springsecurity+ mybatis+ jpa+ redis+ druid+ lombok+ pagehelper
distal : editor.md+ amazeui+ thymeleaf+ uni-app+colorui

1, the rear end of the frame

1.1、Maven

Maven项目对象模型(POM),可以通过一小段描述信息来管理项目的构建,报告和文档的项目管理工具软件。Maven 除了以程序构建能力为特色之外,还提供高级项目管理工具。由于 Maven 的缺省构建规则有较高的可重用性,所以常常用两三行 Maven 构建脚本就可以构建简单的项目。由于 Maven 的面向项目的方法,许多 Apache Jakarta 项目发文时使用 Maven,而且公司项目采用 Maven 的比例在持续增长。--------百度词条

Overall, maven is a pure Java under Apache open-source development project, it is a management tool for managing our projects, we write Java project can be build, dependency management. Especially springboot project uses maven in a java project can greatly improve our development efficiency.

1.2、springboot

说起springboot就要从spring的框架说起了,Spring框架是由于软件开发的复杂性而创建的。Spring使用的是基本的JavaBean来完成以前只可能由EJB完成的事情。然而,Spring的用途不仅仅限于服务器端的开发。从简单性、可测试性和松耦合性角度而言,绝大部分Java应用都可以从Spring中受益。

the Spring:
◆ Objective: To address the complexity of enterprise application development
◆ function: instead of using the basic JavaBean EJB, and provides more enterprise applications
◆ Range: Any Java application

And springboot, it's goal is to simplify the springcreation, development and deployment of applications and services, simplifies the configuration file, use the embedded web server, contains a lot of micro-services out of the box, can and spring cloudjoint deployment.
spring bootThe core idea is greater than the agreed configuration, application requires very little configuration to simplify the application development model, used springbootall know, springbootthe vast majority are automatically configured, and we need to do is to configure one of them small parts, you can achieve the functionality we need to implement.

1.3、springsecurity

In the project, we will inevitably use the security components, and for spring and springboot projects, springsecurity is a very good choice.
Spring Security, Which is based on Spring AOPand security framework Servlet filter. It provides comprehensive security solutions while at the Web request processing stages and methods call-level identification and authorization. This tutorial on using Spring Security will be a more comprehensive overview.
spring securityThe core features include: authentication, authorization, attack protection
if you need to use more than springsecurity went to use it.

It is noteworthy that in the frontend thymeleafwhen engine template we can use thymeleaf-extras-springsecurity5to display the front end.

1.4、mybatis

MyBatis 本是apache的一个开源项目iBatis, 2010年这个项目由apache software foundation 迁移到了google code,并且改名为MyBatis 。2013年11月迁移到Github。------百度词条

MyBatis is an excellent Java-based persistence framework that supports custom SQL, stored procedures and advanced mappings. MyBatis avoids almost all JDBC code and manual setting parameters and obtaining the result set. MyBatis can use simple XML configuration and mapping annotations or native types, interfaces and Java POJO (Plain Old Java Objects, plain old Java object) is recorded in the database.

The difference MyBatis and JPA

1.5、jpa

JPA and mybatis are the same as java persistence framework. In mybatis speaking, jpa has its own method of operation compared to the database, so no need to write your own sql statement. Of course, some complex queries still need to write your own.

The difference MyBatis and JPA

1.6, repeat

Redis is an open source (BSD license), the data structure stored in the memory system that can be used as a database, cache and messaging middleware. In general we often use as a cache to redis, and other functions not often used.
REmote DIctionary Server (Redis) is written by Salvatore Sanfilippo of key-value storage systems.

Redis is an open source use written in ANSI C, BSD comply with the agreement and support network, based on the persistence of memory can log type, Key-Value database, and provides multi-lingual API.

It is often called a data structure of the server, since the value (value) can be a string (String), Hash (the Hash), a list (List), set (sets), and an ordered collection (sorted sets) and other types.

2, the front end of the frame

2.1, editor.md and towxml

editor.md is a domestic open source online Markdown editor, embeddable online Markdown editor (assembly), based CodeMirror, jQuery and Marked building.
In this project, I use it as MD and html conversion.

pc-use display editor.md
micro channel applet end use towxml

2.2, amazeui and colorui

Amaze UI is a lightweight (after all CSS and JS gzip about 100 kB), front-end framework Mobile first, the preparation of the open source community based on the popular front-end framework (using reference list of items).

Amaze is the main ui pc end use.
Applet end use is colorui

2.3, thymeleaf

Thymeleaf is a modern server-side Java template engine web and independent environment.

The main goal is to bring Thymeleaf elegant natural template for your development workflow - HTML, can be correctly displayed in the browser, it can be used as a static prototype, allowing the development team collaboration more powerful.

Sentence description: thymeleaf; syntax is simple and powerful.

2.4, college app

uni-app is a development framework Vue.js use all front-end application developers to write one set of code, you can publish to iOS, Android, H5, and a variety of small programs (micro-channel / Alipay / Baidu / headlines / QQ / nails ) and other platforms.


Author

1, author site
2, author CSDN
3, author blog Park
4, by Jane books

Guess you like

Origin www.cnblogs.com/lomtom/p/12345646.html