Search code examples
databaseclojureclojurescript

Backend for Web Development using Clojure/ClojureScript


I'm familiar with developing desktop apps in Clojure (written a multithreaded interactive visualization system). However, I'm fairly new to Web development using Clojure.

I plan to use Clojure on the server for handling logic; and ClojureScript for handing client side work. However, I don't know what to use for my database server. Should I use something like Monogodb? or Hadoop? Or .... ?

The app is something very simple; a basic forum. Total number of concurrent users will be < 100 at a given time. One thing that is important to me is the ability to easily backup / data consistency -- it's very very important to me that I can easily make daily backups (and not lose all the data.)

Thanks!


Solution

  • You can use many databases; if the database has an API for Java, you should be good to go. MySQL, MongoDB, Postgres, Hadoop… and more.

    For a nice overview of the webstack in Clojure, check out brehaut's article on the matter.

    For getting up and running quickly with Clojure and ClojureScript, try ClojureScriptOne.

    There are many ways to write what you want to write; if you're already familiar with Clojure, it shouldn't be too hard to get going.