Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
PHP Independent of database - How?

Posted by admin (Graham Ellis), 22 July 2002
API designers are often in a quandry when they're called on to provide an interface to a number of competing products that each has its own feature set. On one hand, they'll wish to provide good
support for all the products to which they interface, but on the other, they'll want to provide a consistency that leads to portability. This can be achieved by supporting only a common subset of
functionallity.

PHP as standard includes a different API (different functions) to support each of the flavours of relational database that it can be used with, allowing users the maximum of power from each database,
but reducing portability.

Portability can be added by using a wrapper library. There is also an open source wrapper library available, called ADOdb, that's gaining great popularity at present. Many of its conventions are
similar to ADO, so it should be easier for Windows programmers to use too.



This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2014: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho