Asp.net,ibatis for. Net,daofactory Data representation in web development
Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
asp.net|web| Data Summary:
This article discusses the combination of asp.net,ibatis,daofactory on web development data representation, showing how each layer in asp.net development organizes data.
IBatis for. NET is a powerful and functional SQL Map tool, not an ORM tool. It is mapping the SQL statement to a. NET object, and combining this. NET object with the data in the ASP.net page (the asp.net of page datasource I call Formbean bar (not the same concept as the Formbean in Java) This will be achieved. NET class for maximum reusability and flexibility.
Daofactory is also ibatis for. NET provides a component. The implementation class used to dynamically configure the DAO interface, so that when business requirements are changed, the DAO implementation can be changed only through XML without recompiling the program.
So for such a framework:
1. The Web layer is Formbean to display and retrieve data.
2. The business layer is represented by a ibatis mapped. NET class.
3. The DAO layer is represented by the. NET class mapped by the Daofactory language Ibatis.
So the entire structure can be represented by the following diagram:
In this framework, the. NET class, mapped by Ibatis's SQL map, is used as the PO and VO in this architecture. And this. NET class is also an important component of Formbean.
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.