> I'm trying to get out of MX non CFC world. I've now working with CF8 and > want to start converting some of my things to use CFC's. Specifically how I > can use forms to interact with CFC's to add/edit/delete data. I've read a > few tutorials from adobe about them and what I've seen on a few blogs but > none address using cfc's in form to do the data add/editing.. Anyone have > links to tutorials/readme's ? examples?
There are some examples in the ACFD 8 courseware available here: http://www.adobe.com/education/instruction/teach/cfcurriculum.html Basically, in the simplest case, you write functions within CFCs to accept your field values, and have those functions run the appropriate SQL. You invoke those functions from your action page, instead of having the SQL embedded in-place. Note that this is only the simplest case; many developers use CFCs to represent individual records (beans or value objects), and use other CFCs to manipulate those beans by reading from and writing to the database. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331956 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

