| |||||||||||
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 goodsupport 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.
|
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho |