Darkness Before the Dawn

It has been two weeks since I entered the Network Center, and I have gained a lot of unexpected happiness here, and I have also paid a lot of sweat, which makes me have a little understanding of MVC.

At the beginning, I made a "V" (view) to display data (database records), used Mysql to make a simple user table, wrote the names and passwords of several members, and made a simple login page with HTML (The template downloaded from the Internet), many freshman web pages have forgotten the design content, and the database has just started to come into contact this semester, so this is the only way. Then I made a simple "M" (model) in myeclipse to represent the core of the application (such as a database record list) , and I also understood the benefits of layering. At that time, my layers were "user", "service", "bean" , "dao", each layer is assigned related work (code), which looks very comfortable and convenient when modifying. Finally, use "C" (controller) to process input (write database record) to connect the previous two functions. On the night of 2015.10.24, everyone showed their works separately, which is quite a memorable event.

I feel that I have lived a very fulfilling life recently, and I have slowly found the direction of struggle.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325444478&siteId=291194637