Archive for the ‘Lisp’ Category

MongoDB, Clojure, JSON and PHP – CongoMongo issues and solutions

Friday, December 31st, 2010

I’m currently working on a project where I use MongoDB and Clojure to create an API only type of service. Other sites of ours are connecting to this service, these sites are all made with PHP at the moment.... Read More

File uploads with Clojure, Ring and Compojure

Sunday, December 19th, 2010

I just found a great write up on how to upload files by Nikola Plejić. It’s a little bit sparse though so below I’ll revisit it with my own additions.... Read More

Autocompletion, Jump to documentation, Swank and Slime

Wednesday, November 3rd, 2010

In the prior part I stated that I would look into autocompletion and documentation lookup/jumping and that’s exactly what I’ve done and I’m happy with the results.... Read More

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