Adding Spacers to ColdFusion Builder Menus

One of the things missing from ColdFusion Builder Extensions is the ability to make spacers in your menu items. This makes it a little hard to organize menu items.

But it turns out that you can add handlerless menu items. I have posted sample SML below.

Unfortunately, they are still clickable but because they don’t have a handler they don’t do anything. So it’s not a perfect solution, but it does make it a little easier to organize your menu options.

 

<contribution target=”projectview” >
<menu name=”Apptacular”>
<action name=”Regenerate Application” handlerid=”generate”></action>
<action name=”——————————” />
<action name=”Create Application” handlerid=”handlerCreateProject”></action>
<action name=”Edit Application Configuration” handlerid=”editConfig”></action>
   <action name=”Edit Database Data Model” handlerid=”editDB”></action>
<action name=”Edit Item Data Model” handlerid=”configtable”>
<filters>
<filter type=”file” pattern=”.*.cfc” /> 
</filters>
</action>
<action name=”——————————” />
<action name=”Prune Excess Files” handlerid=”purge”></action>
</menu>
</contribution>

ColdFusion Builder Extension Won’t Install But Will Import

I’ve run into this problem quite a bit, and it came up on a post about Ray Camden’s ORM Scanner.

So the conditions are:

  • User tries to install extension
  • Install option does not work
  • They unzip the file
  • User imports the extension
  • The extension works

Two subtle pieces of information that don’t always get reported:

  • Extension user on Windows
  • Extension author on Mac

This particular problem doesn’t appear if:

  • Author uses PC
  • User uses Mac

The cause of your woes:

.DS_Store files.

I’m not entirely sure why.

To combat this I build all of my extensions with ANT. (I know we provide a packager, but the work flow doesn’t work for me.) Here’re the relevant ANT targets:

 

<target name=”build.copy.files” description=”Create a installable version of the source code.”>
<echo message=”Copying Files to Build Location”/>
<copy todir=”${build.dir}” preservelastmodified=”true”>
<fileset dir=”${dev.dir}”>
<exclude name=’settings.xml’/>
<exclude name=’settings.properties’/>
<exclude name=’.project’/>
<exclude name=’.settings’/>
<exclude name=’build.xml’/>
<exclude name=’**/.DS_Store’/>
</fileset>
</copy>
</target>

<target name=”build.zip” description=”Creates a zip file of the build.”>
<echo message=”Creating Zip File”/>
<zip destfile=”${package.dir}/${app.name}.zip” basedir=”${build.dir}”/>
</target>

No ColdFusion Builder Tour Stops in Your Area?

Are you feeling left out of the Special ColdFusion Builder tour that’s coming around? If so, Charlie Arehart cures what ails you through the magic of the Internet.

I’ll be doing a ColdFusion Builder Tour session on Charlie’s Online ColdFusion Meetup.

Thursday, March 15th at 12:00 PM EDT.

As always, the session will be at: http://experts.acrobat.com/cfmeetup/ and will be available as a recording afterwards.

ColdFusion Builder Tour – More Stops

I’ve added a few more stops on my stretch of the ColdFusion Builder Tour.

I was already scheduled to do:

Dallas, TX  DFW CFUG Wednesday March 24 7:30PM RSVP
Philadelphia, PA  Philly CFUG Tuesday March 30 6:00PM RSVP

 

Make sure you sign up for these if you are planning on coming.

I am now adding:

Pomona, CA  IECFUG Wednesday April 7  
Los Angeles, CA  LA Web Professionals Thursday April 8  
Chicago, IL  CCCFUG Wednesday May 12  

 

Details are forthcoming

ColdFusion Builder and Flash Builder FREE for Education

So yeah, the title pretty much says it all. If you are a student, faculty, or staff member of an educational institution, looking to use ColdFusion Builder or Flash Builder for educational purposes, they’re free.

Go get them: freeriatools.adobe.com.

It’s important to note, that if you are looking to set up a lab of multiple computers, you don’t have to get a license for every machine or student. You can use the license we give you to install on multiple machines. Just let us know when you sign up that you intend to do so.

ColdFusion Builder GO!

I’m happy to announce that this morning, at 12:00 AM EST*  ColdFusion Builder has been released and is available for purchase. Before I tell you how kick ass ColdFusion Builder is let me answer the questions everyone has asked me that I’ve had to be coy about for the past few months.

When will it be released?

TODAY!

How much will it cost?

ColdFusion Builder Standalone will cost $299 and will include Flash Builder Standard. That’s right; you get ColdFusion Builder and Flash Builder for $299.

Flash Builder Premium will also include ColdFusion Builder for the price of $699.

Where do I get it?

http://www.adobe.com/go/coldfusionbuilder

Okay, that’s out of the way. Let’s talk about ColdFusion Builder.

I love ColdFusion Builder. Sometime during the betas I switched over to using ColdFusion Builder, and I haven’t looked back. I’ve put up with reinstalling over and over and over again through 3 public betas, and several private alphas, and several private refreshes. I’ve done this because I was excited with every drop to see what our engineers added. With few exceptions every release was a phenomenal leap over the previous versions.

Of course I’m going to say this, because I work for Adobe, right? Well I’ve griped, but gripes go inward, not outwards. (At least in the written form 😉 )

It’s not hard for me to pick my favorite feature: ColdFusion Builder Extensions. Extending an IDE isn’t a new concept. We chose Eclipse as the platform for ColdFusion Builder precisely because it was designed to be extended. But the fact that ColdFusion developers can extend Builder with the language in which they are expert instead of dropping down to Java and Eclipse development is huge. It makes the development of plugins have almost no barriers to entry. Have an idea? Write 50 lines of code and XML and there it is. We’ve already seen 30 extensions up on RIAForge before ColdFusion Builder is even out of beta. I am continuously impressed at what the community is doing in this space, and I can’t wait to see what they do after today.

Check out for yourself what the community has done at the ColdFusion Builder Extensions section at RIAForge.

It’s tough to get a sense of how good a product is when you are working this close to it. You don’t know if you have something, or you’re suffering from groupthink. But some people will always find fault, some people will always love everything. You have to throw away those opinions and focus on the rest. Doing this, I think the verdict on ColdFusion Builder is that it is a great product, an impressive 1.0 product, and it still has lots of potential for which to strive in future versions.

I think the engineers, and product manager (Adam Lehman) deserve a round of applause (and several rounds of whatever they want to drink) for their efforts.

Go get yourself some ColdFusion Builder today!

 

* Or possibly earlier.

Capital Flash Camp 2010

I’m very excited to say I’ll be doing the keynote at Capital Flash Camp 2010.

I’ve been trying to get to one of the Flash Camp events for a while, as I hear great things about them. However, I’ve had scheduling conflicts for almost all of them.

If you’re in the DC area and looking to get into Flex and the rest of the Flash Platform here is your chance. Here’s the speaker lineup:

  • Adnaan Ahmad, Anaara Media
  • Huyen Tue Dao
  • Terry Ryan, Adobe
  • Christian Saylor, Universal Mind
  • Chris Scott, Universal Mind
  • Carl Smith, nGen Works
  • Jeff Tapper, Digital Primates
  • Dave Watts, Fig Leaf Software

It’s a monster lineup that I’m proud to be a part of. So go register for Capital Flash Camp.

ColdFusion Builder Refcard


Refcard Screenshot

DZone just published my latest contribution to their Refcardz series, Getting Started with ColdFusion Builder. It’s intended to be a quick overview on getting up to speed with ColdFusion Builder, and a tour of the major features.

This joins my Getting Started with ColdFusion 9 Refcard.

It’s great to get ColdFusion content onto DZone, as they reach outside the normal ColdFusion audience. So check it, and their other Refcardz out.

Special ColdFusion Builder Tour Events

For some reason, the ColdFusion Team is going on a tour in March and April, to spread the word about ColdFusion Builder, which is currently in public beta 3 on labs.adobe.com.

I’m hitting two cities for now; some other dates are still in talks:

Dallas
March 24, 2010 7:30PM – 10:00PM
To RSVP

Philadelphia
March 30, 2010 6:00PM – 7:00PM
To RSVP

I’m extremely excited about both of these events. I hit Dallas on the last year’s User Group and they did a completely kick ass event with the Flex Group. As for Philly, it’s where I live, and I haven’t been to an event here since I’ve worked for Adobe. I’m always somewhere else, but not this time.

I’ve got some cool stuff to show, and I can’t wait to see you all.

ColdFusion Builder Extension Using Flex

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

 
http://vimeo.com/moogaloop.swf?clip_id=9946314&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=00ADEF&fullscreen=1

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.