If I am understanding this discussion that you are trying to learn Flex and CF at the same time is an accurate statement then I would have to make the following recommendation.
1. You should totally get involved with attending our monthly AFFUG meetings. 2. You might want to try this strictly in CF before trying to hook into FLEX. Write your code in CF to where you are comfortable with the functionality as you have describe so far. A returning recordset with pagination and save, add function. 3. Get comfortable writing CFC's in CF and learn remote functions /methods 3. Search and or study how you can use web services, remote procedure calls and http requests to interact with Flex. As others have stated, what you are attempting can be accomplished with any server side technology, but since you are in CF you should understand how it works from the CF perspective first before the Flex part. We have all been were you are believe me and talking to others, gaining information through meetings is in some ways better than pounding the books and resources as you will gain a better understanding of where to go next. Did you know that AFFUG meetings are FREE! Pizza and drinks are free at each meeting! Our great sponsor EcoEleven has excellent training courses in all levels of Flex. We all enjoy helping each other with Flex and related technologies. RL ----- Original Message ----- From: "Laurence MacNeill" <[email protected]> To: [email protected] Sent: Monday, April 6, 2009 7:13:28 PM GMT -05:00 US/Canada Eastern Subject: [AFFUG Discuss] An example, perhaps? As Darrell Ross suggested, maybe I need to clarify things a bit. So here's an example of what I'd like to learn how to do right now. Let's suppose I have an MS-SQL database, call it LM_Test. In LM_Test, I have a table called Identification. That table has 3 fields - ID_Num (32-bit Integer), FirstName (25-char String), and LastName (25-char String). The Database is connected to CF (thru the ODBC data services on Windows 2003), and CF knows it as LM_Test. The CF8 Admin page shows that its connection to the database is OK. I understand how to do all of the above, and they are actually in operation on my server right now. So no problems there. Now, let's say I want to create a very simple Flex app that will display the three fields in 3 standard TextInput boxes, and will allow me to scroll through each record in the database with a couple of buttons labeled Prev and Next. Also, I want to be able to change the data (so I assume I need a "Save" button perhaps?). And finally, I want to be able to add a new record to the database (so an "Add" button too, I guess?) That's where I get stuck -- I have no clue what I need to write in CF (if anything) and what I need to write in Flex to accomplish the above. Sure, I can write a simple Flex app with three TextInput boxes, but how do I link them to the database, and get them to display the data from one record in the database? And, of course, get the Prev, Next, Save, and Add buttons to work. Sorry to take up so much of your time, but I can't find any *simple* examples of how to do this. Thanks, Laurence MacNeill Mableton, Georgia, USA ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com ------------------------------------------------------------- ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
