Re: [PHP] Re: Data Access Object (DAO) with PHP
Thank you for DAO class that you recommended to me. I would like to read the Pear and Metalstorage documentation ( tried it) first before deciding which one I would like to use ;) -- === Best Regards Adwin Wijaya www.kuya-kuya.net www.e-rhema.net === -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Data Access Object (DAO) with PHP
Hi, do you mean ADODB? PEAR::DB? or DBX ? Adwin Wijaya : Hi, Is there any mature DAO class for PHP (free) ? thx -- -- ShenKong (shenkong(at)php.net) -- http://www.openphp.cn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Data Access Object (DAO) with PHP
Hi, mybe you mean PDO: http://pecl.php.net/package/PDO http://www.zend.com/expert_qa/qas.php?id=93single=1 http://www.zend.com/expert_qa/qas.php?id=98single=1 Adwin Wijaya : Shen Kong wrote: Hi, do you mean ADODB? PEAR::DB? or DBX ? -- more advance than that i think. It is a class that will be created to access database as object like the one in Java. -- -- ShenKong (shenkong(at)php.net) -- http://www.openphp.cn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Data Access Object (DAO) with PHP
Adwin Wijaya wrote: Hi, Is there any mature DAO class for PHP (free) ? http://pear.php.net/DB_DataObject Greg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Data Access Object (DAO) with PHP
Hello, Adwin Wijaya wrote: Is there any mature DAO class for PHP (free) ? You may want to check Metastorage. It is not really a DAO class but rather a DAO class generator. It tends to generate code that is much more efficient than DAO base classes as the generated code only includes the features that you need for each DAO class in your data model, and any static details are compiled as optimized code instead of parameters that will consume CPU and memory to compute. For instance, you do not need to build your queries at run time. These are just compiled into the generated code, even those that need to take dynamic parameters defined at run time. It is like calling stored procedures. The way Metastorage works is letting the developer describe your data model of classes in a simple XML format with variables, relationships, validation rules and the type of functions that you need to manipulate your data objects. Once you have defined your data model, the compiler (which is actually a bunch of PHP classes) builds everything that you need in a few seconds. The generated code is very compact and independent as it does not need any part of the compiler to run in your applications. http://www.meta-language.net/metastorage.html Here are also some screenshots of the compiler Web interface GUI, Web forms to interface with sample project generated classes, and UML diagram of generated classes: http://www.meta-language.net/screenshots.html -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Data Access Object (DAO) with PHP
Shen Kong wrote: Hi, do you mean ADODB? PEAR::DB? or DBX ? -- more advance than that i think. It is a class that will be created to access database as object like the one in Java. -- === Best Regards Adwin Wijaya www.kuya-kuya.net www.e-rhema.net === -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php