Reply to Re: Pear::DB, mysqli Is is Portable?

Your name:

Reply:


Posted by Manuel Lemos on 09/09/05 05:03

Hello,

on 09/08/2005 03:43 PM webguynow said the following:
> related ?: If there are no public hosts supporting MySQL5 and prepared
> statements, how long will we have to wait to use this functionality ?
> I did see 1 host using MySQL5 -Ensim
> http://www.newista.com/ensimhosting.html

You do not need to use MySQL 5 to use prepared queries. Several database
abstraction packages provide support for prepared queries even with MySQL 3.


> I'm wondering how portable/transparent the DB platform is, expecially
> if I code using alot of the prepared statement(PS) API and then end up
> on a Host only supporting MySQL4.
>
> executeEmulateQuery() I'm reading some code to see if this really does
> allow the DB PS API to work with MySQL4. more later ...

Prepared queries are not exactly meant to provide portability. Also PEAR
DB does not provide true portability because it is not aware of
different database data types.

If you are looking for a truly portable database abstraction package,
you may want to try Metabase. It supports prepared queries even for BLOB
types. It is aware of the different data types and performs the
necessary data type conversions between PHP types and the underlying
database types. It supports the types: integer, text, date, time,
timestamp, float, decimal, binary LOBs (AKA BLOBs) and character LOBs.

http://www.phpclasses.org/metabase


--

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация