News for hackers. Stuff that matters.
Re:Clojure at Netflix (2013) [slides] by cutler on Wednesday October 31, 2018 @09:19PM (#18350712)
I like the idea behind Macchiato but unlike it's Clojure cousin, Luminus, there doesn't seem to be any documentation on database access. I especially like HugSQL in Luminus. Is it possible to use it with Macchiato?
Re:Clojure at Netflix (2013) [slides] by yogthos on Wednesday October 31, 2018 @10:02PM (#18350928)
There is macchiato-sql [1] which is modeled on HugSQL. I've used it for a couple of projects, but YMMV. I tend to use sequelizejs since it works with most databases and it's well documented.

[1] https://github.com/macchiato-framework/macchiato-sql

Re:Clojure at Netflix (2013) [slides] by cutler on Wednesday October 31, 2018 @10:43PM (#18351087)
Bejesus, Sequelize.js is a LOT more work than HugSQL. I keep looking at Macchiato but without a Clojurescript database layer I can't see it being useful.
Re:Clojure at Netflix (2013) [slides] by yogthos on Friday November 02, 2018 @01:52PM (#18365128)
I mean if you're on Node, it's not going to be any better with plain Js either. Stuff like this is precisely why I prefer the JVM ecosystem myself.