• Link Title

    Short description of the page you're linking to

ColdFusion Builder Beta 2 & Flash Builder Beta 2 on MAC OSX

Finally I got the Flash Builder Beta2 and ColdFusion Builder Beta 2 working in one eclipse version.

  1. Download eclipse ver 3.4 (3.4.2 did not work)
  2. Install Flash Builder as a plugin
  3. Install ColdFusion Builder as a plugin.

Note: Eclipse 3.4 introduces a neat concept called dropins.

Filed under: Uncategorized | No Comments

Getting Time Machine to work on an Unsupported NAS

http://appleclinic.wordpress.com/2008/10/30/time-machine-on-nas/

Filed under: Uncategorized | No Comments

Flex Performance Tips

Nice Article @

http://www.insideria.com/2009/09/50-most-usable-rias.html

Filed under: Flex Performace Tips | 1 Comment

MAC PRO TIPS

For reason unknown to me, I seem to find things out the hard way!

Apple has a list of pro tips for your mac.

http://www.apple.com/pro/tips/

Enjoy!!!

Filed under: Uncategorized | 1 Comment

Railo 3.1 Vs ColdFusion 8 vs ColdFusion 9 (beta)

I wanted to see how Railo stands up against ColdFusion 8 and ColdFusion 9 Beta.

Hardware: Mac OS x 10.5.8, 2ghz 2gb ram.

Servers:

  1. Railo 3.1.1 with resin webserver
  2. ColdFusion 8 on JRun Multi-instance
  3. ColdFusion 9 as standalone install

Continue reading…

Filed under: ColdFusion, Uncategorized | 3 Comments

Flex Messaging on ColdFusion with BlazeDs

Curiosity got the  better of us at work this past week, we decided it was a good idea to test BlazeDs with ColdFusion and verify if we can get the Flex Messaging Service running and connected with our flex application.

On my laptop I got ColdFusion8 running with BlazeDS v 3.2 thanks to a post by Aaron West this was easy figuring out how to get access to the FMS Gateway within flex was shall I say a *****.

How to install BlazeDS on ColdFusion 8

Please watch the video on how to install Blaze DS on ColdFusion (running LCDS ES)

http://www.trajiklyhip.com/blog/index.cfm/2008/8/28/Integrating-BlazeDS-with-ColdFusion-8

NOTE: You may want to use the latest version of ColdFusion and Blaze available on Adobe's website.

Configure Flex Messaging Service on ColdFusion 8

Once we have ColdFusion 8 running with Flex the journey begins…

Step 1: We need to create a custom defination (I read somewhere we can do this realtime in Java, not sure how yet.)

Edit the messaging-config.xml file and add the following few lines of code

  1. <!-- ================================================== -->
  2. <!-- Flex Messaging Service                                                     -->
  3. <!-- ================================================== -->
  4. <destination id="myTestAppAdapter">
  5. <adapter ref="actionscript" />
  6. <channels>
  7. <channel ref="java-polling-amf" />
  8. </channels>
  9. </destination>
note: The "<adapter ref="actionscript" />" is really important, most Blaze tutorials do not include this single line of xml defination.

Flex Application as a Consumer & Producer for the FMS destination

  1. /**
  2. * Please change your domain name in the channel defination
  3. * You could use a variable that is passed to the application using FlashVars
  4. *
  5. * If you are not compiling against a services-config.xml you need to
  6. * specify the channel and the channelset definations here
  7. **/
  8. import mx.messaging.messages.AsyncMessage;
  9.  
  10. var c:Channel = new AMFChannel("java-polling-amf", "http://localhost:8300/flex2gateway/amfpolling" );
  11. var cs:ChannelSet = new ChannelSet();
  12. cs.addChannel(c);
  13.  
  14. /**
  15. * A producer is the creator of messages
  16. * we will use producer.send( msg:AsyncMessage ) to broadcast messages
  17. */
  18. var producer:Producer = new Producer();
  19. producer.channelSet = cs;
  20.  
  21. // destination as specified in the XML File
  22. producer.destination = "myTestAppAdapter";
  23. producer.addEventListener(ChannelFaultEvent.FAULT, channelFault );
  24. producer.addEventListener(ChannelEvent.CONNECT, channelConnect );
  25. producer.addEventListener(ChannelEvent.DISCONNECT, channelDisconnect );
  26.  
  27.  
  28. /**
  29. * A consumer listens to messages from Flex Messaging Service
  30. */
  31. var consumer:Consumer = new Consumer();
  32. consumer.channelSet = cs;
  33.  
  34. // destination as specified in the XML File
  35. consumer.destination = "myTestAppAdapter";
  36. consumer.addEventListener(MessageEvent.MESSAGE, receiveMessage);
  37.  
  38.  
  39. // connect to the Messaging Service
  40. consumer.subscribe();

Function samples to dispatch and receive messages

  1. ////////////////////////////////////////////
  2. ////    Receive Message from server             ////
  3. ////////////////////////////////////////////
  4. protected function receiveChatMessage(event:MessageEvent):void
  5. {
  6. var msg:AsyncMessage = event.message as AsyncMessage;
  7. }
  8.  
  9. ////////////////////////////////////////////
  10. ////    Send Message to Server                  ////
  11. ////////////////////////////////////////////
  12. protected function sendMessage():void
  13. {
  14. producer.send( new AsyncMessage( [body], [header] ) );
  15. }

Note: Special thanks to Steve Brownlee (http://www.fusioncube.net) & Arron West for help with BlazeDs configuration.

Filed under: BlazeDS, ColdFusion, Flex, Uncategorized | 3 Comments

I’m Back

Sorry my server was unavailable for a while, the laptop I was using was acting up.

Got me an ASUS eee 1000HA to be my webserver running ubuntu & wordpress…

Filed under: Uncategorized | 1 Comment

Let the mind games begin

I intend to participate in a 200 mile bike race this year spanning 5 day’s this is just me preping my mind…

Filed under: Uncategorized | No Comments

Work Order Request Form

The work order request form is a Swiz Framework sample application, it is powered using Flex 3, ColdFusion 8.1 and My Sql 5.1.

To install and run this sample you will need the following applications

  • Adobe ColdFusion 8 (http://www.adobe.com/products/coldfusion/)
  • My SQL 5.1 (http://www.mysql.com/)
  • ColdSpring 1.2 (http://coldspringframework.org/)
  • Swiz Framework

Pre-Install Check list

  • Please verify you have Adobe ColdFusion 8+ installed.
  • Please verify you My SQL 5+ installed.
  • Please verify you have the ColdSpring Framework installed.

FEATURES

  • Request Creation
  • Approvals Routing
  • Email Messages (disabled)
  • Notes
  • Multiple Attachments
  • SOA Framework

INSTALL INSTRUCTIONS

DATABASE

  • Log into My SQL as root and execute the following scripts
  • worf_db\CREATE_TABLES_01.sql (this creates the “WORF” schema and tables the application needs)
  • worf_db\insert_worf_base_data_02.sql (this inserts the base data that the application requires to run)
  • You may want to create a database user and grant all access to the WORF screma, you may also use root as the user.
  • Access the ColdFusion Administrator and create a “WORF” datasource pointing to the work schema on the my sql server

WEB FILES

  • Copy the contents of the worf directory withing the archive into [WEB-ROOT]\webapps\worf
  • You can then access the application using http://LOCALHOST:[port]/webapps/worf/index.cfm

FLEX FILES

  • The files withing worfflex are a standard Flex Builder 3 project files.
  • DO NOT FORGET THE “-keep-as3-metadata+=Autowire,Mediate” compiler argument.
  • This application requires some FlashVars to be passed to it, hence you direct flex builder to call a custom ColdFusion template instead of the standard html template that is generated by flex.
  • You need to request the http://LOCALHOST:[port]/webapps/worf/worf.cfm when debugging your application. Instructions here

Work Order Entry screen

Work Order Entry screen


Work Order Dashboard

Work Order Dashboard


Database Design

Database Design



DOWNLOAD FILES

Filed under: ColdFusion, Flex, SOA, Sample Apps | 1 Comment

My moment of WOW

I’m new to Flex development about 4-5 months, started my first project using PureMVC. For reasons unknown to me I decided to re-write a part of the application using Swiz Framework.

I have to say I’m pretty impressed, I wish there was an Application template to help me get started or a defined way of writing code. After I tweaked my RemoteService.as file I got it working with Swiz’s CommandChain and my SOA back-end infrastructure remains unchanged.

The inversion of control functionality with the help of Dynamic Mediators & Swiz Controllers reduce code like I cannot believe.

Please give me a few weeks and I will share a Sample Application for the group to download and use with Swiz and ColdFusion.

I will also publish a wish list of Flex and Swiz, I wish there was a way to define meta data information in static const variables of XML files.

Filed under: Flex | No Comments