2019 --- based on class-based micro-channel canteens applet ordering delivery system design concept [] (11)

Day 11: (1) complete logical layer collaborators

              (2) improve the canteen details page

Tomorrow's plan: (1) improve the model database

                 (2) find a reason to write about food index, starting view layer design

Today Summary: The main logical layer Restaurant details page and collaborators get rid of today, primarily the callback function database access, looks like the main function execution is over, with the implementation of the callback function and main function the following function, this problem is a callback function performs too slowly, rendering the view layer has been finished, the data callback function has not been a good job. The easiest is to first setdata, the preservation value.

                  opendata components directly obtain user avatar nickname.

                 Secondly, when writing logic layer, database model found design seems not reasonable, the property looks incomplete. But now we have to operate the database, still want a solution. In addition, like if there are two partners chose the same record at the same time, looks like there is no solution, it will cause chaos database.

             There are food index or need, today suddenly think it looks like not.

Today, the problems exposed a bit more, a little at a loss, do not know how to handle. And recently, it seems to a lot of peer pressure [suddenly find me last night, fear of social true feelings: good party! Did I do something wrong?

To see so many problems will be a little comfort! Although it is difficult, but wanted to go on with the idea, then a few days before the collapse! [Today's achievement chart: it is the main code

                                                 

 

 

Guess you like

Origin www.cnblogs.com/wtx2333/p/11431959.html