seancorfield
unread,Sep 21, 2010, 6:46:35 PM9/21/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cfmljure
Some notes on the latest version of cfmljure and what's coming...
The 0.3 version tidies up the handling of file loading when using the
"integrated" approach (via the install() API). After some back and
forth on the Clojure list, I learned that the namespace really does
need to match the relative path of the file. You can declare any
namespace in a file and you can explicitly load the file and reference
the namespace directly - but if you're building multi-file Clojure
projects using standard build tools, then the namespace is used to
locate the file - much like dotted-path references to CFCs in CFML.
As it stands now, I think 0.3 is "feature complete". Rich Hickey has
talked about some changes coming in 1.3 that supports high-performance
primitive arithmetic and requires the use of a static function
declaration (the metadata ^:static). I'll probably have to make some
changes to support that at some point (I need to download the Clojure
master from github and build it myself since snapshots aren't
available yet).
I plan to create two sample applications that will use a database. One
will be a simple task list and will be a page-based application that
uses Clojure for the model (including DB access). The other will use
FW/1 and will be a contact manager (based on the userManager examples
that ship with FW/1). Those will show how the whole model can be
implemented in Clojure while using CFML for the views / web templating
- and in the second example, cfscript for the controller portion of
the application.
At that point, I'll create a ready-to-run ZIP containing Jetty, Railo,
the Clojure libraries and cfmljure so folks who know nothing about
CFML will be able to try it out!
I'm very interested in feedback as to what people would like to see in
and around cfmljure.
Sean