Blog

Entries Tagged as Flash Builder

ColdFusion Builder Extension Using Flex

March 05, 2010 · No Comments

So, buried in the documentation around ColdFusion Builder is the fact that you can write extensions in Flex. I decided to fool around with this for a bit.

If you want to skip all of the demo and explanation and just try it out, feel free to pull down the extension:

Builder Stats at RIAForge

 

Builder Stats - ColdFusion Extension with Flex from Terry Ryan on Vimeo.

 

So doing it is pretty easy on the Builder side:

  • Create a remote service CFC for all of the information that you want to expose to Flex
  • Have your ColdFusion Builder extension pass information to the Flex generated SWF
    • Pass any variables to the SWF just like you would pass URL variables

On the Flex side:

  • Pull in the remote service cfc as a WSDL* using Flash Builder's Data/Services
  • Write your Flex app to use the services that get created
  • Alter the generated ActionScript classes to use a WSDL that is passed into the SWF via the URL (Flash Params)

One more thing:

I'm not sure if this is a Flex thing, a ColdFusion thing, an OS thing, a webservices thing, or a me being dumb thing, but the automatically generated WSDL for my remote service CFC was different on Windows and Mac. Consequently the SWF could call the Mac hosted WSDL but not the Windows hosts WSDL. My solution? Create a static WSDL file that had the service spelled both ways. Maybe a hack but worked like charm.

Anyway, if you want to see the code, it's available on github:

*WSDL? Why not Flash Remoting (or ColdFusion in the Data/Services list)? Remoting needs to be configured to each system's configuration, and isn't very discoverable. WSDL doesn't require knowing about the Extension user's AMF setup; it just uses a URL, which can be easily discovered.

 

No Comments Tags: git · ColdFusion Builder Extensions · Flash Builder · Flash · ColdFusion · Flex · ColdFusion Builder

eSeminar: Flash Builder and ColdFusion 9

February 22, 2010 · No Comments

I'm doing an eSeminar on Flash Builder and ColdFusion 9 on Wednesday February 24th at 11:00AM -12:00PM PST (2:00PM – 3:00PM EST.)

I'm going to show off the features that the ColdFusion team have added to make ColdFusion work easier with Flex as well as the features in Flash Builder that make working with ColdFusion ridiculously easy.

You have to register in advance so head on over to the Online Events page and register.

No Comments Tags: Flash Builder · ColdFusion · Flex · Appearances

Flex for Linux Peeps Again

November 24, 2009 · 1 Comment

The timeout on the Flex Builder for Linux has been extended, and can now be used until sometime near the end of 2010. No new features, but the hardcoded timeout has been extended.

The catch?

No catch, but if you're using the most recent previous Alpha, it expires on December 1st. Go get the updated bits on Labs.

1 Comment Tags: Flash Builder · Linux · Flex

ColdFusion Builder and Flash Builder Integration eSeminar

November 04, 2009 · 6 Comment s

I'll be doing an eSeminar, tomorrow, Thursday, November 5th at 2pm EST /11am PST.

The topic will be using ColdFusion Builder and Flash Builder together. Flash Builder obviously is the best tool for building RIAs with Flex. However Flash Builder added a lot of extra functionality. On top of that ColdFusion Builder adds even more.

This session will explore these integration points, and show you just how fast you can build your applications.

To register and get all of the info you need to participate go to our Online Events site.

6 Comment s Tags: Flash Builder · Flex · ColdFusion Builder