摘要
当前使用的数据库都是关系数据库,借助于集合代数等概念来处理其中的数据,当采用面向对象的方式进行开发时,一般做法是将底层的数据库操作封装起来,以面向对象的方式为开发者提供业务的接口,使开发者从繁琐的对底层数据库的操作转为对业务接口的调用。笔者介绍了利用DAO与ORM设计并实现一个适合Android手机的通用数据访问框架的过程。
The current use of databases are relational databases,with the help of the concept of set algebra to process the data,when using object-oriented approach to develop,the general approach is to encapsulate the underlying database operations,objectoriented way for developers to provide business interface,so that developers from the cumbersome operation of the underlying database into a business interface calls.The author introduces the process of using DAO and ORM to design and implement a common data access framework for Android phones.
作者
吴昊
Wu Hao(Hainan College of Foreign Studies,Wenchang Hainan 571321,China)
出处
《信息与电脑》
2017年第21期115-116,119,共3页
Information & Computer