CFUNITED 2007 - Day Two Afternoon
July 5, 2007 · 2 Comments
After lunch (did I mention the food was pretty good this year, especially the desserts?), I went to a session on prototying applications with Flex which was originally going to be given by Scott Stroz. He's moved from AboutWeb to Alagad (Doug Hughes' company) so two AboutWeb folks stepped up: Kelly Brown and Michael Oddis. The session wasn't entirely what I expected but it was very interesting. Instead of really focusing on prototyping, Kelly and Michael talked about best practices in a number of areas and some techniques for event handling. Amongst the best practices, they listed pick a good directory structure (with the finished application in mind - and keep to it), use granular custom components for view (your prototype will likely become your real application so writing reusable code for your prototype will pay dividends), use inline XML or external XML files and HTTPService for prototyping so that you have a data model to build on, use CSS for styling, use the Flex style explorer, use external CSS (and compile it with the mxmlc compiler). They talked about event handling, using custom event types (so you have clear mnemonics for your application logic), event chaining and event bubbling (I got a bit confused here about what they were really recommending). They recommended adding your listeners in an onCreationComplete handler. One recommendation that I found really strange was to use ViewStack for different views onto the same data or components but to use States for different areas / aspects of your application. This flies in the face of every other recommendation I've encountered around view stacks and states - and it contradicts my experience of states in general. Overall tho', a very interesting session. Next up was my AJAX / ColdFusion 8 talk which had a large audience and lots of questions. Fortunately, several of the ColdFusion team were in the room so I picked on them and directed folks to question them after the session. When I gave the talk at cf.Objective(), there were far fewer questions and I ran through all of the slide deck, interspersed with examples. In the face of more questions, I focused on the code examples and just skipped through the slides which seemed to go over well. After my session I fielded a lot of questions in the hallway - good to see so much interest in the new AJAX features in ColdFusion 8! Consequently I missed most of Thomas Burleson's session on using MVC with Flex and ColdFusion - what I saw looked good but since I only caught the tail end, I didn't take any notes. I decided to skip the special event at the zoo and, after working on my startup's website for an hour, have a quiet dinner by myself. There was a thunderstorm and it rained heavily so I guess I made a good choice there. As far as dinner went, several of the ColdFusion team came into the restaurant just after I ordered my meal and they invited me to join them so I had an interesting informal chat with them (most of which centered on the advisability of a team sky-diving event, rather than ColdFusion!). The Meridian restaurant at the Marriott is extremely good and the "surf'n'turf" special - filet mignon and Maryland crab cakes - was absolutely wonderful! The bar was a zoo as well so I skipped that and continued work on my startup.