Re: OO DB in PHP?
| From: | Manuel Lemos | Date: | Thu, 02 Jun 2005 18:26:01 +0000 |
| Subject: | Re: OO DB in PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-216257@lists.php.net to get a copy of this message | ||
Hello,
on 06/02/2005 12:37 PM GamblerZG said the following:
When you have objects stored on disk, it's usually very convenient to read them on demand. However, MySQL is clearly not meant for this purpose. Query overhead, complexity of SQL needed, and some other limitation make object storage and retrieval a headache.Not if you use an efficient object-relational tool. You may want to take a look at Metastorage. This is a tool that generates efficient persistent object classes from a model definition in a simple XML format of classes, variables, relationships, validation rules, functions to manipulate the objects. Then Metastorage generates classes of persistent objects that perform the necessary object-relational mapping that you can use right away in your applications. It supports its own Object Query Language (OQL) so you can express object search and filter conditions, that may include parameter values passed to your persistent object classes at runtime. Metastorage compiles the OQL expressions into efficient SQL that is embedded into the generate PHP code of the persistent object classes. You may find all about Metastorage here: http://www.meta-language.net/metastorage.html Screenshots of the Web interface of Metastorage compiler http://www.meta-language.net/screenshots.html Documentation with tutorials and examples http://www.meta-language.net/documentation.html#metastorage Download http://www.meta-language.net/download.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