Improve performance by turning off Scope Cascading

May 14, 2012 · By Christian Ready · 9 Comments

Scope cascading, also known as scope precedence makes it easier for inexperienced developers to code, but slows down server performance. In Railo, scope cascading can be turned off.

[Read more →]

9 CommentsTags: Configuration · Performance · Tips

Configure contexts individually

May 07, 2012 · By Christian Ready · No Comments

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 two time zones.

[Read more →]

No CommentsTags: Configuration · HowTo · Tips

Difference between the web and the server admin

April 30, 2012 · By Christian Ready · 3 Comments

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 are calling it from. 

[Read more →]

3 CommentsTags: Configuration · HowTo · Tips · Websites

Chaining function calls and statements

April 23, 2012 · By Christian Ready · 2 Comments

Imagine you would have to pass an applications name as an url parameter.  There is a shorter way of doing this without having to use a temporary variable.

[Read more →]

2 CommentsTags: HowTo · Tips

Check whether an object is pointing to the same instance than another one

April 16, 2012 · By Christian Ready · 4 Comments

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

[Read more →]

4 CommentsTags: HowTo · Tips

Using CFML tags in cfscript

April 09, 2012 · By Christian Ready · No Comments

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 ;

[Read more →]

No CommentsTags: CFML · HowTo · Tips

Defining new queries

April 02, 2012 · By Christian Ready · 7 Comments

When you need to create a query object, it can be a bit complicated to create one with several columns and rows.  Railo makes it easy.

[Read more →]

7 CommentsTags: HowTo · Tips

Migrating a server to a new platform

March 26, 2012 · By Christian Ready · No Comments

Preserving your settings from one platform to another is as easy as copying some XML files.

[Read more →]

No CommentsTags: Configuration · Tips

CFLOOP over arrays as collections

March 19, 2012 · By Christian Ready · No Comments

Keep your array loops clean using <cfloop type="collection">

[Read more →]

No CommentsTags: Comparison · HowTo · Tips

Configuring Railo Resources

March 12, 2012 · By Christian Ready · No Comments

Configure your Railo archive to with resource proivder arguments

[Read more →]

No CommentsTags: Configuration · HowTo · Tips