Adrocknaphobia

May 13 2008

ColdFusion Demos v. 2

Posted by Adrock at 2:06 PM
15 comments
- Categories: ColdFusion

I’ve spent the last few days in NYC with the rest of Evangelist team. The purpose of the offsite meeting is to share knowledge of existing products and get a peek at things to come. To kickoff the meeting, I talked about ColdFusion and made sure that everyone on the team knew how to build services and access them through Flex/Ajax. So next time you see an Adobe Evangelist demoing Flex with PHP/Ruby/Java… be sure to chastise them, cuz now there is no excuse.

Anyway, as part of my preparation I took some time to clean up my demos and packaged them up into an archive. I’ve shared a lot of these before one-on-one so you may already have a CF8Demo.zip lying around. I’m considering this rev version 2.

Version 2 includes:

  • Ajax Proxy / JavaScript Remoting
  • UI Controls
  • Application Wizards
    • Flex
    • Ajax
  • Captcha
  • .NET
  • Windows System Log Viewer
  • System Processes (AJAX/Flex/AIR)
  • Flex Chat (LCDS/ColdFusion)
    • Chat room
    • Buddy chat
  • Guided Forms (Flex to PDF via ColdFusion)
  • PDF Merge
  • PDF Forms (Help Desk)
  • PDF Editor
  • On Demand Presentations

 


Just drop everything in your web root and setup a datasource named ‘cfartgallery’. Everything runs on the default cfartgallery database that ships with ColdFusion 8.

Hope this is helpful. I’ve got a couple more entries back logged that I’ll release soon that dive into some of these a bit more.

Download it here

Comments

Todd Sharp

Todd Sharp wrote on 05/13/08 3:16 PM

Hey Adam,

Thanks for posting this. I just downloaded the package to check some things out and noticed you're using App.cfm and onRequestEnd.cfm for layout purposes. That's kind of odd and not really an example of best practices I'd say. Is there a reason you did this, or were you just doing the quick and dirty way?

Also, you may want to add a clear:both after the div's in your layout. Otherwise debug info floats too (if turned on) and looks kinda yucky.
todd sharp

todd sharp wrote on 05/13/08 3:17 PM

Also, any chance you could give some insight on setting up the necessary BlazeDS bits to get the chat demos working?

Also Also - looks like your 'Remember my Info' cookies aren't working...
todd sharp

todd sharp wrote on 05/13/08 3:29 PM

I'm really not trying to find problems, but I tried to run the Window (Styled) demo and got ' The specified CFC com.art could not be found.' I looked in /com and don't see an art.cfc.

Oh - and your 'remember me' worked this time. Maybe I didn't check it the first time... :D
Adrock

Adrock wrote on 05/13/08 10:05 PM

@Todd - Thanks for the 2nd set of eyes. I threw the archive together fairly quick and did some minor updates on all the demos. Looks like I missed the styled windows one. I've uploaded a new version with a couple of fixes (and even included my flex config files for FlexChat).

Speaking of FlexChat, that's one of the blog entries I've been working on. I hoping to wrap it up soon (possibly tomorrow during the Adobe Community Summit). The version in the above package uses the built-in LCDS (the CF8 optional install). I've been writing my entry for BlazeDS 2.6 (currently in public beta).

I completely agree about it not being a good idea to include html headers and footers with Application.cfm and onRequestEnd.cfm. I needed something quick and easy that didn't interfere with the individual demos. I put comment in both files with my justification.
todd sharp

todd sharp wrote on 05/14/08 8:22 AM

Glad to help. On another note, I didn't receive any emails notifying me of your reply on the comment thread. I'm 99% sure I did click 'subscribe' and I did check my spam folder - nothing there. Is something up with your email?
Brian Klaas

Brian Klaas wrote on 05/14/08 8:57 AM

Thanks for putting this together, Adam. Very helpful for those of us who haven't explored everything CF8 has to offer (like .NET integration and LCDS).
David

David wrote on 05/19/08 12:49 AM

I've been reading up on the ColdFusion opensource debate, while simultaneously appreciating all that went into CF8 and 8.1. I used CF8 to build a front-end to Amazon's primary web services (see my site link), and it got me thinking that Adobe could really capitalize on the whole "innovation" thing (since that seems to be the marketing thrust these days) by offer a paid AMI (Amazon Machine Image) that developers and regular folks could start using asap. That's one idea. I posted this to Jason Delmore but he seemed to think the bean counters at Adobe would have problems with how it affects overall licensing and revenue. I understand you can't cannibalize your off-the-shelf product with a ColdFusion "service" per se, but I'm sure a compromise could be found (MUST be found if you want to remain a leader).

Second idea is to come up with a cloud-compute license in general...you are seriously going to need it since cloud computing is the future of hosting (mark my words..this will define web 3.0). So please don't fall behind in this respect.

Finally, there is so much power to harness behind Amazon's EC2 network that IMHO true innovation would be something like Adobe partnering with Amazon to offer built-in hosting services or something like that. Imagine opening CF out of the box and it came with its very own customizable hosting platform with unlimited storage, unlimited compute power and cloud database option. I'm talking about features built into the CF admin screen to start up EC2 instances, set up storage space, database space (SimpleDB) etc., not just the paid AMI thing, although that could come first please.

I have seen the future, and Adobe could do SO much with Amazon and cloud computing that it would simply blow away all competition, free or otherwise. If Adobe's 10-second elevator pitch is about innovation then you should be thinking about this NOW. Let's see something in CF10 that addresses all this. Thanks for listening.
George

George wrote on 05/19/08 9:54 PM

This is good stuff mate! Thank you for sharing this. I am actually excited about giving PDF merge and chat a go. Hard to complain about anything that's free right? Thank you.

George
Charlie Arehart

Charlie Arehart wrote on 05/20/08 10:08 AM

Hey man, great stuff. Should help many in doing demos for others or learning for themselves. Thanks very much for publishing it.

If you're open to expanding the demos, how about adding one that shows the new date popup (cfinput type="datefield"). Many never notice that, and whenever I show it to people they're really excited about it..
chris hough

chris hough wrote on 05/21/08 2:12 PM

excellent demos, thank you for putting these together
ankara evden eve nakliyat

ankara evden eve nakliyat wrote on 06/10/08 6:30 AM

very nice working.
thanks.
web design

web design wrote on 06/20/08 8:18 PM

nice .. sounds exciting for the future!!
Steve Good

Steve Good wrote on 06/23/08 6:07 PM

I just downloaded the examples and they are awesome, but I didn't see an of the MXML used to create the flexchat apps. I rewatched your preso from the adobe developer week but wasn't able to catch all the code. Do you have any plans to share the MXML you used? I'm still trying to wrap my head around using flex and lcds with CF8.

Thanks!
~Steve
online marketing

online marketing wrote on 07/03/08 6:22 AM

looking forward to seeing more on this!! .. ;)
online marketing

online marketing wrote on 07/03/08 6:22 AM

v2 rocks .. bring it on!
Reply
Add a Comment



(it will not be displayed)






© 2007 Adam Wayne Lehman & Rachel Maxim - All Rights Reserved