--- title: 'Spring Boot 後端概念沒有Code ' disqus: hackmd --- ###### tags: `SpringMVC` Spring Boot CRUD Example with Spring MVC – Spring Data JPA – ThymeLeaf - Hibernate - MySQL === [TOC] ## 初階後端的核心 將資料從前端(HTML)送往後端資料庫,將資料從資料庫傳送到(HTML) ## What we build 在網頁上面有一個表格,他顯示的資料來自於資料庫, 並且你可以在上面做出新增,刪除,修改,這三個動作 查詢這件事已經被寫死了,每次都是秀出所有的東西 ## 後端大致流程會很像這張圖  ## 每個套件的用途 |模組 | 用途 | | --------------- | ------------------- | | Spring Data JPA | 跨資料庫讓你不用寫SQL的新增刪除修改 | | ThymeLeaf | 讓後端(SpringbootAPP)和前端互動(HTML) | ## keyQuestion 1. 如何讓JAVA和MySQL連線 2. 如何把前端的資料傳送到後端 ## 參考連結 [CRUD with JPA](https://www.codejava.net/frameworks/spring-boot/spring-boot-crud-example-with-spring-mvc-spring-data-jpa-thymeleaf-hibernate-mysql#Database) [Java JDBC CRUD Tutorial](https://www.codejava.net/java-se/jdbc/jdbc-tutorial-sql-insert-select-update-and-delete-examples) [JDBC Examples for Calling Stored Procedures (MySQL)](https://www.codejava.net/java-se/jdbc/jdbc-examples-for-calling-stored-procedures-mysql) [One Punch 一拳搞定前後端面試 系列](https://ithelp.ithome.com.tw/users/20129169/ironman/2985)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up