Update to RIAForge Today (and a little secret)
Just a quick note about a change I did to RIAForge this morning. Before I go on however, please note that I can't answer any questions about this, so please do not ask.
So this morning I added screenshots to RIAForge. This means project owners can upload screenshots of their applications to help give people an idea of how their project looks. As an example, check out the screenshots I uploaded for Lighthouse Pro.
Did I do this with a third party extension or funky Java code? Nope, I just used the new <cfimage> tags in Scorpio. (Oh, did I mention RIAForge is running on Scorpio now? You should note that this is NOT allowed and is a violation of the NDA. But I was given special permission by the ColdFusion team to do this. Otherwise I'd be dead now. Seriously.) I have one tag to read in the uploaded image:
<cfimage action="read" name="yourimage" source="#ifile#">
and another few lines of code to do a quick resize for my thumbnail:
<!--- create a unique file name --->
<cfset tfilePath = fileupload.serverdirectory & "/" & replace(createUUID(),"-","_","all") & ".gif">
<!--- resize proportionally to 125 wide --->
<cfset imageResize(yourimage, 125,"")>
<!--- save the sucker --->
<cfimage action="write" source="#yourimage#" destination="#tfilePath#">
Nifty.
Comments
As a Mac user now, you have taken an oath to promote only OS X! :-)
Hopefully they'll make it "feature rich". Are you allowed to tell us what the native format is when coldfusion reads an image and puts it into a variable.. what kind of object is it?
This question you can probably answer. Does this mean that you are a Beta tester and that they have been picked (and I missed out)
Or your just more inner circle than the beta testing program.
With the Alagad component, you can blur the image before resizing to achieve better results. I'm hoping they optimize the resize quality before the final release.
Thanks for the little preview and the added functionality though Ray! ;D
Sal, MG is indeed running on Scorpio, and it is LOTS faster than on CFMX7.
Rick, it supports multiple formats, all of the obvious ones.
Dale, the beta has not yet started, if you've not heard from us yet that does not mean that you are not in. Hold on a little longer. Oh, FYI, it was I who pushed Ray to move RIAForge to Scorpio, and FWIW, there are actually public facing Adobe.com sites that have been running on Scorpio since the earliest alpha days. What better way to test the thing - we want this to be rock solid when it ships, and so while pre-release testers are not allowed to use the products on public facing sites, we do make special exceptions in controlled environments where it'll help us better the product.
Joe, yes it is. I demonstrated that at MAX in the opening keynote. Actually, so did Tim in his Day 3 sneak, and that was all shown in the session on imaging.
But I can't answer questions. Oops! ;-)
--- Ben
That explains so much, thanks!
Good to hear it's gotten faster. Read an article about (don't laugh) MySpace's infrastructure and how they switched from CF to BlueDragon because of performance.
my pocket change anyhow.
Most CF devs have never, ever seen any of the MySpace CFML code, so how could they know? Most CF devs have never built a single web site that gets even 1% of the traffic that MySpace gets, so how would they know what it takes to build such a web site?
"ColdFusion could have easily supported MySpace with the proper development methodology"
"CFMX7 can easily handle MySpace, built correctly..."
Yet the exact same CFML code runs perfectly fine on BlueDragon.NET? (It had to be the exact same code while they transitioned from CF5 to BD.NET so the code could run on either server). You're saying that crappy CFML code runs perfectly fine on BlueDragon, but only CFML code "built correctly" using "proper development methodology" is suitable for running on CFMX? If crappy CFML code runs better on BlueDragon than on CFMX, would't good CFML also run better on BlueDragon than on CFMX?
Yet the exact same CFML code runs perfectly fine on BlueDragon.NET? (It had to be the exact same code while they transitioned from CF5 to BD.NET so the code could run on either server). You're saying that crappy CFML code runs perfectly fine on BlueDragon, but only CFML code "built correctly" using "proper development methodology" is suitable for running on CFMX? If crappy CFML code runs better on BlueDragon than on CFMX, would't good CFML also run better on BlueDragon than on CFMX?
# Posted By vinceb | 1/31/07 11:32 AM
= = =
crappier html code used to run better on internet exploder than on old netscape or early mozilla because of quirks mode etc. It doesn't make the HTML any less poorly coded for a thin analogy /shrug.
when myspace first started seeing massive slowdowns they did state publically about their design process and how it affected the performance today.... its not like the people above were making it up.
I think that it would be cool for them to publish a fake dataset (like netflix has done) to allow developers to hack on new features...friend/message search anyone? Or maybe some way to tag/label/group friends...? But I guess that searching might reduce page views...and we know how important add revenue is.
Sorry for the OT rant. I'll take my _Former_Team_Allaire_ self back to hermit cave.


RIAForge continues to break new ground... I am very impressed they allowed the upgrade.
dw