From 50853ea4a6811879a26458e495c46149f7af5313 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 28 Nov 2006 19:04:57 +0000 Subject: add description about PDO installation. --- demos/quickstart/protected/pages/Database/DAO.page | 3 +++ 1 file changed, 3 insertions(+) (limited to 'demos') diff --git a/demos/quickstart/protected/pages/Database/DAO.page b/demos/quickstart/protected/pages/Database/DAO.page index 44da10d5..ec16aec5 100644 --- a/demos/quickstart/protected/pages/Database/DAO.page +++ b/demos/quickstart/protected/pages/Database/DAO.page @@ -7,6 +7,9 @@ Data Access Objects (DAO) separates a data resource's client interface from its

Since version 3.1, PRADO starts to provide a DAO that is a thin wrap around PHP Data Objects (PDO). Although PDO has a nice feature set and good APIs, we choose to implement the PRADO DAO on top of PDO because the PRADO DAO classes are component classes and are thus configurable in a PRADO application. Users can use these DAO classes in a more PRADO-preferred way.

+
Note: +Since the PRADO DAO is based on PDO, the PDO PHP extension needs to be installed. In addition, you need to install the corresponding PDO driver for the database to be used in your application. See more details in the PHP Manual. +

The PRADO DAO mainly consists of the following four classes (in contrast to PDO which uses only two classes, PDO and PDOStatement):

-- cgit v1.2.3