I have written a base CFC that I call tablewrapper. It is a CFC that takes care of all database functions, EG: Insert, Delete, Update. It automatically grabs all field information for the tabel on init. Allows to update the current data from a form post. I just wanted to get peoples opinions on it, either good or bad, suggestions on imporovements or whatever. For me it is a huge time saver when making site administrator forms. Attached is the base CFC, and the CFC it extends, a SQL script to generate the SQL Server UDF and example files for updating from a form. The one big draw back on this is that it is SQL Server specific, because of primary keys. All Comments would be greatly appreciated.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:159469 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
