Blog Projects
Escape Keys
A ColdFusion and Web Development Blog by Tom de Manincor
 

There is a full-time ColdFusion position available with Veliq Mobile in Barendrecht, Holland.

You must be living in Holland and are required to be in the office 3 to 4 days a week.

For more details please contact me directly.

I am looking for a junior to senior level ColdFusion developer. Must have experience with ColdBox, Transfer, and ColdSpring or Lightwire.

This is a part-time position.

Please contact me directly for more details.

If interested and to speed up the process, include your hourly rate and the date you would be able to begin work.

I've been using Eclipse IDE for years now, and I purchased Adobe ColdFusion Builder shortly after it's release. While my experience with Eclipse was always a bit fickle, I figured like any loving relationship it's a game of give and take. I had the same feeling with ColdFusion Builder, which I installed as an add on to my existing Eclipse platform. While both proved to be essential in development, performance has started to waiver quite a bit, as of late. Eating up memory, constant processing, and frequent crashing had brought me to the brink of using NotePad++, but I couldn't just give up on Eclipse. We've been through so much together. I also cannot afford any slow down in my development time. As we know, a good developer's work load only increases with achievement.

So...what to do, what to do???

I figured it would be a good idea to get a clean install of Eclipse running. I even went to the extent of creating a new workspace. (That decision is totally up to you).

The clean install, however, is where my recommendation lies. The trick here is to grab the right Eclipse package for you. Or for that matter, the Eclipse 'non-package' and make it your own.

I must have stared at the Compare Packages page for what seemed like hours, and even downloaded 3 different ones before I found 'the one'.

You won't find it on the download page. You have to click on the Other Downloads link next to Eclipse Classic. That will take you to all the Eclipse project download links. Select the version of choice, I went with 3.6.1

Next, you will be presented with all the download links for the core distributions and then some. The one I want to point out is under the Platform Runtime Binary section. Scroll down a bit, and you'll see it.

Select the one that matches your OS configuration.

Now, the following is based on my experience. I am interested to hear from others, as well.

I am running a Mac (32 bit) and a Windows 7 PC (64 bit). While I saw a dramatic improvement just by using this stripped down platform package, it was even more noticeable using the 64 bit edition. (Make sure you have a 64 bit Java JRE installed or point the Eclipse binary to one directly using the command line argument -vm "path\to\jvm" when starting up the application.) To my surprise, eclipse.exe was barely using any memory...don't get too excited, javaw.exe was.

It's nothing to be concerned about, I was actually delighted to see Eclipse running as it was meant to be. In my opinion, the responsiveness of the IDE had never been better.

Remember, there are no additional packages installed in this distribution. Not one. You have to manually pick and choose what you want in your IDE.

So I loaded up the usual suspects:
-Subversive Team Provider (Helios)
-Subversive SVN Connectors (Polarion)
-SVNKit 1.3.2 Implementation (Polarion) *required for 64 bit
-Eclipse XML Editor and Tools (Helios)
-Eclipse Web Developer Tools (Helios)
-CFEclipse (CFEclipse)

I left Mylnn out for sake of time and confusion.

I setup another instance with:
-Subversive Team Provider (Helios)
-Subversive SVN Connectors (Polarion)
-SVNKit 1.3.2 Implementation (Polarion) *required for 64 bit
-Adobe ColdFusion Builder (Adobe)

There was no need for the XML and Web Tools since Adobe has Aptana under the hood. (Which is where most of my recent crash logs indicated problems).

The 64 bit Eclipse will let you install CF Builder as an add on, and it will even start up just fine. It wasn't till I tried to update to the latest CF Builder release that I came up short handed. The option in the menu was disabled, staring back at me in pale grey. Adobe has never denied it's lack of 64 bit support for Builder, which I was fine with.

After getting a taste of the 64 bit with the options listed in the first set above, I have to take a break from Builder and re-visit CFEclipse. It's running so fast and smooth, and I have yet to crash. My only complaint would be the CTRL+SHIFT+D when inside CFSCRIPT produces a dump() instead of writeDump(). That's a feature or enhancement request for the CFEclipse team, nothing more.

On a side note, another reason for making the switch was the lack of portability with CF Builder. I am one of those who has no trust in a laptop, especially company issued units. I rely heavily on my own external hard drive. I work on multiple platforms and on multiple machines. Portability is a key factor for me these days.

The 32 bit Eclipse IDE on the Mac with either set of options from above performs great. The portability issue is still a factor but at least the kernel isn't.

It's been a couple days, and I can say I am still impressed.

That extra overhead you save by eliminating the unnecessary components that come along with those Eclipse download packages obviously makes a difference. If you have the luxury of running a 64 bit OS, then the benefit is multiplied.

In no means, am I putting Adobe CF Builder down, maybe just pushing for a 64 bit portable version ;)

YUICompressor CFC v0.1 Released

If you are looking for ways to minify, optimize, and compress your CSS and Javascript with ColdFusion, this is an all-in-one solution based on the YUI Compressor Java library.

It's simple but powerful.

The project and code: YUICompressor CFC @ RIAForge

There is some sample code included with the download package.

project: YUICompressor CFC
author: Tom de Manincor
version: 0.1.1
date: 2/18/2010

-overview-
This CFC allows you to use the YUI Compressor Java library.

"The YUI Compressor is a JavaScript compressor which, in addition to removing
comments and white-spaces, obfuscates local variables using the smallest
possible variable name. This obfuscation is safe, even when using constructs
such as 'eval' or 'with' (although the compression is not optimal is those
cases) Compared to jsmin, the average savings is around 20%.
The YUI Compressor is also able to safely compress CSS files. The decision
on which compressor is being used is made on the file extension (js or css)"


This CFC adds some more flexibility. It accepts an input string or a file, as long as its valid JS or CSS.
You can also choose to return the compressed results back as a string or a file.

It is using the YUI components for both CSS and JS.
For more information on the YUI library visit:
http://developer.yahoo.com/yui/compressor/

-requirements-
ColdFusion 7 or Higher
JavaLoader (optional)
YUI Compressor Java Library (version 2.4.2 included)

-usage-
The constructor (init method) is required if using inheritance (ClassLoaderAdapter).

Since this is dependent upon the YUI Java library,
I have integrated a ClassLoaderAdapter that allows you to toggle between JavaLoader
or the CF native ClassLoader that will use libraries found in your CF class path.
Remember, if you are not going to use JavaLoader then make sure you put the yuicompressor-2.4.2.jar in your CF class path.
If this is the approach you choose you also have the option to discard the ClassLoaderAdapter.
Instead of using the YUICompressor.cfc and the ClassLoaderAdapter.cfc, rename and use the included YUICompressor_noinheritance.cfc.

-note-
Do not use the additional libraries that are bundled with the base jar. String Index out of range errors may occur.

-credits-
Joe Roberts

0.1 -INITIAL RELEASE- 2/18/2010
-JS and CSS compression supported
-auto detect input type
-allow input files or string
-output to file or string

I wrote an article awhile back, No More WAR, demonstrating how to set up CF 7 and 8 without using the WAR files. Instead, I used CF in stand-alone mode and Apache's Virtual Host configurations to create separate environments, that could run side by side.

I wanted to see if anything had changed with the JRun config that this technique depends on in CF 9. Fortunately, things remain the same in that department. The method is still applicable, and I am currently running: CF 7, 8, and 9 on both Linux and Windows platforms running Apache Web Server.

Why stop there? Let's add Railo 3.1 to that list. For instructions on how to integrate Railo with Apache, check out this post.

Bringing the power of drop.io to ColdFusion.

drop.io is a handy cloud collaboration tool.

To quote drop.io:

"Use drop.io to privately share your files and collaborate in real time by web, email, phone, mobile, and more."

"With the drop.io API, your app can leverage our core web-services to share what you want, with whom you want, how you want. Anything you can do with the drop.io interface, you can do via the API, so you can develop powerful extensions to the drop.io service, or cherry pick specific functionality from drop.io for your apps."

Check out their web interface drop.io.

To use drop.io with ColdFusion, I've posted the project DropIO CFC @ RIAForge.

The download package includes a sample application, as well.

To find out more about working with drop.io check out the developer page.

Project 'readme.txt':

project: DropIO CFC
version: 0.1
date: 2/5/2010

-overview-
This CFC allows you to connect and work with drop.io's API.

-requirements-
ColdFusion 7 or Higher
drop.io API Key (free - http://api.drop.io/)

-usage-
The constructor (init method) is required.
There is a dependency on Javascript libraries for file transfers.
See the included js folder and code examples for integration.

To setup the code samples provided,
place your drop.io API Key in the createObject call in the onApplicationStart method of the Application.cfc
Follow the instructions on the page.

-note-
drop.io Developer Page: http://dev.drop.io/

0.1 -INITIAL RELEASE- 2/5/2010
-supports the following drop.io API methods:
createComment
createDrop
createFile
createLink
createNote
deleteAsset
deleteComment
deleteDrop
getAsset
getAssetEmbedCode
getAssetList
getComment
getCommentList
getDrop
getUpload
sendAsset
updateAsset
updateComment
updateDrop
uploadFile
uploadResponse

SalesForceCFC has been stable, but there is always room for improvement. This version includes a few tweaks and clean up.

Download the code @ RIAForge

I would also like to put out a 'Call for Features' to put on the roadmap for 1.0

Some already suggested:
-support for SOQL sub/nested queries
-asynchronous HTTP calls

Please post your suggestions on the Forums @ RIAForge or just leave a comment here.

In addition, I will be including a base unit test collection to provide stability for future releases and customization. Along with improved documentation and code samples.

I'd like to thank Daniel Llewellyn and Pete Freitag for their contributions, as well.

0.7 -CHANGE LOG- 1/24/2009
- enhancement - added support for batch save
- enhancement - added support for AssignmentHeader
- enhancement - added support for EmailHeader
- enhancement - added result size to query return data
- enhancement - updated typing and case of component
- enhancement - increased default SOAP timeout
- deprecated - unnecessary setters (setServerURL,setSessionId,setLastLogin)

Speaking at NL CFUG - Battle of the Frameworks

Debating over the popular Coldfusion frameworks always leads to some interesting discussion.

Today, Model-Glue, Fusebox, and Coldbox will be facing off.

To introduce the code and theory, as well as the practicality each framework brings to the table, we will be presenting them with an application walkthrough.

Letting attendees see what's in the pudding and leave with the proof.

Check the NL CFUG Homepage for more information.

Location: Adobe HQ, Hoogoorddreef 54-A, Amsterdam

13:00 - 13:30 Binnenkomst
13:30 - 14:15 Coldbox - Tom de Manincor
14.15 - 15.00 Fusebox - Erik-Jan Jaquet
15:00 - 15:30 Pauze
15:30 - 16:15 ModelGlue - Jochem van Dieten
16.15 - 17.00 Discussie frameworks
17:00 - 18:00 Borrel / Netwerken

With a week left before the Coldbox 101 + Workshop here in Amsterdam, we have decided to extend the Early Bird pricing and offer a DISCOUNT, as well.

Early bird tickets are 1200 Euro ($1755 USD) and will be available until October 21st.

Use the discount code: CB_AMS_LM and receive a 200 Euro discount ($300 USD).

Where else can you get a 2 day training and a 1 day hands on workshop for 1000 Euro?

Not to mention, you will leave inspired and with plenty of resources and materials that will help you continue to expand your skill set indefinitely.

I apologize to those who have already registered, but we will also offer a retroactive discount for referrals. If you know someone who may be interested, now is the time to push. Have them mention your name and get 10% of their final ticket price. That applies to each referral. Yes, they are allowed to use the discount code above, but remember the kick-back is 10% of their ticket price.

UPDATE: Coldbox 101 Amsterdam

Registration issues have been resolved. Due to issues accepting payments with PayPal, and hosting an international event, tickets must be sold in USD and processed with Google Checkout.

The registration page has been updated: Coldbox 101 Amsterdam @ eventbrite

More news about the event:

Luis Majano, the creator of Colbox, will be joining us via Video Conferencing for a Meet and Greet. He will also talk about what's new in the latest version.

Each attendee will receive a Coldbox Training Manual (over 300 pages), along with an Exercise Booklet (just under a 100 pages), and some nice schwag (bag,t-shirt,etc).

More Entries