Alibaba hierarchical domain model statute

[Reference] hierarchical domain model statute:

  • The DO ( the Data Object ) : This object correspondence table structure database by DAO up the transport layer data source object.
  • The DTO ( the Data Transfer Object ) : data transfer object, -Service or Manager transmitted outwardly objects.
  • BO ( the Business Object ) : business objects, the Service objects encapsulate the business logic of the output layer.
  • AO ( the Application Object ) : application objects in Web layer and the Service abstraction layer between object model reuse, very close to the presentation layer, reusability is not high.
  • VO ( View Object ) : display layer object, usually Web rendering engine to the transmission layer template object.
  • Query : query object data, the upper layers receiving a query request. More attention than 2 parameters of the query package, prohibit the use Map class transmitted. 

 

Guess you like

Origin www.cnblogs.com/tanshuai1001/p/11094541.html