Sessions and JSON with Ring, Compojure and Flash AS3
Saturday, August 21st, 2010The 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
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
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
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
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
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
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
... Read More
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