ColdFusion Builder 2 Hotfix released

If you are using ColdFusion Builder 2 and have issues searching files then this hotfix is for you. This hotfix primarily corrects issues when searching files large number of files. It also corrects some interface issues when selecting multiple files to search.

I can say that this hotfix is awesome. There were cfcs I had that were unsearchable. After applying this hotfix I was able to search them with ease.

You can get the update here:

http://kb2.adobe.com/cps/911/cpsid_91140.html

Till next time..

--Dave

JQMobile Helper extension updated

I have released an update to JQMobile Helper extension ColdFusion Builder 2.  This update updates the base template and tags to match the current release of jQuery Mobile (alpha 4.1).  You cna download the extension at the link below.

 

http://jqmobilehelper.riaforge.org/

 

As always, if you find any issue with the extension please let me know.

Till next time.. 

--Dave

 

JQMobile Helper

I have been tinkering with jQuery Mobile since the first alpha.  I have even built a few things with it.  I have found it to be a very powerfull way to create mobile applications with little or no JavasScript.  Not to say that writing JavaScript is bad, just pointing out the ease of use that jQuery Mobile brings to the table.

When working on things I always found myself doing one of two things.  Either copying and pasting code from other projects or gettting samples from the JQM site. These both worked just well but it just seemed inefficient to me.  I started creating myself a snipits library of things I commonly used.  This seemed to work much better as I now had some generic sample code to use in projects.  However, I never had everything I was looking for.

It was then that I thought there could be a better way.  This is when JQMobile Helper, a ColdFusion Builder 2 extension, was born.  This gave me all the common elements I was using and then some.

In building the extension I ran into a couple challenges.  

First, this was my first extension that would have no UI elements.  This created some unique debugging challenges but none that weren't easily dealt with.  

Second hurdle was using call backs.  This was the first extension I have built that would use them.  The documentation on how they work is a bit hit add miss so this part was harder than it needed to be.  I eventually found an example and was able to use it as a base for my work.

My third issue was overcoming code bloat.  This in itself was not a major issue but more of an architectural issue. I wanted to reduce the amount of code in the extension as most of it was redundant.  After asking around about the issue, Ray Camden came up with a great idea that worked perfectly.  

The hardest part of all this was gathering all the snipits of code.  Not only that but then grouping them into some logical order. 

All said and done the extension was fun to build.  I learned a lot more about extensions and gained some knowledge that I can apply to future extensions.

 

You can view/download the extension here: http://jqmobilehelper.riaforge.org/

 

Till next time,

 

--Dave

 

 

ColdFusion Builder 2 Public Beta

Hey you.... yea you.. get off your rump and go get the next version of the best ColdFusion IDE available.  You will only be sorry if you don't do it.

 

ColdFusion Builder 2 Public Beta - 

http://labs.adobe.com/technologies/coldfusionbuilder2/

 

What's new in ColdFusion Builder 2

http://www.adobe.com/devnet/coldfusion/articles/cfb2-whatsnew.html

 

Till next time... 

 

--Dave

Base64 Image Converter - CFBuilder Extension

I took all that Base64 image conversion stuff I have been talking about and turned it into a CFBuilder extension. I also submitted it to the CFBuilder extension contest.

Review of extension by Ray Camden: CFBuilder Contest: Base64 Image Converter

Get the Extension: http://base64imageconverter.riaforge.org/

Till next time...

--Dave

ColdFusion Builder Extensions - Creating Menu Filters

Well, I have been working on building an extension for ColdFusion builder. I wanted to make it so that the menu for the extension was based on what was selected. This seemed simple but the documentation on extensions was a bit lacking in this area. But, after digging, searching, and looking at examples, I was able to figure it out.

There are two core ways to do a filter. The first is by the entire menu itself. The second is by the action in the menu.

So, lets say I wanted to display the menu only when a user selected a directory. The menu would look like this..

view plain print about
1<menu name="My Extension Menu">
2    <filters>
3        <filter type="folder" />
4    </filters>
5    <action name="My action" handlerid="actionHandler" showresponse="true">
6</menu>

This is good... I can also add a pattern to the filter to have it filter not only on a directory but possibly on the directory name. This can be done using regular expressions. This example will only work if the directory name is "style".

view plain print about
1<menu name="My Extension Menu">
2    <filters>
3        <filter type="folder" pattern="style" />
4    </filters>
5    <action name="My action" handlerid="actionHandler" showresponse="true">
6</menu>

Creating filtered menus is great. But, you will need to create an entire menu node for each filter. You can end up with bloated XML very quickly. This is where assigning the filter to the action comes into play. This allows for the same menu but different actions.

This example below will display two different actions for the same menu. The first is if the user selected a directory. The other is if they selected an XML file.

view plain print about
1<menu name="My Extension Menu">
2    <action name="My action - Folder" handlerid="actionHandlerFolder" showresponse="true">
3        <filters>
4            <filter type="folder" />
5        </filters>
6    </action>
7    <action name="My action - File" handlerid="actionHandlerFile" showresponse="true">
8        <filters>
9            <filter type="file" pattern=".*\.(xml)"/>
10        </filters>
11    </action>
12</menu>

You can read more about it here on the Adobe help Docs

Till next time..

--Dave

Installing ColdFusion Builder and Flash Builder 4 together

This may be documented somewhere but I did not find it. Also, those not familiar with Eclipse may not understand the terminology. So, here is how to install ColdFusion Builder and Flash Builder 4 together in 7 easy steps. These are written based off my experience when installing on both Windows 7 and MAC OSX. There are probably other ways to do this but this worked for me.

1: Download ColdFusion Builder. (for your OS)
2: Download Flash Builder 4, Plug-in version. (for your OS)
3: Run ColdFusion Builder installer and install as stand alone installation.
4: Close ColdFusion Builder if it started up post install.
5: Now run the Flash Builder installer. When it asks if installing as a plug-in or stand alone choose plug-in. In the directory selector browse and choose the ColdFusion Builder install directory. Complete the installation.
6: Open ColdFusion Builder.
7: After Builder is open choose window -> Open Perspective -> other. On the list should be "Flash", select it and click open.

You now have Flash Builder and ColdFusion builder running in the same IDE. If you quit Builder and reopen it will reopen your previous perspectives. If you are running the trial versions you will get a license warning from both perspectives.

Hope this helps.

--Dave

ColdFusion Builder released!

In case you just came out of hibernation and were unaware. Adobe has been working on a code editor for ColdFusion called ColdFusion Builder. Well, as of today is now available for purchase. Not only can you get the best ColdFusion code editor but it also comes with Flex Builder 4 Standard. Now you can create the best of all worlds!

http://www.adobe.com/products/coldfusion/buy/#cfb