Thursday, March 27, 2008

CFUnited Prize Draw code

I was asked yesterday if i could make this available, so here it is
The CFC is just this (table only contains firstname / lastname)


<cfcomponent>
<cffunction name="selectWinners" access="remote">
<cfquery name="winners" datasource="myDS">
select * from cfunited
</cfquery>
<cfreturn winners>
</cffunction>
</cfcomponent>

Friday, March 14, 2008

Demo's from CFUnited

The first archive can be found here
This is the Flex messaging app (with CF input) along with the mxml/as in a CFM page plus the CRM LCDS app (gateway screenshots included)

The next archive is the AIR producer and consumer that works with the messaging code above.
This is a Flex Builder archive, so just open up FB3 and import

The last (for now) archive is the chat rooms demo. Remember to edit your {cf_webroot}/WEB-INF/flex/messaging-config.xml file and add the following to the section of the ColdFusion Messaging Gateway
<server>
<allow-subtopics>true</allow-subtopics>

<subtopic-separator>.</subtopic-separator>

</server>

As a side note here, if anyone would like the prize draw picker, just let me know and i'll publish that as well


Thursday, March 13, 2008

CFUnited Europe Presentation

Hi all, i had a great time at CFUnited and it was great to see so many passionate CFers in Europe.
As promised here is my presentation (upload demo apps shortly), i have decided to use the Adobe SHARE beta for this PDF so also checkout SHARE on Adobe Labs