great, now teach me :)

-----Original Message-----
From: Zaphod Beeblebrox [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 30, 2007 4:54 PM
To: CF-Community
Subject: Flex is da bomb!


I've been working on this project for about 1.5 months now and it being my
first real Flex app, it was going very slow.  It was painful.  "What do you
mean I can't traverse a document as easy as javascript!", "I do {insert
method} in javascript all of the time, why can't I do it here?", and such.
Well, crunch time is quickly approaching and it wasn't looking good.

After about 10 hours of work yesterday, suddenly the clouds parted, the
birds started singing and I freakin' got Flex....really really got
Flex....really started to understand it.  I realized I had too much junk in
too large of files.  I realized that I was tightly coupling the components
together instead of loosely.  I realized the power of "dispatchEvent".  I
realized how discreet components could be so handy.

Now, here's the kicker....it's unbelievably easy when paired with Rails.  I
am smoking through this project like never before.  This project involves
pulling down xml from a webservice, parsing with xslt to get only the nodes
required, displaying it in a form so that users can add nodes at different
levels, saving the moded xml until the user is ready to post it back to the
webservice.  It's also got some other neat functionality, but this is the
heart of it.

I had tried to do this using AJAX, but kept running into problems trying
insert elements in an xml doc.  Moz wanted to captilize everything, IE
didn't even want to run the xpath statements needed to figure out where to
insert the node.  CF's xml handling is okay, but compared to e4x, it pales
quickly.

I can definitely see Flex and one of my biggest hammers in my toolbox.

zB

--
"You reached for the secret too soon,
You tried for the moon,
Shine on you crazy diamond"




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:226468
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to