Re: Database abstraction layer for WinBinder: Yes or no?

From: Date: Tue, 26 Oct 2004 10:17:05 +0000
Subject: Re: Database abstraction layer for WinBinder: Yes or no?
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-1537@lists.php.net to get a copy of this message
IMO WinBinder should focus on the GUI stuff; getting into databases will distract and dilute your extension. PHP already has an ODBC extension, as well as a PDO driver for ODBC (which is in some aspects superior to the existing ODBC extension, although not as mature). --Wez. On Mon, 25 Oct 2004 17:20:10 -0200, Rubem Pechansky <pechansky@hypervisual.com> wrote: > Hi all, > > I have another interesting question for you. One of the principles for this > project is to encapsulate complex Windows things. In the beginning assumed > that it should do the same with databases. Another advantage is that this > method will isolate programmers from MySQL (but not prevent them to use it > if they want to, of course). So I started to create a database abstraction > layer or library (DAL) for WinBinder. However I know that many users don't > like DALs. So what do you think? Should WinBinder... > > 1) ...use an existing DAL like ADOdb and maintain the original > class/function names? > 2) ...use an existing DAL and mask the class/function names with WB-like > functions e.g. wb_create_record()? > 3) ...create a new DAL with WB-like functions e.g. wb_create_record()? > 4) ...ignore databases and let each user choose whether to use or not a DAL?

« previous php.pecl.dev (#1537) next »