> What remains to be done on FreeTrade 2?

Mostly the screens for the checkout process are left to do.  You can tell
what's left by searching for "mysql_query" with a recursive grep.  For
example:

[leon@galt modules]grep -lr "mysql_query" *
database/mysql/attribute
database/mysql/address
database/mysql/department
database/mysql/billing
database/mysql/coupon
database/mysql/createShipping
database/mysql/fee
database/mysql/getUserID
database/mysql/initilization
database/mysql/invoice
database/mysql/item
database/mysql/purgeInvoice
database/mysql/relationship
database/mysql/standard_library
database/mysql/status
database/mysql/tax
database/mysql/user
screen/edit_ibid
screen/edit_invoice
screen/order_address
screen/order_billing
screen/order_confirm
screen/order_express
screen/order_history
screen/order_info
screen/order_view_ibid
screen/report_inventory
screen/search_results
screen/view_ibid

All the database modules, of course, have mysql_query in them.  All the
queries in the screen modules need to be turned into function calls.  Some
of the functions exist already, but most of them will need to be written.
Also, all the action modules that the checkout process uses need to be
debugged since I couldn't check them at the time.

We also need to remove any remaining HTML in these screens, but mostly
that's just by relying on functions already in standard_library.

After this general task of abstracting database and HTML, then we can think
about some other structural changes.  I think we may want to use
include_once() instead of our old trick of returning if the module has been
included already.  We should also think seriously about either switching to
PHP's built-in session management or expanding our custom solution to
support arbitrary session variables.  I'm leaning toward the latter.  I'm
sure there are other things to consider, too.

Leon




------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to