ColdFusion 8 Ajax Feed Reader
Posted By : todd sharp Posted At : February 12, 2008 4:01 PM Posted In: Ajax, ColdFusion
22
If you've ever checked out Ext you've probably seen the feed viewer sample application.
A while back I decided to see how quickly I could recreate that viewer using ColdFusion 8 Ajax. I ended up using some Spry bits for listeners - but overall much of the code is pretty simple. I'm not going to bother posting the code unless someone really wants to see it - I just wanted to get this out there as a cool demo of the power/simplicity of ColdFusion 8 Ajax.
Oh - I almost forgot - if you try to view a post from a BlogCFC blog it will bust out of the application and take over your window. This is not a bug but an intentional feature of BlogCFC to keep folks from harvesting your content. If you add a non-BlogCFC feed and try to view a post in a new tab you'll see the feature.



There are some external projects that aim to provide CF wrappers for Ext 2.0 but they're not native to the CF8 engine at this point.
So for complete, robust access to all Ext offers, you need to go past what's included in CF8 and use Ext v2.0.
Dreamweaver CS3 seems to have settled on Spry while CF8 has settled on Ext (1.0). Apparently, Adobe divisions do not talk to each other.
I can't decide between them. I find Ext (at least teh 1.0 version used in CF) to be difficult and frustrating to use. Prototype.js was easy. I haven't yet tried Spry.
For what its worth I think a lot of the functionality of CF8 was done a long time before Spry was ready. Had Spry been at the state it is now 2 years ago we would see lots more integration (in my estimation), and I suspect CF9 will show that.
I find spry dead simple for some tasks. Specifically form validation. Really handy. The data sorting and such available is also quite easy with spry.
Many thanks.
Also, I added the PUCO news feed and couldn't figure out how to remove it.
Ability to delete/modify feeds is a good idea - If I get the time I shall add that!
cheers
This is awesome! Can I get a copy of this source for research purposes? I want to understand the ideas and concepts you are presenting.
I'm in New Zealand and learning Mach-II right now and would like to see your code please. it would be a perfect way to learn two valuable things at once - Mach-II and Ajax.
Many thanks!
Edward
http://www.coldfusionjedi.com/index.cfm/2006/8/18/...
So to view them in tabs, each blog would have to remove that code...