There's been a bit of FUD being thrown about battery consumption by Flash Player 10.1 on Android. If you're confused by what's being said check out Mark Doherty's post that provides demonstrations of Flash Player running video on Android and the effect on the battery indicator. It also contains the battery usage charts from Android showing that viewing the video is not using up all of the battery (another really great built-in feature of Android.)
I'm going to show off the features that the ColdFusion team have added to make ColdFusion work easier with Flex as well as the features in Flash Builder that make working with ColdFusion ridiculously easy.
You have to register in advance so head on over to the Online Events page and register.
One of the cooler features of ColdFusion Builder's extension tooling is the ability to create extensions that are driven with HTML/JS/CSS instead of with the default XML options. I think this has a few advantages:
Allows interface options enabled by the XML options
Allows better branded extensions via CSS and background images
Allows you to develop/debug your extensions like normal web applications
This is pretty easy to enable. Normally you would have code like this in your handler to communicate back to the IDE:
Now, where I ran into trouble with this was with the URL itself. Basically you can't be sure of the URL when dealing with extensions. It could be localhost, but it just as easily could be on a remote server. So I was all clever and wrote some code to handle this:
You see, this will give me the correct URL to use to pass information to a template named "messages.cfm" that sits in the same folder as my handler. I use CGI variables to grab the server information. Then I use getDirectoryFromPath to make sure that I get the real relative path of the folder that the extension is sitting in (as opposed to assuming that it lives in the webroot). This works great.
Except I got reports of one of my extensions not working at all for some people. Look at that code again… There's another big assumption there. The assumption is that the extension is being called over the default http port, which for many ColdFusion developers it isn't. So the correct version of this code goes:
I know I've been quiet of late. But I've been working.
You see a few weeks ago I had this checklist up on the site:
Make sure apptacular_blog database works on MySQL on MAC.
Make sure apptacular_blog database works on MySQL on PC.
Make sure sakila database works on MySQL on MAC.
Make sure sakila database works on MySQL on PC.
Make sure apptacular_blog database works on MSSQL on MAC.
Make sure apptacular_blog database works on MSSQL on PC.
Make sure adventureworks database works on MSSQL on MAC.
Make sure adventureworks database works on MSSQL on PC.
Fix major issues in code readability.
Start Document how to work with Apptacular
See those AdventureWorks database items? They nearly killed me and made me want to stop work on Apptacular. AdventureWorks is like a cruel Double Dare obstacle course for code generation:
Composite primary keys
Composite foreign keys
Composite primary keys that are also foreign keys
Custom Datatypes
Constraints (Really only affected unit testing).
I came through, and now I can give you this list:
Make sure apptacular_blog database works on MySQL on MAC.
Make sure apptacular_blog database works on MySQL on PC.
Make sure sakila database works on MySQL on MAC.
Make sure sakila database works on MySQL on PC.
Make sure apptacular_blog database works on MSSQL on MAC.
Make sure apptacular_blog database works on MSSQL on PC.
Make sure adventureworks database works on MSSQL on MAC.
Make sure adventureworks database works on MSSQL on PC.
Fix major issues in code readability.
Start Document how to work with Apptacular
So that's where I am. A few of you asked if you could get your hands on Apptacular and I would be happy to distribute it to individuals. I'm not ready for general availability yet though.
And as a final note, I thought I would share this feature with you: Apptacular can model CRUD for image fields in your database.