Re:Om Sweet Om: functional front-end engineering with Clojur...
by ds_ on Wednesday June 18, 2014 @03:27AM
(#7908905)
This is also something I'm curious about, particularly how migrations are managed within a team. Most of the solutions I've seen require writing plain SQL in migration files which you name yourself. It's simple but I miss the productivity of DjangoORM or ActiveRecord for example.
Or do most people use a schema-less database?
Re:Om Sweet Om: functional front-end engineering with Clojur...
by DCKing on Wednesday June 18, 2014 @09:11AM
(#7909833)
Most functional languages don't really go for any ORM. It's usually considered a cumbersome abstraction for relational databases. Clojure makes it really easy to use SQL directly with the java.jdbc package [1], or through some helper library like SQL Korma [2]. There are also several migrations libraries you can use [3].
It takes a bit of getting used to coming from an ORM, but you'll love the lack of overhead soon enough :)
Re:Om Sweet Om: functional front-end engineering with Clojur...
by presty on Tuesday June 17, 2014 @07:14PM
(#7907608)
not talking for OP
most popular databases have native libraries developed by the community (postgres, redis, mongo, etc)
but since Clojure runs on top of the JVM, you can probably access any database through the Java World
And, how do you go for teaching new comer on the project ? I do suppose you don't only hire Clojure or functional dev, so the transition part seem very interesting, especially with Om getting more (deserved) attention !