An Architect's View

CFML, Clojure, Software Design, Frameworks and more...

An Architect's View

Entries Tagged as oss

cfmljure updated

August 07, 2011 ·

Even tho' it's far from a 1.0 release, I've updated the cfmljure project on github to contain the latest version that we're using at World Singles and update the examples so they work again, along with updated instructions - mainly that the Clojure code needs to be in WEB-INF/classes/ so that it can be picked up dynamically. This is a fundamental piece of our infrastructure at World Singles, since we rely heavily on Clojure for the Model of our application, with our View-Controller in CFML. It's not intended to be general purpose code but if you want to play around with calling Clojure from CFML, it should get you started.

Don't forget the cfmljure mailing list if you need assistance!

Tags: cfmljure · clojure · coldfusion · oss

FW/1 2.0 Alpha Available

August 06, 2011 ·

I just declared the official "2.0 Alpha" of Framework One. Although there are a number of minor issues still open against this release, all the major new features are in place and ready for extensive public testing.

The main new features (in no particular order) are:

  • custom URL routes with parameter substitution are supported, along with HTTP method restrictions and wildcard routes
  • setLayout() to override layout conventions
  • view() can be called from a controller, as a way to render email or documents for PDF delivery etc
  • controller/service execution can be short-circuited, providing more control over the request lifecycle
  • populate() and autowiring now support property-based injection as well as setter-based injection
  • additional lifecycle hooks for global before() / after() and pre-rendering setupView()
  • complete rewrite of the code to use cfscript - for Adobe ColdFusion 9.0.1 and Railo 3.2.2 or later

In particular, note the last bullet - if you are on earlier CFML engines, you will have to stick with FW/1 1.2 (there will be a 1.3 maintenance release). The mix of tags and script was driving me crazy and I didn't want to add all this new functionality with the code as it is!

Tags: coldfusion · fw1 · oss · railo 0.0.4

July 17, 2011 ·

I've been a bit lapse in announcing new versions on my blog so, to rectify that, this post includes the full set of changes across all four dot releases so far (below). This is mostly a bug fix release, but it also lays the groundwork for exposing more control over the PreparedStatement used in queries, coming in one of the next few dot releases.

In Leiningen, just add [org.clojure/java.jdbc "0.0.4"] to your :dependencies to use this latest release.

[

Tags: clojure · oss

Another cf.Objective() is over - wow!

May 18, 2011 ·

This year's cf.Objective() was the biggest, most successful ever: more attendees, more speakers, more tracks, more content, more sponsors, lightning talks, BOFs, ad hoc sessions - more, more, more! Yet it still managed to maintain the great ratio of attendees to speakers that gives people a small conference feel with great networking opportunities.

[

Tags: cfobjective · clojure · coldfusion · fw1 · oss · saas 0.0.1

May 08, 2011 ·

The library formerly known as clojure.contrib.sql has had its first non-snapshot release.

Features added (above and beyond clojure.contrib.sql):

  • returns generated keys for single record inserts
  • supports naming strategies to allow you to override the conversion of keywords to/from SQL entity names
  • exposes resultset-seq that respects naming strategies
  • exposes print-* functions to print SQL exceptions (and no longer prints to *err* on an exception)

You can read more about naming strategies in the documentation.

If you start using this library with Clojure 1.3.0 and find bugs or think of enhancements, please enter them in the JIRA bug tracker.

To use 0.0.1 from Maven or Leiningen, see the home page on github.

Tags: clojure · oss

D2WC - Something Different

May 07, 2011 ·

Next week is cf.Objective() 2011 and it's pretty typical of conferences that I've spoken at over the years: heavily focused on developers (and heavily focused on CFML). In July, however, I'm doing something very different and I'm really looking forward to it: D2WC - Designer Developer Workflow Conference!

Accordingly, instead of a technical presentation - often on an advanced subject - I'm going to attempt a truly introductory talk that focuses on how to move from design to a fully functional dynamic web site. I'll be drawing on presentations from AJ Mercer - at last year's cf.Objective(ANZ) - and Daria Norris - at next week's cf.Objective(). I want to thank them for their support of FW/1 and I want to thank Dee Sadler for giving me the opportunity to do something different by letting me speak in Kansas City in mid-July!

Tags: coldfusion · d2wc · fw1 · oss

April 23, 2011 ·

The library formerly known as clojure.contrib.sql has a new name and is being updated as part of the ongoing development of Clojure 1.3.0. Since I plan to rely heavily on this within my current CFML project, I'm actively working on - the new name - and looking for feedback.

[

Tags: clojure · coldfusion · oss

A Round-Up of OpenCF Summit

March 19, 2011 ·

The first annual OpenCF Summit was almost a month ago but I've hardly stopped traveling since and then I got sick! So, finally, here's my thoughts of how this inaugural event went...

The overall impression was one of friendliness, openness and collaboration. From the moment I arrived at the hotel to register, I was immediately swept up in the hackfest where all attendees were able to contribute to an application to help a not-for-profit organize its volunteers. This application grew from a skeleton to a fairly full-featured application with a nice user interface over the course of the summit as various attendees worked on the application. It was great to see such team spirit among attendees, especially since the development environment - Mach II, Open BlueDragon, Google App Engine - was new to most of the contributors!

[

Tags: coldfusion · opencfsummit · oss

OpenCF Summit - My Slides Online

February 26, 2011 ·

My two presentations from the OpenCF Summit are available on my presentations page: CFML and the Open Source Landscape (updated), Open Source Language Evolution (new). The conference team are putting up links to all the presentations as they are made available, via the conference schedule page.

I'll blog my thoughts about the conference in a separate post shortly, possibly on the Railo Technologies blog.

Tags: coldfusion · opencfsummit · oss

OpenCF Summit - Even More Affordable!

January 17, 2011 ·

The folks behind the first (and hopefully annual) OpenCF Summit have taken another look at their budget and, after working with a number of partners, have been able to reduce the price of the conference to just $30!

Now the premier event about free open source CFML is almost free! What are you waiting for? Register for this ground-breaking event and learn about what free open source software can do for you (and what you can do to support that movement)!

Tags: coldfusion · opencfsummit · oss