High-level framework

A naming convention
1. Project Name: Not required, can not afford to Chinese
2. Package: domain name company to write down the com.bjsxt
3. Data Access Layer: DAO, the persist, Mapper
4. entity: entity, model, bean, javabean , pojo
the business logic:-service, BIZ
6. the controller: controller, the servlet, Action, Web
7. the filter: filter
8. the exception: exception
9. the listener: listener
10. the Note:
documentation comments on the methods and classes 10.1 / ** * /
10.2 in which method the / * * / or //
11. categories: large hump
12. the method attributes: a small hump

Two .MVC Development Mode
1. M: Model model, and a business entity classes and DAO
2. V: View View .JSP
3. C: the Controller controller, the servlet
3.1 role: logically separate views and
4. MVC application scenarios: large projects development.
5. FIG example
5.1 to design database
5.2 to write the entity class
5.3 persistence
5.4 business logic
5.5 control
5.6 views

Three .SSM learning framework

    3.1MyBatis: data access layer frame
    3.2Spring frame: the IoC, the AOP
    3.3SpringMVC frame: Package for Servlet

Published 34 original articles · won praise 4 · views 10000 +

Guess you like

Origin blog.csdn.net/leng15183596537/article/details/104298591