CFML with Railo

1 / 28
About This Presentation
Title:

CFML with Railo

Description:

It s Railo too, or two, or 2.0. What is a web context? ... magic functions. and many more. New functions. struct(), array(), query(), serialize ... – PowerPoint PPT presentation

Number of Views:46
Avg rating:3.0/5.0
Slides: 29
Provided by: gertf

less

Transcript and Presenter's Notes

Title: CFML with Railo


1
US Tour, July 2007
2
Railo is something new
  • You
  • are familiar with CFML?
  • have applications written in CFML?
  • are a CFML hoster?
  • set value on performance and pricing?
  • are looking for a new CFML groove
  • then this presentation is something for you!!!

3
This is me
  • my name is Gert Franz
  • I work at Railo Technologies
  • Railo comes from Switzerland, EuropeThats where
    the good chocolate comes from

4
(No Transcript)
5
This is Railo
6
This is what I will do for you
  • I will present to you new version of Railo
  • tell you what Railo is
  • and what it can do for you
  • and of course
  • what new features are coming in the new version

7
CFML problems
  • performance
  • stability
  • performance
  • pricing
  • performance
  • code protection
  • performance
  • security
  • oh and performance

8
What is Railo?
  • Railo
  • compiles CFML into Java byte code
  • executes CFML incredibly fast
  • uses a new CFML server architecture
  • introduces new features
  • is easy to use
  • is inexpensive

9
What is different
  • new architecture
  • two administrators
  • different type of security settings
  • new tags and functions
  • Railo archives
  • resources
  • performance

10
First of all
Its Railo too, or two, or 2.0
11
What is a web context?
  • a web context is a directory created for Railo,
    which contains a WEB-INF folder
  • each web context can be configured individually
    and has its own resources
  • one web context can not access any settings or
    resources from any other web context
  • in general a web context corresponds to a web
    application

12
Railo architecture
  • one installation
  • many web contexts
  • logical separation on web context level
  • security settings on web context level
  • global defaults for all web contexts

13
Architectural view
14
This means
  • No endless lists of data sources/custom
    tags/mappings etc.
  • Settings are stored in the local context
  • Security is easy to manage
  • Own administrator for global settings and several
    rights
  • AND last but not least
  • Each user can change his own settings

15
Railo administrator
  • One for each local webA hoster might grant each
    user the right to use a local administrator an
    manage his own settings within his rights
  • One for the global settings and authorizations of
    all or individual web contextsDefine a basic
    standard and let the users manage their web
    contexts themselves

16
Sightseeing
  • Let us take a tour through the Railo web and
    server administrator
  • Check out the new features and configuration
    options
  • Several samples should clarify the different
    settings

17
Fast or not fast Fusebox
18
Fast or not fast MachII
19
General changes
  • internal database
  • cfadmin
  • synchronized components
  • database information DBInfo()
  • cfm file does not need to exist upon request,
    onRequest()
  • archives

20
Further changes
  • cffinally, cfloop file""
  • cfdump eval", cffile action"info
  • cfcache
  • getters/setters, onMissingFunction
  • magic functions
  • and many more

21
New functions
  • struct(), array(), query(), serialize()
  • duplicate() - cfc
  • compress(), extract()
  • dump()
  • nowServer()
  • expandPath() usage of directory placeholders
  • getVariable()
  • soundEx()
  • and many more

22
Railo resources
  • Complete new way of thinking and programming
  • Store your files nearly everywhere
  • Usage in mappings, several admin settings
  • Usage in all file related tags and functions
  • No special knowledge necessary

23
Railo resources
  • Based on an interface and therefore open for new
    implementationsdb, sftp, ssh, webdav, encrypted,
    etc.
  • Railo resources are transaction save
  • Resources can be case sensitive or not
  • Examples
  • ltcffile actioncopy sourcec\temp.txt"
    destination"ftp//userpass_at_somehost/pub/temp.txt
    gt
  • ltcffile actioncopy sourcec\temp.txt"
    destinationzip//c/temp.zip!/pub/temp.txtgt
  • ltcffile actioncopy sourcec\temp.txt"
    destinationram///pub/temp.txtgt
  • ltcffile actioncopy sourcehttp//www.mypage.co
    m/pub/temp.txt " destinationc\temp.txtgt

24
CFFM into a resource
  • generate a zip out of several files
  • copy it to a given location
  • create a mapping to it
  • browse through the zip file
  • create new files inside the zip
  • change the mapping to RAM
  • do it all over again

25
Advantages
  • staging ? live problem
  • save implementation time
  • reusable code
  • location of the file is not important

26
Railo pricing
  • Prices start at 300 for Railo professional
  • Additional Webs for 100
  • Enterprise is 2,400
  • Update for 50 resp. 600
  • 20 Update discounts on Railo if you have other
    CFML engines

27
Future perspectives
  • CFFLASH
  • CFVIDEO
  • CFIMAGE
  • Further resource types (DB, SFTP, etc.)More
    features for existing resources (force case
    sensibility even on case insensible operating
    systems like Windows)
  • Surveillance
  • Further administrator enhancements

28
Let me home
  • Any questions?
Write a Comment
User Comments (0)