course management system
1.0.0
The project has been greatly changed, including that:
team
+- high5
+- CourseManagementSystemApplication.java
|
+- domain
| +- Admin.java
| +- Student.java
| +- ...
+- repository
| +- AdminRepo.java
| +- ...
+- service
| +- AdminService.java
| +- ...
+- web
| +- AdminController.java
| +- ...
The roles of certain package are listed below:
Package/Class | Responsibility | Description |
---|---|---|
CourseManagementSystemApplication.java | Startup class | The launch class of the project |
domain | Data layer | Transferring data among layers |
repository | Database logic | Database access |
service | Business layer | Process business logic |
web | Presentation layer | The views/UI |
The project started at model classes mixed the data and the logic before which broke the MVC principle so that I divided them into domain
and service
package which are responsible for data and logic respectively. In addition, as the requirement of the project, the project introduced MySQL database and Spring Boot framework to build an integrated web-based system.
There are still some problems in the project so that we need to keep refactoring it.
service
package.). For this part, what you need to do are:
XYZService.java
class and XYZServiceImpl.java
class. (e.g., StudentService.java
and StudentServiceImpl.java
) which are interface and implementation class pair.XYZRepo.java
(e.g., StudentRepo.java
) to access database.XYZService.java
(e.g., CourseService.java
)Chenglong Ma
10 May. 2018