Would this be similar to what you are thinking of?
http://steve.coldfusionjournal.com/datamgr.htm
http://www.bryantwebconsulting.com/cfcs/
(freely available, btw)
(the loadTable() method can create the table structure given only the
name of the table).
Incidentally, I would love anyone's feedback on this approach. It has
worked well for me so far, but I would be curious if anyone sees any
pitfalls to it.
Additionally, I think I could pretty easily make a program to
generate some CFCs for use with this as well as pages with my
sebForms custom tags to use with those CFCs based on the table
structure in the database.
Thanks!
Steve Bryant.
Bryant Web Consulting LLC
http://www.BryantWebConsulting.com/
http://steve.coldfusionjournal.com/
At 10:35 AM 8/18/2005, you wrote:
How could I create a cfc that, given a
datasource and a table name, would automagically create a structure
for that table, dynamically create the crud methods and simple gateway
methods.
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]