|
|
||||||||||||||||||||||||||||
|
April 3 2008 11:59 PM
by Adam
The bits are live and the release formerly known as Gemini can be downloaded immediately from Adobe.com. Not only does the free ColdFusion 8 Update 1 (CF 8.0.1) roll-up some minor bug fixes, it also adds support for new operating systems (including 64bit) and some extended functionality (attributeCollection). Here is a run down on the update: Native OSX Leopard SupportThis is clearly a big one for many of you. Getting ColdFusion 8 to run on Leopard has taken a little bit of hackery, but thanks to our community we've had several online resources to walk us through the process. With 8.01, all you have to do is run the installer. I'd recommend a full reinstall for existing user running CF8 on Leopard, but you can also just redeploy the new EAR/WAR. 64bit SupportWhen we initially released ColdFusion 8 in August 2007, Sun didn't have a JVM that supported a wide range of 64bit platforms (only Solaris). Sun released a new JVM since then and added support for a full range of 64bit OSes. For the record we support the following 64bit OS:
So what does 64bit support really mean? The main benefit is the increased memory range. 64bit JVMs can see more system memory so you're no longer restrained to 3.x Gigs per instance. We've also refactored some of the bits under the hood so everything runs smoothly and takes advantage of the 64bit architecture. 64bit support is limited to Enterprise and Developer edition only. If you are running ColdFusion Standard you can still install it on a 64bit operating system, but it will run in 32bit mode. We've also added support for Windows 2008, but thats still limited to 32bit. Enhanced Attribute CollectionsThese are a few enhancements I've wanted since we first proposed the attribute collection feature in ColdFusion 8. Update 1 will now allow us to overload the structures we pass into tags. Previously, we could only pass a structure to tag that had the exact same keys as the tag. If I passed a structure with a key name 'location' to <cfquery>, ColdFusion would throw an error saying 'Yo, location is not a valid attribute for <cfquery>!'. Now ColdFusion can ignore those extra keys and use only the ones that apply to the specific tag. This means you could create a single structure to act as the 'default' for all of your tags. This behavior is different from CF8, but it's enabled by default. If you've written code that relies on an error being thrown, you can disable it via the CF Admin, Application.cfc (this.allowExtraAttributes=false) or at the tag level (allowExtraAttributes=false). You can also override what you pass in via attributeCollection with the attribute at the tag level. So if you pass in a default structure for <cfquery> that has a key like 'name', it will be ignored if you specified the name attribute of <cfquery>. Updated UI ComponentsAs you probably already know, ColdFusion packs in some of the best open source and OEM products around. We've updated a number of these libraries with Update 1. The one that stands out for me, is an updated version of the FCK Editor (which powers <cftextarea richtext=true>). The latest release has full support for Safari, which was important to use, since it's the same HTML engine that's embedded in AIR. Here is the run down on the updated libraries:
I know what you're saying... Dude, why didn't you update to ExtJS 2? Well, there are a number of reasons, most which will bore you, but the primary one is that it wouldn't add much to the _existing_ UI controls in CF8. However, I can say that we've been working very closely with the ExtJS team we will be squeezing all of the goodness of ExtJS 2+ into Centaur (a.k.a. ColdFusion 9). We've also made it a lot easier to work with the Rich Text Editor via JavaScript as well as adding an external spell check. We still aren't shipping with a spell check, but now you can drop in your own without much hassle. Nested Implicit Arrays and StructuresFinally, right? Feel free to nest structures and arrays until to your heart's content. This code will totally work now: <cfset employeeArray = [{name="Ben",title="ColdFusion Guru"},{name="Adam",title="Ben's Whipping Boy"}] /> Minor CFML Updates
|
|
|||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
|
© 2010 Adam Wayne Lehman - All Rights Reserved RSS |
||||||||||||||||||||||||||||
Sami Hoda wrote on 04/04/08 12:41 AM
I fought long and hard for 64 bit. Yippee!