Questions about php and DAO

Source: Internet
Author: User
Regarding the php and DAO issues, I crossed the php + dao keyword. it seems that there is not much such information. I searched the jar and did not find the result. I don't know the one who actually used DAO + php to share some experience. ------ Solution -------------------- If you want to use DAO, you usually need to use interfaces for abstract operations. PHP can also be done, and I also use it in actual development. However, no mode exists independently in terms of php and DAO.
The keyword "php + dao" is skipped. it seems that there is not much such information. I searched the jar and did not find the result. I don't know the one who actually used DAO + php to share some experience.

------ Solution --------------------
If you want to use DAO, you usually need to use interfaces for abstract operations.
PHP can also be done, and I also use it in actual development.

However, no mode exists independently in the system,
We recommend that you refer to the J2EE Design mode for lz.
The model should be implemented in PHP, and the general module should be clear.

The design pattern is not restricted by the language, or is it better to understand DAO in the traditional OOP language and transfer it to php.
------ Solution --------------------
Learning .. Top
------ Solution --------------------
This DAO is not the same as DAO.

DAO (Data Access Objects) in VB is a set of function libraries used to operate databases. it was later replaced by ADO (similar acronyms invented by Microsoft include ODBC and MDAC, etc, is also a major feature of Microsoft)

The DAO (Data Access Object) in the Design mode is a Design policy of OO Design, used to abstract and encapsulate Access to the Data source.
See http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html
------ Solution --------------------
Discussion
This DAO is not the same as DAO.

DAO (Data Access Objects) in VB is a set of function libraries used to operate databases. it was later replaced by ADO (similar acronyms invented by Microsoft include ODBC and MDAC, etc, is also a major feature of Microsoft)

The DAO (Data Access Object) in the Design mode is a Design policy of OO Design, used to abstract and encapsulate Access to the Data source.
See http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html

------ Solution --------------------
Alas, Bangding ................................................


------ Solution --------------------
Dao = Data Island concept. A bit of data warehouse taste ~
Is the high abstraction of data operations.

As an open-source object, the self-writing class is still good .~
------ Solution --------------------
By the way, help me solve this problem. thank you)
Http://topic.csdn.net/u/20081015/11/b8a41991-407d-43b8-8fb9-7ddddcb8888a.html

------ Solution --------------------
Learning
------ Solution --------------------
If dao estimation is used, the result is reduced. Net

Contact Us

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: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.