将模型和逻辑封装为可重用的组件。
我个人倾向于将所有的数据访问逻辑封装到这个类中。
Personally I like the idea of keeping all the data access logic encapsulated in that class.
实际的业务逻辑封装在位于应用程序框架顶端的应用程序代码中。
The actual business logic is encapsulated in the application code that is layered on top of the application framework.
应用推荐