Fork me on GitHub
#luminus
<
2018-10-01
>
llsouder13:10:04

I am also wondering if some cool plugin will wrap up my get-user hugsql in the appropriate response. With all the stuff luminus gives me for free, I am hesitant to code up this route/rest/response "by-hand" .

Dormo16:10:18

@llsouder do you want to render a new page or update an existing one?

llsouder18:10:48

@vheuken I would like to update an existing page using Ajax.

Dormo19:10:40

@llsouder have you looked into Sente?

Dormo19:10:03

It's rather simple to use. Supports HTTPKit, Immutant, nginx, aleph, and node

Dormo19:10:56

Primarily uses websockets, but can fall back to ajax. You can also force it to solely use one or the other if you want.

Dormo19:10:08

As far as there being >some cool plugin will wrap up my get-user hugsql in the appropriate response. .... I don't believe anything of the sort exists.

Dormo19:10:16

Someone else can chime in if they disagree, but the philosophy of Clojure and its ecosystem is to give you very general tools. These give you the freedom to create your own abstractions. The cost, of course, is fewer "plug and play" options like are expected in environments like PHP and Rails.

👍 1
llsouder22:10:37

should I use swagger?