back_end

back_end study notes

SpringBoot

  1. SpringInitializr : you can log in the spring website to contribute your own SpringApplication , and download the xml profile to contribute , it's an official Spring tool used for contribute Spring Application
  2. Spring : IOC & AOP
    • IOC:
    • AOP:
  3. Junit : a library be used to test
  4. RESTFUL API :
  5. Spring framework :
  6. spring-boot-starter-actuator : monitoring system health :

SpringMVC

  1. Model , version , controller:
    • three-layer framework
    • model/entity : match with data in tables , the lombok is usually used
    • controller : only deal with service , one controller can use many services' method
    • service : provide methods for controller
    • mapper/Dao : JPA/Mybatis used for data persistence

TDD

  • TDD : Test-Driven Development

Mybatis

  1. Mybatis is a semi-automatic ORM structure , ORM(object relational mapping)
  2. DAO : help to store data to databases

Database design

ubuntu

  • an open source linux operating system

nginx

  • a web server

paging

  • to solve a lot of data
  • logic paging
  • physical paging:
    • can use self-contained method,such as mysql's limit. But default is cannot migrate to other database
posted @ 2023-02-18 16:41  五一路  阅读(21)  评论(0)    收藏  举报