Wusoup: a meeting web app built entirely with Clojure

84 views
Skip to first unread message

Peter T

unread,
Dec 12, 2010, 11:50:03 AM12/12/10
to Clojure
Hey guys,

I hope this isn't inappropriate (?) - thought it might be interesting
to some.

I've just opened the doors on an early release of a Clojure-based web
application I've been working on for a while now: www.wusoup.com.

The entire thing is Clojure: front- and back-ends. About 14,000 lines
of code right now, but it's very general: about half of that is just
architectural stuff. Am using MongoDB for persistence.

Presentation is handled with Ring+Compojure+Hiccup, which has been a
pleasure to use.

The route syntax is great, as is the whole functional paradigm:
middleware for example, has let me do fairly complicated things like
localization very, very easily.

It's also let me keep the back-end exceptionally simple. Wusoup's a
meeting site (probably closest to compare to dating) - but the
matching is (well, will be) done via cluster analysis on user
behaviour (interactions), so the approach is a little unusual.

The whole thing reduced very well to a set of cascading map-
reductions, which Clojure obviously handled beautifully.

I didn't spend much time thinking about other approaches, but I
wouldn't be surprised if I'd have needed to pick up 20-30% extra code
using something else besides Clojure. And I'm sure I'd have lost a
great deal of the simplicity at the same time.

Even going with another functional language, I think, would still not
have paid off the same way: the entire sequence abstraction has just
been so comfortable and well thought out.

Then there's working on a live server through a remote Swank REPL...


Anyway, there's no one on it right now: this isn't my field (I'm not
really a developer), and I don't have any network to rely on to get
the first signups. In any case, I'm hoping the general idea will
already show through.

Am happy to answer questions if you have any and there's a blog
attached in case anyone's curious to follow (link at homepage). I'm
way-far from being an expert, but I'll be writing frankly about my
experiences with the whole project, so hopefully it'll be interesting
if nothing else :)

No idea if anything will come of it, but just wanted to say that the
whole project wouldn't have been feasible for me to even try, without
Clojure. Thank you Rich, and the rest of the community: I think you're
all working on something really amazing.

Andreas Kostler

unread,
Dec 12, 2010, 7:46:33 PM12/12/10
to clo...@googlegroups.com
Hey Peter,
Any plans of releasing the source? At least the Clojure part?
Cheers
Andreas

> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com
> Note that posts from new members are moderated - please be patient with your first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

--
“There is a strong correlation between being smart and being a nerd, and an even stronger inverse correlation between being a nerd and being popular”
(Paul Graham)
--
**********************************************************
Andreas Koestler, Software Engineer
Leica Geosystems Pty Ltd
270 Gladstone Road, Dutton Park QLD 4102
Main: +61 7 3891 9772 Direct: +61 7 3117 8808
Fax: +61 7 3891 9336
Email: andreas....@leica-geosystems.com

************www.leica-geosystems.com*************

when it has to be right, Leica Geosystems

Please consider the environment before printing this email.

Peter T

unread,
Dec 13, 2010, 2:56:12 AM12/13/10
to Clojure
Hi Andreas,

I've definitely been thinking about it for a while: it's a tough one -
especially since it's built on so much great open source.

Have decided to keep it closed for the short term: right now I'd like
to be focused on finishing the app and on actually getting more than
three people to look at it :)

Once I'm a little more along and have an idea of the response, I'll be
in a better place to consider my options.

Short answer: it's always on my mind - just no firm decision yet :)

- Peter
Reply all
Reply to author
Forward
0 new messages