webdu 2012: web developer conference

Ray Camden

Some insight into how the Goog sees your feed. You might find it useful for trouble shooting - we certainly do.

Stomach Contents: Structure - struct
description Raymond Camden's personal blog covering jQuery, Mobile, ColdFusion, and Web Development.
docs http://blogs.law.harvard.edu/tech/rss
encoding UTF-8
feedExtension itunes
generator BlogCFC
item
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
value ColdFusion
description
Stomach Contents: Structure - struct
value ColdFusion 10 adds a nifty little feature to the VFS (Virtual File System) - support for FTP, HTTP, and ZIP. This means you can treat remote resources and zip files as if they were simple file systems. The docs don't go into great detail on this (and...
guid
Stomach Contents: Structure - struct
isPermaLink NO
value http://www.raymondcamden.com/index.cfm/2012/5/21/Nifty-little-trick-with-fileRead-and-ColdFusion-10
link http://www.raymondcamden.com/index.cfm/2012/5/21/Nifty-little-trick-with-fileRead-and-ColdFusion-10
pubDate Mon, 21 May 2012 09:46:00 GMT
title Nifty little trick with fileRead and ColdFusion 10
2
Stomach Contents: Structure - struct
category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
value JavaScript
2
Stomach Contents: Structure - struct
value HTML5
3
Stomach Contents: Structure - struct
value ColdFusion
description
Stomach Contents: Structure - struct
value Another year and another cfObjective is behind me. Every year this conference gets better and this year was no exception. The location is great (even with it under heavy remodeling), the food was great (although did they really need to feed me half a...
guid
Stomach Contents: Structure - struct
isPermaLink NO
value http://www.raymondcamden.com/index.cfm/2012/5/20/cfObjective-2012
link http://www.raymondcamden.com/index.cfm/2012/5/20/cfObjective-2012
pubDate Sun, 20 May 2012 09:38:00 GMT
title cfObjective 2012
3
Stomach Contents: Structure - struct
category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
value ColdFusion
description
Stomach Contents: Structure - struct
value While at cfObjective, Sumit Verma from Slatwall let me know that they are doing an Adobe E-Seminar next week on the product. Slatwall is a free, open source e-commerce product that plugs into Mura CMS, another good, free, open source ColdFusion produ...
guid
Stomach Contents: Structure - struct
isPermaLink NO
value http://www.raymondcamden.com/index.cfm/2012/5/18/ESeminar-on-Slatwall-next-week
link http://www.raymondcamden.com/index.cfm/2012/5/18/ESeminar-on-Slatwall-next-week
pubDate Fri, 18 May 2012 17:43:00 GMT
title E-Seminar on Slatwall next week
4
Stomach Contents: Structure - struct
category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
value Development
description
Stomach Contents: Structure - struct
value First off - a big thank you to everyone who attended my presentation at cfObjective today. I hope it was a useful introduction to some of the cool new stuff in HTML5. That sounds really lame, but it's honestly how I feel. The web (well the front end)...
guid
Stomach Contents: Structure - struct
isPermaLink NO
value http://www.raymondcamden.com/index.cfm/2012/5/17/Slides-code-from-my-HTML5-Presentation
link http://www.raymondcamden.com/index.cfm/2012/5/17/Slides-code-from-my-HTML5-Presentation
pubDate Thu, 17 May 2012 15:45:00 GMT
title Slides, code, from my HTML5 Presentation
5
Stomach Contents: Structure - struct
category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
value ColdFusion
description
Stomach Contents: Structure - struct
value Just passing along this important information about the availability of ColdFusion 9: <a href="http://blogs.coldfusion.com/post.cfm/availability-of-coldfusion-9">Availability of ColdFusion 9</a>
guid
Stomach Contents: Structure - struct
isPermaLink NO
value http://www.raymondcamden.com/index.cfm/2012/5/17/Important-note-on-availability-of-ColdFusion-9
link http://www.raymondcamden.com/index.cfm/2012/5/17/Important-note-on-availability-of-ColdFusion-9
pubDate Thu, 17 May 2012 11:21:00 GMT
title Important note on availability of ColdFusion 9
6
Stomach Contents: Structure - struct
category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
value Mobile
2
Stomach Contents: Structure - struct
value Development
3
Stomach Contents: Structure - struct
value jQuery
4
Stomach Contents: Structure - struct
value JavaScript
5
Stomach Contents: Structure - struct
value HTML5
description
Stomach Contents: Structure - struct
value Ben Forta pinged me with an interesting question (and when the Forta pings you, you respond) that I thought I'd share here. It's one of those "best practices" questions that really has no best answer, so as always, I'm very eager to hear what my read...
guid
Stomach Contents: Structure - struct
isPermaLink NO
value http://www.raymondcamden.com/index.cfm/2012/5/16/Some-thoughts-on-organizing-a-large-jQuery-Mobile-project
link http://www.raymondcamden.com/index.cfm/2012/5/16/Some-thoughts-on-organizing-a-large-jQuery-Mobile-project
pubDate Wed, 16 May 2012 13:38:00 GMT
title Some thoughts on organizing a large jQuery Mobile project
7
Stomach Contents: Structure - struct
category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
value ColdFusion
description
Stomach Contents: Structure - struct
value <img src="http://www.raymondcamden.com/images/fc1e2337-df26-793e-801c-8558803b8cde.jpg" style="float:left;margin-right: 5px" /> Title says it all. You can now download the final release of <a href="http://www.adobe.com/products/coldfusion-family.html">ColdFusion 10</a>. There's been a lot of press/blog entries/presentations/videos already on this release so I won't repeat the feature list, but you can see even more new videos on <a href="http://tv.adobe.com/product/coldfusion/">Adobe TV</a>.
guid
Stomach Contents: Structure - struct
isPermaLink NO
value http://www.raymondcamden.com/index.cfm/2012/5/14/ColdFusion-10-Released
link http://www.raymondcamden.com/index.cfm/2012/5/14/ColdFusion-10-Released
pubDate Tue, 15 May 2012 02:27:00 GMT
title ColdFusion 10 Released
8
Stomach Contents: Structure - struct
category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
value Development
2
Stomach Contents: Structure - struct
value jQuery
3
Stomach Contents: Structure - struct
value JavaScript
4
Stomach Contents: Structure - struct
value HTML5
description
Stomach Contents: Structure - struct
value One truly disappointing aspect of IndexedDB is that there is no (simple) support for search across your data. It is very much based on the idea of knowing your keys and fetching data based on those keys. You can easily retrieve the "Ray" user object,...
guid
Stomach Contents: Structure - struct
isPermaLink NO
value http://www.raymondcamden.com/index.cfm/2012/5/14/Adding-Filter-as-you-type-support-to-IndexedDB
link http://www.raymondcamden.com/index.cfm/2012/5/14/Adding-Filter-as-you-type-support-to-IndexedDB
pubDate Mon, 14 May 2012 17:36:00 GMT
title Adding "Filter as you type" support to IndexedDB
9
Stomach Contents: Structure - struct
category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
value jQuery
2
Stomach Contents: Structure - struct
value JavaScript
3
Stomach Contents: Structure - struct
value HTML5
4
Stomach Contents: Structure - struct
value ColdFusion
description
Stomach Contents: Structure - struct
value While preparing for my <a href="http://www.raymondcamden.com/index.cfm/2012/5/9/Recording-slides-and-code-from-my-WebSockets-presentation">presentation</a> earlier this week on WebSockets and ColdFusion 10, I ran into an issue trying to wrap my head around one of the features: invokeAndPublish. The docs describe it like so:<blockquote> Invokes a specified method in a CFC file to generate the message that has to be published. Used in scenarios where you have raw data (that needs to be processed) to create a message. </blockquote> They then go on to discuss the JavaScript-side of the feature but not the ColdFusion feature. I couldn't quite get what was going on here until I built a simple demo. Now - it makes sense. As described above - you would use invokeAndPublish when you need ColdFusion to manipulate the message data. Remember, WebSockets are not just for simple messages. You can easily send more complex data as well. (And I'm hoping to do some blog posts showing this soon.) So imagine for a moment you need something that JavaScript can't do (or can't do quickly) that is trivial in ColdFusion. You can use invokeAndPublish to run your CFC method and have it generate the result to the other listeners on the WebSocket. Let's look at a somewhat trivial example of this. First - I've got my Application.cfc that sets up my recognized WebSocket channels. If you didn't attend my presentation, or haven't read the docs yet, this is simply how we enumerate what channels are available to be used. <script src="https://gist.github.com/2661583.js?file=gistfile1.cfm"></script> There are a few things in here I want you to ignore for right now so for now - let's carry on. Next up is our front end. This is an incredibly simple chat type application. You enter text - it gets broadcast - and when messages come in they get printed to screen. That's it. <script src="https://gist.github.com/2661637.js?file=gistfile1.cfm"></script> You can demo this now here: <a href="http://fivetag-cf10beta.securecb1cf10.ezhostingserver.com/websocketmay11/">http://fivetag-cf10beta.securecb1cf10.ezhostingserver.com/websocketmay11/</a> Ok - so what about invokeAndPublish? This is a method on the JavaScript object. It takes 5 arguments: <ul> <li>The websocket channel. <li>CFC name. <b>This is dot notation and NOT a relative path. This is crucial!</b> Remember in my Application.cfc where I made a root CF mapping? I did that because I have to use a mapping to refer to my CFC. So imagine I want to hit chat.cfc in the same folder. Instead of simply using "chat", which the docs seem to imply would work, I must use "root.chat". <li>CFC method. <li>Array of arguments for the CFC. Not a structure, but an array. You will want to ensure you nicely list out your arguments in the method. This is optional. <li>A structure of custom headers. Almost all your WebSocket operations allow for custom headers. This can include a selector as well as anything else you want to send along the wire. </ul> The other <b>very critical</b> thing you want to know is that the CFC is cached. Hence the "URL hook" in my Application.cfc file to handle reloads. Every time you work on the CFC file you will want to reload the application. Let's consider a simple example where we want to use ColdFusion to count the length of a string. Yes - you can easily do this in JavaScript. I built a CFC that has a method to accept a string and return the length plus the original string: <script src="https://gist.github.com/2661698.js?file=gistfile1.cfm"></script> Nothing too crazy there, right? One things the docs don't make clear is that your CFC should return the value. You don't use wsPublish. Anything you return from the CFC is broadcast like a regular message. (And to be clear, you can also return complex values here.) On the front end, the change is minimal: <script src="https://gist.github.com/2661726.js?file=gistfile1.cfm"></script> A grand total of one line changed. Instead of myWS.publish() I've got myWS.invokeAndPublish. My code that listens for responses didn't need to change. Basically, all we've done is said, "Hey, I need ColdFusion to quickly modify stuff before the rest of the world gets it." You can demo this version by hitting the big ole demo button below. Hope this helps! <a href="http://fivetag-cf10beta.securecb1cf10.ezhostingserver.com/websocketmay11/index2.cfm"><img src="http://www.raymondcamden.com/images/icon_128.png" title="Demo, Baby" border="0"></a>
guid
Stomach Contents: Structure - struct
isPermaLink NO
value http://www.raymondcamden.com/index.cfm/2012/5/11/Example-of-invokeAndPublish-with-WebSockets-and-ColdFusion-10
link http://www.raymondcamden.com/index.cfm/2012/5/11/Example-of-invokeAndPublish-with-WebSockets-and-ColdFusion-10
pubDate Fri, 11 May 2012 17:27:00 GMT
title Example of invokeAndPublish with WebSockets and ColdFusion 10
10
Stomach Contents: Structure - struct
category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
value jQuery
2
Stomach Contents: Structure - struct
value JavaScript
3
Stomach Contents: Structure - struct
value HTML5
4
Stomach Contents: Structure - struct
value ColdFusion
description
Stomach Contents: Structure - struct
value Earlier this week Steve wrote to me asking how to use data retrieved in a ColdFusion Component in a Handlebars template. While ColdFusion makes it trivial to serve up query data via JSON, the result format isn't always easy to use in JavaScript utili...
guid
Stomach Contents: Structure - struct
isPermaLink NO
value http://www.raymondcamden.com/index.cfm/2012/5/11/Using-CFC-data-with-Handlebars
link http://www.raymondcamden.com/index.cfm/2012/5/11/Using-CFC-data-with-Handlebars
pubDate Fri, 11 May 2012 13:46:00 GMT
title Using CFC data with Handlebars
11
Stomach Contents: Structure - struct
category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
value Mobile
2
Stomach Contents: Structure - struct
value Development
3
Stomach Contents: Structure - struct
value JavaScript
description
Stomach Contents: Structure - struct
value In case you haven't figured it out yet, debugging in mobile is "sub-optimal". (Whatever you do - don't do a Google Images search on sub-optimal.) Brian Leroux has an epic presentation on the topic and I highly encourage taking a look through it. I th...
guid
Stomach Contents: Structure - struct
isPermaLink NO
value http://www.raymondcamden.com/index.cfm/2012/5/10/Setting-up-console-debugging-for-PhoneGap-and-Android
link http://www.raymondcamden.com/index.cfm/2012/5/10/Setting-up-console-debugging-for-PhoneGap-and-Android
pubDate Thu, 10 May 2012 14:08:00 GMT
title Setting up console debugging for PhoneGap and Android
12
Stomach Contents: Structure - struct
category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
value Development
2
Stomach Contents: Structure - struct
value JavaScript
3
Stomach Contents: Structure - struct
value HTML5
4
Stomach Contents: Structure - struct
value ColdFusion
description
Stomach Contents: Structure - struct
value Enjoy. I'm going to have some followup blog posts on this coming up this week. Recording URL: http://experts.adobeconnect.com/p459pvx19cw/ The demo files may be found at the bottom of this blog post. Using WebSockets with ColdFusion View ...
enclosure
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
length 1909962
type application/x-zip-compressed
url http://www.raymondcamden.com/enclosures/Websockets with ColdFusion.zip
guid
Stomach Contents: Structure - struct
isPermaLink NO
value http://www.raymondcamden.com/index.cfm/2012/5/9/Recording-slides-and-code-from-my-WebSockets-presentation
link http://www.raymondcamden.com/index.cfm/2012/5/9/Recording-slides-and-code-from-my-WebSockets-presentation
pubDate Thu, 10 May 2012 00:43:00 GMT
title Recording, slides, and code from my WebSockets presentation
13
Stomach Contents: Structure - struct
category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
value Mobile
2
Stomach Contents: Structure - struct
value Development
3
Stomach Contents: Structure - struct
value JavaScript
4
Stomach Contents: Structure - struct
value HTML5
description
Stomach Contents: Structure - struct
value First off - a huge thank you to everyone who came to our PhoneGap Open Q and A today. We had more than 50 attendees for most of the two hour block which I think is a great turnout. We even had a troll (for a few minutes), so that means we must be doi...
enclosure
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
length 608560
type application/x-zip-compressed
url http://www.raymondcamden.com/enclosures/sessionlogs.zip
guid
Stomach Contents: Structure - struct
isPermaLink NO
value http://www.raymondcamden.com/index.cfm/2012/5/8/Transcripts-from-PhoneGap-Session
link http://www.raymondcamden.com/index.cfm/2012/5/8/Transcripts-from-PhoneGap-Session
pubDate Tue, 08 May 2012 20:31:00 GMT
title Transcripts from PhoneGap Session
14
Stomach Contents: Structure - struct
category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
value ColdFusion
description
Stomach Contents: Structure - struct
value Just a quick shout out to remember the BOFs (Birds of a Feather) at this year's cfObjective. You can see the full list here: Birds of a Feather Sessions Announced. While they are all cool, I wanted to call out the CFScript Community Components BOF be...
guid
Stomach Contents: Structure - struct
isPermaLink NO
value http://www.raymondcamden.com/index.cfm/2012/5/8/Very-cool-BOF-at-cfObjective
link http://www.raymondcamden.com/index.cfm/2012/5/8/Very-cool-BOF-at-cfObjective
pubDate Tue, 08 May 2012 13:17:00 GMT
title Very cool BOF at cfObjective
15
Stomach Contents: Structure - struct
category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
value Mobile
2
Stomach Contents: Structure - struct
value Development
3
Stomach Contents: Structure - struct
value HTML5
description
Stomach Contents: Structure - struct
value Curious about PhoneGap? Have questions? Tomorrow, Andrew Trice and myself are hosting a 2-hour Adobe Connect session on PhoneGap. This will be an open session for your questions, not a presentation. The Connect URL is: http://my.adobeconnect.com/adob...
guid
Stomach Contents: Structure - struct
isPermaLink NO
value http://www.raymondcamden.com/index.cfm/2012/5/7/Open-Session-on-PhoneGap-Development
link http://www.raymondcamden.com/index.cfm/2012/5/7/Open-Session-on-PhoneGap-Development
pubDate Mon, 07 May 2012 12:59:00 GMT
title Open Session on PhoneGap Development
itunes_block no
itunes_category
Stomach Contents: Structure - array
1
Stomach Contents: Structure - struct
category Technology
2
Stomach Contents: Structure - struct
category Technology
subcategory Podcasting
3
Stomach Contents: Structure - struct
category Technology
subcategory Tech News
itunes_explicit no
itunes_owner
Stomach Contents: Structure - struct
itunes_email raymondcamden@gmail.com
language en-us
lastBuildDate Mon, 21 May 2012 09:46:00 GMT
link http://www.raymondcamden.com/index.cfm
managingEditor raymondcamden@gmail.com
pubDate Mon, 21 May 2012 18:54:39 GMT
title Raymond Camden's Blog
version rss_2.0
webMaster raymondcamden@gmail.com

Raymond Camden

Adobe developer evangelist. HTML5/Mobile/ColdFusion developer and Star Wars nut. http://www.raymondcamden.com

@cfloveorg you can fix that ;)@cfjedimaster

Lafayette, LA

Ray Camden's Beard

Beard of a ColdFusion/Ajax/AIR/Flex developer and Star Wars nut. Not the views of CFJediMaster, but his beard. null

@fymd @cfjedimaster I thought my copy wouldn't cost that much, it's scaled down (less paper)@cfjedibeard

Ray Camden's Chin