[Vfs-devel] (no subject)
Status: Alpha
Brought to you by:
eesa
From: Tony K. <tk...@ca...> - 2000-07-25 02:13:20
|
Well this message is a little later than I said it would be. That's the bad thing about your company letting you work at home. Sometings you forget when to stop working and your work through the entire weekend when you should have been in NJ visiting your girlfriend... Or maybe I'm the only one with this problem :) Anyway, I looked over the code and noticed that all of the PGSQL based database code is still in the main files. Things like the transaction code. This isn't a problem for the MySQL code since it now supports transactions (however minimal the support may be). But other servers don't support that. I thought we were going to do a db_wrapper.php file for each database and have all the db calls from there. So we would have pg_db_wrapper.php, mysql_db_wrapper.php .. etc.. and in each file there would be the same functions but with different code to handle that databases functions. Like in the upload.php file just include <db>_db_wrapper.php and call an Handle_Upload_File($file_name); or something along those lines. Regards, Tony Kirk |