O'Reilly logo

Railo 3 Beginner’s Guide by Mark Drew

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - creating our own Railo application extension

Now that we know how to install extensions, it is about time to create our own.

An extension is a ZIP file that contains at least three files:

  1. license.txt contains the license for the extension
  2. Install.cfc handles the complete installation
  3. config.xml contains all information about displaying the installation steps: field names, values, labels, page title, and so on

Creating the Famous Quotes App

For this exercise, we will create an application which we can then install. So let's create a Famous Quotes App:

  • Under the <Railo Install Directory>/webroot, create a folder named famousquotes.
  • Create a file quotes.txt in our famousquotes folder with the following content:
    Houston, we've got a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required