Railo on mac
I have had a great time at CFUNITED this year. One of the things that has been a hot topic, which I haven't really caught wind of until today, is the battle between Adobe and the CFML open source alternatives, mainly Railo and Open BD. I will save that topic for another post. But that, along with the fact that I have been wanting to do it anyway, prompted me to give Railo a run.
I am mac challenged. I spend 95% of my time on a PC. The only time I seriously use my mac is when I travel, and at home in the evening, so maybe I only spend 80% of my time on a PC. So I can't handle any advanced stuff on a mac.
Railo provides a version that you don't have to install. That is good for me. It is called "Railo Express (Jetty)". It worked just as expected. I dropped in my apps folder after unzipping the archive and double clicked on "Start" and there you go. I pointed my browser to http://localhost:8888/ and up came a screen prompting me for a new password. After selecting one I was presented with the admin interface for railo.
I snooped around the admin interface for a minute, but then I wanted to just see a regular page. I opened up the index.cfm file in the railo directory (under applications for me, it had a weird name that represented the relase number and everything) under webroot and noticed there was a cflocation:
<cflocation url="railo-context/admin.cfm" addtoken="no">
I commented that out and then I was able to use that page like any other cfm page and add cfml to it however I want.
Pretty nice that railo makes it so easy to get started with CFML. I have a hard time articulating my thoughts on stuff, like the adobe vs open source battle, but being able to start coding in CFML so easily seems like a good thing for our community.
Friday, July 30, 2010
Subscribe to:
Posts (Atom)