ColdFusion’s 10th Birthday on July 13th!

by Niklas Richardson 10:30 am Tuesday, 24 May 2005.

Okay, so this has probably been blogged to hell, but what the heck, I didn’t see anything on the UKCFUG Blogregator!

If you didn’t already know, it is ColdFusion’s 10th birthday on July 13th. From the Macromedia website:

“On July 13, Macromedia is celebrating the 10th birthday of ColdFusion. The founders of ColdFusion, JJ and Jeremy Allaire, will be joining us for a fun retrospective on the history of ColdFusion. Our current ColdFusion team members will also be giving attendees a sneak peek into the future of ColdFusion.”

http://www.macromedia.com/software/coldfusion/special/birthday/

Comments (0)



Setting up Flex 1.5 on JRun with Apache

by Niklas Richardson 2:41 pm Monday, 23 May 2005.

After walking a client through the install of Flex 1.5 on a clean install of JRun and then using Apache as a web server, I thought it would be a great idea to put down the instructions for everyone else, and also see if anyone else had any comments.

I may have skipped a few steps or assumed things. If so please comment and I will improve these steps. There are some steps that are probably not required, or are totally for my own taste, but I welcome comments for those too.

In fact, I welcome any feedback.

(more…)

Comments (0)



How do I run a JRUN Server as a Windows Service?

by allen 12:27 pm Friday, 20 May 2005.

This has come up in Flexcoders and I think it is work posting again. If you are using JRUN you can run any server as a windows service by using the JRUN Command Line Tool ‘jrunsvc’.

From the JRUN Live docs (http://livedocs.macromedia.com/jrun/4/JRun_SDK_Guide/apis4.htm):

Using the jrunsvc tool
Use the jrunsvc tool to execute command on a JRun server that is a Windows service. With this tool, you can install, remove, start, and stop the JRun server’s Windows service.

To install a JRun server as a Windows service, use the following syntax from the jrun_root/bin directory:

%> jrunsvc -install jrun_server [service_name [service_display_name [service_description]]]

To remove, start or stop a JRun server that is currently a Windows service, use the following syntax from the jrun_root/bin directory:

%> jrunsvc -[remove|start|stop service_name]

Comments (0)



How do I get ‘this’ URL in Flex.

by allen 1:45 pm Thursday, 19 May 2005.

Someone asked this on the Flex Coders list today “What is the best way to get a fully qualified URL of ‘this’ application in Flex” (i.e. ‘http://www.prismix.com/index.mxml’) - below is an example that we came up with.

At first, I tried using _root._url, but this is bad form in Flex, you want to avoid the whole ‘_root’ from your Flex development. Instead Flex maps these ‘_root’ level environment variables into the mx.core.* packages.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
<mx:Panel title="Get This URL" width="100%" height="100%">
<mx:Script><![CDATA[
private function getPageURL() : String
{
 return(mx.core.Application.application._url);
}

private function getPageDomain() : String
{
 var myArray:Array = getPageURL().split("/");
 var domain = myArray[2].toString();
 return(domain);
}

]]></mx:Script>

<mx:Label text="{getPageURL()}"/>
<mx:Label text="{getPageDomain()}"/>
<mx:Label text="http://{getPageDomain()}/"/>

</mx:Panel>
</mx:Application>

Comments (0)



List Looping vs Array Looping!

by Niklas Richardson 11:49 am Wednesday, 18 May 2005.

I’ve been having an interesting discussion with Barney over at BarneyBlog about looping over lists in CFSCRIPT.

When ColdFusion moved from Version 5 to MX, one of the many things that changed was that lists became less performing than arrays (when it came to looping through the items). This is due to the way Java works under the hood with specific data types!

However, I learnt a very valuable lesson today!

(more…)

Comments (0)


Older Posts »