Wednesday, 24 January 2007

domain name for blog

this blog will stay under the umbrella of www.blogger.com and www.mojoflex.com for the time being, despite my efforts to set it up on it's own domain.

Today I made the mistake of choosing a Domain Registration company (that also host the domain and other websites for me) that does not offer a control panel to change the nameserver so that a cname can be entered. That means I cannot automatically point my blog at this domain unless I use the ISP's blogging software, which I do not want to do. My blog needs to use google blogger so that it integrates and uses the same widgets and links as my collegues.

What will happen, is that I will register a new domain using godaddy.com which will allow me to do what I need to do with the cname. I can then open up a hosting account with godaddy.com and start hosting my sites with them too because they are such good value. Since my experiences over the last few days with a UK hosting and domain registration outfit, I am appreciating the features that godaddy offer:- month by month comittment it does not need to be 12 month minimum contract, domain and hosting in one package with discount if both at same time, integrated software forum for downloading/trying/sharing software, mysql built into even the basic hosting platform and much much more. If I did not know better, I would say that Markus has shares in godaddy, because he is their best salesman!

Saturday, 20 January 2007

Installing Flex on Coldfusion

Coldfusion mx7 flex


In this post we will discuss how to install flex on Coldfusion server. I have installed flex on Windows XP and with the built in server for Coldfusion MX7 (Developer edition). For more information and installing flex samples, please read article on Adobe’s website http://www.adobe.com/support/documentation/en/flex/1_5/flexforcf.html).

Download the latest version of Flex installer from http://www.adobe.com/products/flex/

Now run the installer to extract/copy Flex files to flex install directory.

Copy flex.war from flex install directory, create temp folder (for example c:/tempflexwar), and extract the content using Winzip or other similar extractor.

Now stop Coldfusion server and carefully follow all the steps.
Copy content from the WEB-INF folder of the c:/tempflexwar/flex to the {Coldfusion root directory}/ WEB-INF
Make sure that you copy content from c:/tempflexwar/flex/WEB-INF/lib to {Coldfusion root directory}/ WEB-INF/ lib, c:/tempflexwar/flex/WEB-INF/classes to {Coldfusion root directory}/ WEB-INF/classes and c:/tempflexwar/flex/WEB-INF/flex to {Coldfusion root directory}/ WEB-INF/flex (if you don’t have folder called flex just create one or copy content.

Now you need to merge Flex web.xml file to Coldfusion web.xml file.

[Note: Its always a good idea to make a copy of original file.]

Open Coldfusion web.xml in text editor or in Dreamweaver. You can find web.xml file in {Coldfusion root directory}/ WEB-INF/ folder.
Replace the “Doctype” definition with the following DOCTYPE definition:


<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.// DTD Web Application 2.3// EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

DTD specifies the following order that the tags must have in order for the document to be considered a valid XML document:

Copy the context parameters, filters, filter mappings, listeners, and servlet definitions from the Flex web.xml file to the appropriate sections in the ColdFusion MX web.xml file. Copy each of these elements to the end of the matching section in the ColdFusion MX configuration file. For example, when copying the Flex filter mappings, add them after the ColdFusion MX filters mappings but before the next set of elements. Be sure to maintain the order of the XML blocks in the way that they appear in the Flex web.xml file.

Save the web.xml and restart coldfusion server.

If all the steps are followed properly you should be able to compile mxml file in your coldfusion instance.

If for any reason it doen't work, stop your coldfusion server and check the web.xml file.

All the best.

Tuesday, 16 January 2007

Welcome to Mojo Flex

Mojo Flex is brought to you by the eBusiness experts at Emojo. We aim to make this a great resource for the Flex community and for those interested in what Flex is all about. Along the way we'll be highlighting our Flex projects and releasing any Widgets or cool components we develop.

Adobe Flex is an amazing development that most people haven't yet caught up with. People are hung up on what Ajax can do for forms and content when Flex handles all forms of media in the same way with less code, greater reach and cross platform capability.

Enjoy the ride.