Step 2 : Related tutorials
Step 3 : front end
Step 4 : J2EE Way
Step 5 : SSM Way
Step 6 : Springboot Way
Step 7 : vue + springboot
Step 1 :
What is fore-and-aft separationedit
Understand the concept of front and rear end separation , We must first find out what is wrong The front and rear ends are separated .
In traditional practice , For example servlet, springmvc,struts, tomcat Will run in the background Java code , Then generate... In the background all-out html code , Then pass http The agreement put html Transfer the code to the browser .
The problem with this is ：
1. When running in the background , If you need to connect to many databases, you can find the required data , So this preparation html The process will be slow , Generated at the same time html Also relatively large , Users may feel slow .
2. The coupling degree of front and rear end development is also very high , Sometimes we have to wait for each other , In this way, the development efficiency of both sides is reduced .
So what is the concept of front and rear end separation ？ html The content of the page can be simply regarded as Including the data part and not including the data part . So first prepare a... That does not contain data html, Pass it to the browser , The speed itself will be very fast , Because there is no database operation that takes the most time . Then pass Ajax Technology , Just get... From the server “ Pure data ”, Then display the pure data in html Go ahead .
The benefits of this ：
1. Even the background database takes more time , But the user experience is also better than the previous way , Because users will see some pages first , See the data later , It's better than waiting in circles on a blank page .
2. The back end only provides data , Therefore, the coupling between front and rear end development is reduced a lot , The overall development efficiency can be greatly improved .
Step 2 :
The station continuously provides front and rear end separation realized by various technologies , But it's scattered , Many students mistakenly think that they have not provided relevant tutorials , This knowledge point summarizes these tutorials of separation of front and back ends , Convenient for everyone to learn .
The front part needs to master ： AJAX and JSON
There are... Before and after interaction 3 A kind of implementation ： J2EE, SSM and Springboot.
Step 3 :
Step 4 :
Step 5 :
Step 6 :
Step 7 :
vue + springbootedit
The official account of programming , Follow and get the latest tutorials and promotions in real time , thank you .
Q & A area
Please... Before asking questions land