An Architect's View

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

An Architect's View

A look back at 2011

December 31, 2011 · 2 Comments

In years past, I have gone back over each month of my blog and posted a review of the year based on what I've been posting during the year. I skipped that for 2009 and 2010 for various reasons but decided to reinstate it this year because 2011 has been a very different year for me.

[Read more →]

2 CommentsTags: clojure · coldfusion

FW/1 2.0 Released

December 18, 2011 · 4 Comments

After a long period of testing out in the wild FW/1 2.0 reached RC2 back in October and no further bugs have been reported. Only documentation remained and that has now been completed. FW/1 2.0 is gold and can be downloaded from FW/1's RIAForge site. Happy Holidays!

4 CommentsTags: coldfusion · fw1 · oss

Testing your project against multiple versions of Clojure

December 18, 2011 · No Comments

As Clojure continues to evolve, it's a good idea to ensure your projects work with multiple versions of Clojure so that you are prepared for the future. Luckily, Leiningen makes that easy with a plugin called lein-multi which allows you to specify multiple sets of project dependencies and run tests against all of them automatically.

[Read more →]

No CommentsTags: clojure

Want to learn Clojure, online?

November 30, 2011 · 8 Comments

Starting on December 5th and running for six weeks, the author of "Clojure in Action", Amit Rathore, is leading an online introduction to Clojure course for just $325. See the CodeLesson web site for more details on this Clojure course.

I'm fortunate that Amit is local to me so I've attended two of his one-day training courses already. In fact my first real introduction to Clojure was Amit's "ProClojure Bootcamp" back in May 2010 and it was a great jumpstart. More recently I attended his "Day of Macros" course which was pretty mind-blowing. Each of those cost $199, so the six week online course is great value since it will cover all of that and more!

If you're at all interested in Clojure, this would be an excellent way to come up to speed and find out what all the hype is about - for a very reasonable price!

8 CommentsTags: clojure · programming

FW/1 - most watched, most forked

November 30, 2011 · 3 Comments

I try not to pay much attention to popularity contests but I was just browsing Github today and happened to notice that FW/1 is both the "most watched overall" and "most forked overall" ColdFusion project on Github. Thank you!

3 CommentsTags: coldfusion · fw1 · oss

cf.Objective() 2012 - did you miss the submission deadline?

November 29, 2011 · No Comments

November 28th was the last day for session proposals for cf.Objective() 2012. The open call for speakers has been massively successful this year: a record number of proposals from a record number of speakers!

cf.Objective() has always been known for the high quality - and generally advanced level - of presentations and it looks like 2012 will be no exception! I've been involved with this conference in one way or another since the first year (2006) and I've watched it grow from strength to strength every year, with more sessions, more speakers, more attendees. It all started as an "itch" that Jared Rypka-Hauer felt he needed to scratch and a few years back it went global with the addition of cf.Objective(ANZ). In a time when the economy has caused most people to tighten their belts and several CFML events to disappear, it's good to see "The Only Enterprise ColdFusion Conference" powering ahead.

For several years, I was heavily involved in content selection but in 2010 the conference switched to an advisory board for that job and for 2011, I stepped down completely and became just an observer for the steering committee. Given the huge number of proposals this year, I'm very glad of that role change and I don't envy the job of Bob Silverberg and his team - they have a lot of work ahead of them!

I have no details on the content but I think you can count on it being excellent... If you didn't get a proposal in, there's always next year. If you did get a proposal in but you're not selected, don't feel bad: competition is stiffer than ever!

And me? I didn't think of a suitable talk before the deadline so no cf.Objective() for me in 2012. After ten conferences in 2011 (and I spoke at four of those), I could do with a break anyway :)

No CommentsTags: cfobjective · coldfusion

FW/1 User Manager example on Heroku

November 24, 2011 · 3 Comments

It's pretty easy to get a Clojure web application up and running on Heroku. Heroku's Dev Center has a good Getting Started with Clojure article that shows you how to install the Heroku client and get your ssh keys setup. It has a very basic "Hello World!" Ring application as the example but you'll probably want something a bit meatier to play with. Here's how to get the FW/1 for Clojure example application running on Heroku...

Follow that Getting Started guide to get Heroku setup but when you get to the "Write Your App" section, do the following:

git clone git://github.com/seancorfield/fw1-clj.git
cd fw1-clj
heroku create --stack cedar
git push heroku master

You should see several screens of output flash past as Heroku downloads all the dependencies needed to build and run a FW/1 application and then you should see something like this at the end:

-----> Discovering process types
       Procfile declares types -> web
-----> Compiled slug size is 11.3MB
-----> Launching... done, v4
       http://some-domain-1234.herokuapp.com deployed to Heroku

Go to that URL in your browser and you should see the User Manager example application! (some-domain-1234 will be whatever domain Heroku has allocated for your web application)

After that, just edit your application, commit it, and push it up to Heroku. Heroku will update the dependencies if necessary and redeploy your application. It's that simple!

3 CommentsTags: clojure · fw1

Getting Started with FW/1 in Clojure

November 10, 2011 · No Comments

Now that FW/1 is available for Clojure, you might have looked at the examples that are in the FW/1 github repo and wondered how to create your own FW/1 application from scratch.

[Read more →]

No CommentsTags: clojure · fw1

Mostly Lazy - a Clojure podcast

November 08, 2011 · 1 Comment

The first episode of Chas Emerick's new Clojure podcast, Mostly Lazy was published today after being recorded yesterday morning. He picked me as his first interview "victim" (joke - see his follow up blog post wherein Chas clarifies that this is about community, not journalism!) and we covered a lot of ground in half an hour. Those who know me will be familiar with my focus on CFML / ColdFusion and that comes up in the podcast - if you don't know much about CFML (or your knowledge is based on old, outdated information), you might be in for a surprise as I talk about why I've used CFML so much over the last decade! [from around 13 minutes in]

1 CommentTags: clojure · coldfusion

FW/1 comes to Clojure

November 07, 2011 · 5 Comments

After two years in the CFML world, FW/1 (Framework One) comes to Clojure!

Intended to bring the same simple, lightweight, convention-based MVC web application development that has proved so popular in the CFML world to the world of Clojure, FW/1 for Clojure is available on Clojars (0.1.0, as of April 2012). If you clone the github repo, you'll see a "user manager" example application which is a port of the same app from the CFML version of the framework. The documentation is, as always, a work in progress but covers the basic API and how to create a driver program for the framework in Clojure. More information on the rationale, approach and API of FW/1 can be found on the FW/1 (for CFML) wiki. I plan to adapt this for the Clojure version shortly...

5 CommentsTags: clojure · coldfusion · fw1 · oss