webdu 2012: web developer conference

Railo Blog; an alternative CF engine.

Show all feed information | Ping Blog Update

Configure contexts individually last week

Railo Server creates a new web context for every website running on the same Railo instance. And since you have an individual web administrator available for each website, you can define different settings for each website which for instance allows you to configure two websites that they run in …

Difference between the web and the server admin last week

This is a feature in Railo that confuses new Railo users very often. Railo comes with two types of administrators. In fact there are two type of administrators for every website you host on a system. In Railo all the settings you make in the Railo Web Administrator affect only the website you …

Chaining function calls and statements last week

Imagine you would have to pass an applications name as an url parameter. You would probably end up doing something like this: <cfset stAppSettings = getApplicationSettings()> <a href="whatever.cfm?appName=#stAppSettings.name#">... There is a shorter way of doing this without having …

Check whether an object is pointing to the same instance … last week

Sometimes it is important to know whether a certain variable points to the same instance of a complex object than another one. You can easily find that out with the following operator: <cfscript> if (a === b) { writeOutput("same instance"); } else { writeOutput("different …

Using CFML tags in cfscript last week

CFML only has some equivalents to the available tags in CFSCRIPT. In Railo you can now use almost all tags by just removing the "<cf" and replacing the last ">" with a ";" So this: <cfinclude template="index.cfm"> becomes this: include template="index.cfm"; If you want to find out …

Defining new queries last month

When you need to create a query object, it can be a bit complicated to create one with several columns and rows. Take a look at the following example: <cfset qry = queryNew("Firstname,Name,Zip,Country")> <cfset queryAddRow(3)> <cfset querySetCell(qry, "Firstname", "Gert", …

Migrating a server to a new platform last month

If you want to migrate an existing server onto a new platform, for instance move from dev to production or update from one application server to a different one, migrating the settings can be a challenge. This is not a problem with Railo Server. Since Railo stores its settings in several  XML …

CFLOOP over arrays as collections last month

The default looping approach one has is to either loop from 1 to the last element of an array or to use the <cfloop array=”#theArray#” index=“element”> notation. Next to the fact that the naming is misleading, both approaches have a disadvantage. So let's have a look: <cfset aArray = …

Configuring Railo Resources last month

You can configure your Railo resources by editing the railo-web.xml.cfm or railo-server.cfm file. In these files you will find an entry that looks like this: …

Nic Tunney on deploying Railo, Tomcat and Apache on … last month

Nic Tunney has a blog post on deploying  Railo, Tomcat and Apache on Amazon EC2 Ubuntu AMI . The money quote: There are 13 actual commands to install Apache, Railo and Tomcat. There are 7 lines of configuration to paste into two config files. It doesn't get much easier. We agree :)

railo

Fast, Free and Open Source CFML Server. Accelerate your Web Development! http://www.getrailo.org

The #Railo team are at #cfobjective, if you are at the conference, drop by and say hello!@railo

Inside a server