HTML5 vs. Flash: Is the Fight Important to the User?

A lot of people are passionately involved in the "one way or the other" debate surrounding Flash and HTML5. Some people contest that Flash is, and will be for some years to come, the most popular and accessible form of bringing media to the masses. Others have put forward the argument that Flash is outdated and incompatible with some modern devices, and HTML5 offers many improvements over Adobe's antiquated format.

What's the right answer? It's simple, if you're a user: it doesn't matter what the answer is Whether you're watching YouTube, a client presentation or a tournament on Partypoker, it's not going to make a huge amount of difference to you as long as the media is brought to your fingertips with ease. A lot of people forget that not everyone is a web developer, so whether that embedded funny video is in Flash or HTML5 isn't going to make the slightest bit of difference to them.

That isn't to imply that the average user is stupid and only enjoys funny videos - that's a generalisation that's only too easy to wield, much to the unhappiness of those being stereotyped. Ironically, it's also this demographic that will ensure your sales keep going up, so not pandering to the PEBKAC, "read the manual" mindset is probably for the best.

If you're wondering which to choose, ask yourself this - which do you enjoy most? Do you like working in Flash, whether everything is familiar and easy to do, or do you find the challenge of a new format with new capabilities exciting? Either way, it's worth being knowledgeable about both, as a HTML5 switch-over is a reasonable possibility.

Looking into the future, there's a lot of turmoil for those who live designing for the web the way it is now. But at the end of it, some of you will adapt, and some of you will die stubbornly. HTML5 and Flash won't take your souls, and neither will those who debate with you. Learn as much as you can, and experiment - and good luck doing so. See you on the other side.

evaluate() is still a cry for help

Line 169 of Entity.cfc from Blade 0.62 (an ORM example):


Even with all the CF9 conventions this is still the only way to do it?

Upgraded to Blade 0.62

My install of the Blade demo has survived an upgrade

moved to CF 9.0.1

This is just a test post to see if the move to CF 9.0.1 is all good.

I am checking out cfScaffold and Blade both examples using ORM.

ColdFusion applications do not really exist

This is a little counter-intuitive so I am quoting Ben Nadel here:

"ColdFusion applications do not really exist. At least not in the way you might think of a traditional desktop application that has a running process. ColdFusion applications do not have a constant process. Instead, they have memory scopes. Each application has its own name which ties it to a chunk of memory somewhere. Every time you define an application through the Application.cfc (or CFApplication), what you are really doing it associating the current page request to the chunk of memory that is associated with that application name.

When you start to look at ColdFusion applications this way, it becomes a little more clear why you cannot explicitly kill an application or a session; there simply is nothing to kill. An application doesn't run unless you have a running page that requests to be associated with it."

So how is a count of sessions calculated? Is it simply not gone until 8 hours (the default setting in the servers xml) has passed? Add it, wait 8 hours and subtract it?


<cffunction name="queryToAssociativeArray" returntype="struct"
                output="false" access="public"
hint="This turns a query into an struct of structures.">

<cfargument name="Data" type="query" required="yes" />
     <cfargument name="Key" type="string" required="yes" />

     var LOCAL = structNew();
         LOCAL.FromIndex = 1;
         LOCAL.ToIndex = ARGUMENTS.Data.RecordCount;
     // Get the column names as an array.
     LOCAL.Columns = listToArray( ARGUMENTS.Data.ColumnList );
     LOCAL.ColumnCount = ArrayLen( LOCAL.Columns );
     // Create an struct to keep all the objects.
         LOCAL.dataStruct = structNew();
     // Loop over the rows to create a structure for each row.
        for (LOCAL.RowIndex = LOCAL.FromIndex ; LOCAL.RowIndex LTE
LOCAL.ToIndex ; LOCAL.RowIndex = (LOCAL.RowIndex + 1)){

            // Create a new structure for this row.
            LOCAL.dataStruct[ARGUMENTS.Data[ ARGUMENTS.key ][ LOCAL.RowIndex ]]
= structNew();

            // Loop over the columns to set the structure values.
            for (LOCAL.ColumnIndex = 1 ; LOCAL.ColumnIndex LTE
LOCAL.ColumnCount ; LOCAL.ColumnIndex = (LOCAL.ColumnIndex + 1)){

                // Get the column value.
                LOCAL.ColumnName = LOCAL.Columns[ LOCAL.ColumnIndex ];

                // Set column value into the structure.
                LOCAL.dataStruct[ ARGUMENTS.Data[ ARGUMENTS.key ][ LOCAL.RowIndex
] ][ LOCAL.ColumnName ] = ARGUMENTS.Data[ LOCAL.ColumnName ][
LOCAL.RowIndex ];


        return( LOCAL.dataStruct );

shortcuts - really short cuts

Facebook Flickr
Yahoo Youtube

cfImage and Jcrop and RaphaelJS and ckeditor

Here is a nice use of the deepliquid Jcrop jQuery plugin by Matt Gifford

If you like this check out RaphaelJS

The fckEditor is now a jQuery plugin called ckeditor.

Stop using returnType="query" with ajax and jQuery

Would it be worth it to stop using returnType="query" with ajax and jQuery?

I could try to standardise the way the data returned uses JSON. I would prefer a structure that always has a key that I can use as an index.

Apache Axis 1.4. and Adobe Coldfusion 9

On the cfAussie list Mr Buzzy said he was able to upgrade to Apache Axis 1.4 for use with Adobe Coldfusion 9.

He warned that some official update releases will roll it back to Axis 1.2

Cant Adobe release some advice on this?

More Entries

BlogCFC was created by Raymond Camden. This blog is running version Contact Blog Owner