1, the continuation of the concept of MVC: including the programming of the route map, controller content, specific view page JS separation.
2, combined with ANGULARJS to do the front end, the back end uses the syntax of node. js to introduce the MVC framework for rapid development.
The steps are summarized as follows:
1, view page modification, folder name, file name, name of the case specification, in the base folder in the Main.ejs file remember to register.
Note the use of angular.js for front-end page writing, and the corresponding page code writing, related angular. The collection of JS usage.
2, the view corresponding JS file writing, folder name, file name, name of the case specification and the specific JS writing, in the static\js\modules set up the corresponding JS file,
Note that you can configure the menu in Navigation.js if you need to configure the menu at the same time.
Note $ajax. Post, the specific writing of $ajax. Get needs to be enhanced.
3, in the controller to write the corresponding controller code, note folder naming, file name, and name +controller.
In the file, you need to write a specific route map of the registration, and the corresponding action point or code, and the rules of the filter also need to join.
4, the corresponding need to carry out the contents of the overall package can be presented as early as possible.
5, need to be in Basecontroller base controller, add specific page of modules page registration.
6.