That's exactly the idea... I'm still working out exactly how to convert the code generator (which at the moment is all inline procedural stuff) to a well-formed and extensible API.
I'm considering: public string makeCreate(dsnText,userName,password,objOwner,objName) public string makeRead(dsnText,userName,password,objOwner,objName) public string makeUpdate(dsnText,userName,password,objOwner,objName) public string makeDelete(dsnText,userName,password,objOwner,objName) public string makeBean(dsnText,userName,password,objOwner,objName) And init() could install the DSN, username, password, owner, and object in Instance data. Since I'm considering storing the codeGen CFC instance in the application scope, and this is effectively a read-only application (other than setting up the code generator on the application's first run), it's only a matter of repackaging what I've already done into a CFC. The codeGen CFC would also have in instance data an XML template for code creation, so that anyone who wanted to could modify the output without having to edit anything but that XML file. Any thoughts? J On Tue, 1 Mar 2005 08:24:51 -0500, Joe Rinehart <[EMAIL PROTECTED]> wrote: > Jared, > > Works OK in my Firefox. The one thing that'd stop me from being able > to use it is the DAO format....maybe an option to generate DAO + Bean, > where the DAO would methods with the following types of sigs: > > public bean create(bean) > public bean read(uuid/int/guid id) > public bean update(bean) > public void delete(uuid/int/guid id) > > Of course, that's just me kinda of expressing personal style. Maybe > you could create an open-ended API for generating code? > > -Joe > > > :throws URL away > > Maybe that's a little harsh? > > -- > For Tabs, Trees, and more, use the jComponents: > http://clearsoftware.net/client/jComponents.cfm > > > -- Continuum Media Group LLC Burnsville, MN 55337 http://www.web-relevant.com http://cfobjective.neo.servequake.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196978 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

