A fork in the road...

27 views
Skip to first unread message

Sean Corfield

unread,
Jul 23, 2012, 1:54:40 AM7/23/12
to cfmljure
One of the biggest obstacles to using cfmljure is that it's kinda hard
to get your Servlet container configured so that mixed CFML / Clojure
development is easy...

A member of the Clojure community has created an amazing plugin for
Leiningen - the Clojure build system - which makes it almost trivial
to create a working Railo / CFML / Clojure project. He and I have been
talking about moving the plugin forward and I think that I will reboot
cfmljure as a Leiningen plugin which will make using it as simple as:

Install Leiningen (it's just a shell script - or a Windows .bat file).
Run: lein new cfml-clj project-name
Then: cd cfml-clj
Then: lein servlet run

That will automatically install Railo and start a Tomcat server on
port 3000 and open a browser window on index.cfm - seriously, that's
it, even on Windows (I tried it on Windows 8 tonight).

Given that cfmljure works best with Railo (because ACF does dumb shit
with arrays of numbers, amongst other things) and requires a properly
configured Servlet container, I think this is the best way forward.
I'm probably going to be making some changes to FW/1 and DI/1 that
will streamline the overall CFML MVC experience.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

Andrew Myers

unread,
Jul 24, 2012, 10:35:09 PM7/24/12
to cfml...@googlegroups.com
Sounds freaking awesome Sean.  Looking forward to seeing it
Reply all
Reply to author
Forward
0 new messages