Last week, I saw a 2-hour demonstration of the newest version of ColdFusion.
The CF development team showed off all the new bells and whistles, and I liked quite a few of them.Here is a rundown of a few things I saw during my formal introduction to Scorpio. |
 |
Implicit Array and Structure creation
At last, ColdFusion developers can create arrays like other languages!
Well, sort of…
Here is how to implicitly create an array.
<cfset arAwesome="['one','2','three']"/>
You can create implicit structures in a similar fashion.
<cfset structWicked = {flea = 'germaine',arch='Roman',lucky=5}/>
Support for JavaScript/C-style operators
You can increment/decrement counter variables and perform other functions using ++, +=, and others.
The support isn’t 100%, but it presents a nice alternative to the classic CF/VB 6 “myCounter = myCounter + 1″ syntax.
Scorpio also will introduce new comparison operators.
However, you still can’t use > or < because they are CF tag boundaries.
Please note that the old comparison operators (gt, greaterthan, gte) work the same as ever.
CFSTOREDPROC and CFQUERYPARAM work with the ‘cachedWithin’ attribute!
What more can I say about this? How about SWEET! Get out there and cache some queries!
Thread Management Tools
You can use the new CFCACHE tag to create multiple concurrant threads in your ColdFusion applications. Hot!
Built-In Server Monitoring Tool
I use SeeFusion to monitor my ColdFusion MX 7 servers.
Scorpio will have a built-in monitoring tool that looks even better. It tracks everythingfor your application server!
Microsoft Exchange Hooks
Scorpio will let your code interact with a Microsoft Exchange server.
At long last, I can write a web application to replace Outlook!
Better Image Manipulation
Use the CFIMAGE tag to crop, rotate, and skew your images from within ColdFusion.
Built-In AJAX/Web 2.0 Support
Scorpio comes with Yahoo’s YUI framework built in. You can use this for all your Web 2.0 needs. This does not prevent you from using a different JavaScript framework, though.
PDF Support
Since Adobe bought Macromedia, most of us have been waiting for PDF integration for ColdFusion. Here it is!
With the new CFPDF tag you can do a lot more PDF manipulation.
You also will have the ability to use a PDF form as a front-end for a CF application.
There are a few other new features, like reporting changes, on-the-fly Adobe Breeze presentations, and the ability to invoke Microsoft .NET components.
I don’t know about you all, but I am looking forward to the release of Scorpio!