Re: [Vfs-devel] class.DBI progress + new structure
Status: Alpha
Brought to you by:
eesa
From: Tony K. <tk...@ca...> - 2000-06-11 01:18:37
|
----- Original Message ----- From: "Abdul-Wahid Paterson" <ee...@we...> To: "VFS Developement" <vfs...@li...> Sent: Saturday, June 10, 2000 8:32 PM Subject: [Vfs-devel] class.DBI progress + new structure > Hi, > > I have ported the vfs_auth, db_wrapper and header to use class.DBI. Also, I > have changed some of the main features over to use class.DBI. The rest is > still broken until I can complete the transfer. > > I have also rearranged the code. You will find things here: > > lib/ > - header.inc.php3 > > lib/db/ > - db_wrapper.inc.php3 > - pg_wrapper.inc.php3 > - class.DBI > - class.DBD::Pg > > lib/auth/ > - vfs_auth.inc.php3 > > config/ > - config.inc.php3 > > > Note: > > 1. I have change the .inc files to be called .inc.php3 This is because it is > more secure as the webserver can read the .php3 because they don't return any > text. The .inc files are returned as text by Apache. I blocked this before > using mod_rewrite but since we don't want to use mod_rewrite any more this is > a better way of doing it. > > 2. db_wrapper loads pg_wrapper for Postgres specific functions. It loads > class.DBI which in turn loads class.DBD::Pg. > > 3. I have made a couple of minor changes to class.DBD::Pg and I may make some > more. One thing $sth->rows didn't work. Also, loads of white space (see > previous mail) had to be trimmed out. I might edit it further because > transaction support isn't there. I know mySQL doesn't do transactions but > Postgres needs them for BLOBs. Just a quick note on the above item. I'll comment on the other stuff later tonight or tomorrow. The Latest versions of MySQL support Transactions now. But it's purely optional. Just a note. The standard Atomic operations will do perfectly though. > > > Question: > > 1. Where should we put things that end users might want to edit like header > html and footer html? > 2. I think we should think of allowing different language interfaces. How are > we going to do that? > 3. Where should the button bar inc file go? > > > > See ya, > > > > AW > > > > > _______________________________________________ > Vfs-devel mailing list > Vfs...@li... > http://lists.sourceforge.net/mailman/listinfo/vfs-devel > |