Mobile Optimized ColdFusion Administrator

Posted By : todd sharp Posted At : August 11, 2010 10:26 AM Posted In: CFAM

0

Ray blogged about our collaborative project during CFUnited a few weeks ago but we had yet to release the code. I'm happy to announce that CFAM is now on RIAForge.

There is still an issue with using this app on the iPhone due to the admin API's use of <cflogin> that we have been unable to overcome as of yet. If anyone has a workaround we'd be glad to hear about it! Otherwise, please give it a try and let us know what you think.

Var Scoping In a For Loop - Watch Your Var Names

Posted By : todd sharp Posted At : August 4, 2010 3:47 PM Posted In: ColdFusion

3

I was doing some work with Dan Vega's Hyrule project yesterday and noticed some odd behavior where the validation routine would basically stop if I used an 'isMatch' validator. I checked the normal logs, etc and made sure there wasn't an errant abort or try/catch in the code and then I finally spotted the issue.

Basically it boils down to the fact that Dan had an outer and nested loop that were both var scoping the loop iterator of 'i'. This led to the unfortunate circumstance of prematurely ending the outer loop from completing. Consider the following code:

public void function foo(){
    for(var i=1; i<=3; i++){
        writeOutput('outer loop - i=' & i & '<br />');
        for(var i=1; i<=2; i++){
            writeOutput('inner loop - i=' & i & '<br />');
        }
    }
}

You might expect the following output from that code:

for loop good

But you'd actually get this:

for loop bad

That's because the inner loop overrides the assignment of 'i'. When the inner loop completes and the outer loop proceeds it realizes that 'i' is no longer less then or equal to 3 and it stops processing.

The lesson here is to be careful with your var scoping. You'll no longer get the luxury of ColdFusion telling you that a local variable can not be declared more then once. Also, remember the importance of variable naming. You won't get an error but you could end up with some seriously unexpected results.

Real Life RIA Powered By The Adobe Stack - CFUnited 2010

Posted By : todd sharp Posted At : July 30, 2010 4:23 PM Posted In: AIR, CFUnited, Flex, ColdFusion, CFUnited 2010, SlideSix

0

I created an online focused version of my slides from my Real Life RIA session at CFUnited. To check it out head past the jump.

CFUnited 2010 Presentations on SlideSix

Posted By : todd sharp Posted At : July 30, 2010 11:50 AM Posted In: CFUnited 2010

5

Just a quick note to let folks know about a few slide decks from CFUnited 2010 that have been uploaded to SlideSix. Here is a quick list of those presentations available at the time this blog post was published (please leave a comment if I missed one):

CFUnited Is Almost Here!

Posted By : todd sharp Posted At : July 21, 2010 9:49 AM Posted In: AIR, CFUnited, Flex, ColdFusion, CFUnited 2010, SlideSix

0

Wow, it's been six months since I wrote a post on the old blog here (I know you've all missed me)! The awesome news is that CFUnited is right around the corner - just a week away in fact! So, on to the important news...

Facial Recognition in 14 Lines Of ColdFusion

Posted By : todd sharp Posted At : January 21, 2010 2:05 PM Posted In: Java, ColdFusion

60

I was doing a bit of research on a potential project when I stumbled across faint, a Java facial recognition library and decided to give it a quick try.

The bad news is that the documentation is literally non-existent. So I did a bit of poking around the Jar and quickly found an 'OpenCVDetection' class. I dropped the faint Jar in my class path, restarted CF and about 5 minutes and 14 lines of code later I got the following result:

Getting Started With The SlideSix Presenter - Part 3

Posted By : todd sharp Posted At : December 18, 2009 11:10 AM Posted In: SlideSix

0

This is the third post in a series of posts introducing the SlideSix Presenter destkop application.  In this post we'll look at the navigating the notes and slides panels as well as how you can use the Twitter panel to monitor a backchannel while presenting.  We will also see how to broadcast live video and participate in a real-time chat session with your audience.

Getting Started With The SlideSix Presenter - Part 2

Posted By : todd sharp Posted At : December 15, 2009 9:01 PM Posted In: SlideSix

0

In this entry we'll start to take a look at the various 'panels' within the SlideSix Presenter desktop application.

How To Use The SlideSix Presenter - Part 1

Posted By : todd sharp Posted At : December 14, 2009 9:48 AM Posted In: SlideSix

0

I thought it might be helpful to start a short series of posts showing how to use the SlideSix Presenter desktop application. Most of the content in these posts will be coming directly from the user guide, but I'll break them up in to small chunks so they're easier to digest then the complete 24-odd page guide. Today I'll give a small intro, talk about logging in and then show some basic navigation.

Introducing The SlideSix Presenter Desktop Application

Posted By : todd sharp Posted At : December 11, 2009 1:33 PM Posted In: AIR, SlideSix

2

left_right_open I'm thrilled to announce the public beta launch of the SlideSix Presenter desktop application.  The SlideSix Presenter gives SlideSix users the ability to present materials to both a live and virtual audience at the same time.  That means that you can use the application to present your material just as you would with your legacy slideware program (including support for multiple monitors/displays), but in addition to all of the legacy slideware features you can simultaneously broadcast a your slides and a live video stream and interact with your virtual audience via real time text based chat in your own dedicated room on the web.  If you're brave you can also monitor Twitter for a given keyword or #hashtag for instant feedback and Q&A from your audience. 

To get started, download the SlideSix Presenter and the user guide.  Install the application by launching the file you downloaded (requires the latest version of Adobe AIR to be installed on your computer).  Here's a presentation with some video demos to introduce the app and show you some of the things that you can do:

Where do I get help?

The first place you should check is the onboard help system within the application itself.  In the presentation panel at the top of the application you'll see a 'Help' button that will display the onboard help system.  The help system contains a number of tutorials that cover specific functionality within the app as well as a list of Frequently Asked Questions that should help you figure things out if you get stuck. 

You can also check out the user guide as it will give you a comprehensive overview on all of the features and functionality within the application as well as detailed screenshots that walk you through performing specific tasks.  Finally, if you're really stuck feel free to post a message to the SlideSix Beta Google Group and we will do our best to help you out. 

What if I find a bug?

There are no bugs, my software is perfect.  OK, so that's not quite true.  If you find a bug please post a message to the SlideSix Beta Google Group and our crack staff (me) will do their (my) best to assist you.

Where do I get it?

SlideSix Presenter Download

User Guide