Archive for the ‘Clojure’ Category

Sessions and JSON with Ring, Compojure and Flash AS3

Saturday, August 21st, 2010

The code here is actually several months old, it was only today that I stumbled on it and realized it would be a nice writeup.... Read More

Clojure inheritance

Sunday, June 20th, 2010

So here’s ye old car example. Pretend we have a class Car in (insert your favourite OO language here), then we extend the car class with Sportscar and Pickup, the door-count method of the Car class will return “I have four doors” and the car-description method is overridden in the two extending classes.... Read More

Clojure and a PicoLisp database via HTTP

Sunday, May 30th, 2010

If you follow me on twitter you might have read that I tried Riak at one point but then switched to Cassandra, anyway, one of the things with Riak that struck me as nice was the fact that you could access any node through HTTP.... Read More

Compojure Sessions with Sandbar

Tuesday, May 25th, 2010

I just finished researching how to achieve persistent sessions with Compojure. The default way of doing things didn’t really look appealing to me. This whole threadsafeness business is more of a hindrance than an asset when it comes to web development IMO.... Read More

Flash with HTTP Client Lib and Compojure

Wednesday, May 19th, 2010

I just managed get communication between Compojure and Flash (AS3) up and running, by way of HTTP. No big deal really when all the dependencies and whatnot are in place. I did not use URLRequest or HTTPService, but AS3HttpClientLib as I got the impression it seems to be more feature complete than the other two that seem more basic and default. An example of a feature I might want to use in the future is for instance the HTTPS stuff.... Read More

Clojure and Cassandra with clj-cassandra

Sunday, May 9th, 2010

I’ve just finished playing with Robert Luo’s clj-cassandra for today and it’s time to recap what’s happened so far.... Read More

My Clojure Editor

Monday, May 3rd, 2010

picoeditor.png... Read More

Compiling Clojure Code with Leiningen

Sunday, April 25th, 2010

First of all, I would like to push a little for Programming Clojure by Stuart Halloway. It’s fantastic if you have prior experience with the Java ecosystem or a LISP, it might be a bit over your head if you don’t have either. Luckily I’m coming from PicoLisp so I’m OK, I just need to get up to speed with the Java.... Read More