these files don't have any documentation, but most of them have some relation to JRUN; therefore, look at JRUN docs and you might get lucky
If you forget the CF admin password
goto libpassword.properties
look for rdspassword= ... password= ... encrypted=true
to reset password delete password and rds password values.
set encrypted to false
turn off RDS on production servers
put comments around the ... RDSServlet ...
setup default page/document for CF internal web server
index.cfm
default.cfm
If you move the webroot after installing CF then you might need to do the following:
jrun application server config
webrootWEB-INFjrun-web.xml
/*
c:/CFusionMX/wwwroot/
stop internal webserver
comment out
enable directory browsing for CF internal web server
web app settings stored in default-web.xml
to enable set browseDir to False
Internal Java Objects
use .getClass() to examine any ColdFusion object
since all CF variables are type-less all CF vars are Java String objects.
means u can use any Java String Object Method on the CF var ... KEWL!
example:
#str.startsWith("Ben")#
This will return YES ... thanks Ken
Use the following to get the object type so that you can lookup various methods in Java documentation
#obj.getClass().getName()#
ColdFusion Queries are objects
first() and isfirst()
last() and islanst()
previous() and next()
functions to get column names, types, and values
functions to manipulate querires
Application and Session contains 4 internal methods:
.getMaxInactiveInterval()
.getElapsedTime()
.getTimeSinceLastAccess()
.expired()
ServiceFactory
CF admin pages don't connect to any backend DB, but uses various API's
The CF admin user Service
set of Java objects that control ColdFusion
the administrator CFM pages use these APIs
use to instantiate ServiceFactory
to dump all methods of classes
Q&A
Q1) What do you think about Fusebox methodology and is there any methodology that you(Ben) follow?
Why is this the 1st question that always gets asked.
Thinks that methodologies are great and hopes that most projects use them.
He would be more worried if people just start coding instead of using one.
Due to his schedule and travels he doesn't get involved w/ projects that require him to work with other people.
He has used Fusebox and think it's great, but doesn't personally think it fits him.
makes him do things that feel unnatural to the way he work.
he doesn't have a strict methodology that he follows.
Use a methodology that fits you and the way you work.
Heard alot of good comments on Mach II.
Don't let it get in the way.
Q2) It feels like ColdFusion is becoming like Fortran. Are we a dying breed? What are your comments on the future of ColdFusion?
Ben mentioned that this is a hot topic that gets discussed pretty frequently.
Today there are basically three solutions:
.Net from Microsoft
J2EE platforms
open source community w/ Apache+PHP+MySQL.
The growth area for ColdFusion was originally the .com startups and small quick internal projects for larger corporations. This market is now gone.
On a graph ColdFusion hasn't seen the growth like during the .com bubble, but it's not declining.
There are two main spaces:
easy to use and start solution space
Today all other web solutions are complicated and getting more complex. Making it difficult for beginners to get in. CF is good for beginners. Faster learning curve.
on top of J2EE infrastructures in large corporations
Many corporations have very expensive and complex J2EE implementations. Hard for other groups within the org to get involved. CF on top of J2EE makes it possible for these groups to jump in.
Very hard and slow sell cycle though
All coding languages have cycles and probably eventually die. This can't be helped.
Q3) Question to audience: What features do you want for the next CF? Something major, not minor adjustments. On the scale of CFCs.
CFForm tag that generates Flash forms
Binary distribution or something similar making deployment easier