Fork me on GitHub
#beginners
<
2017-08-19
>
amit588117:08:29

Hello all! i just learned fundamentals in clojure, i want to get started with web app development, using clojurescript as frontend and clojure as backend So guys i just need some resources to play around or some sample layouts

lepistane18:08:06

has anyone used hugsql to send seq of ids to query i am getting errors for vectors and lists how do i convert clj -> sql seq ?

delaguardo18:08:25

use a value list parameter type :v* for IN()

delaguardo18:08:40

-- Let's specify some columns with the
-- identifier list parameter type :i* and
-- use a value list parameter type :v* for IN()
-- :name characters-by-ids-specify-cols :? :*
-- :doc Characters with returned columns specified
select :i*:cols from characters
where id in (:v*:ids)

lepistane18:08:05

@amit5881 Get the book https://www.amazon.com/Web-Development-Clojure-Build-Bulletproof/dp/1680500821 (gets you started with basic template called luminus, helps a lot i suggest you start from there) examples - https://www.reddit.com/r/Clojure/comments/6k2n2x/examples_of_clojure_webapps/ Clj community likes libs over frameworks, simple composable units that you understand to make great things. hope this helps

lepistane18:08:26

@delaguardo NICE! thank you damn that's from official docs i couldnt find it thank you ❤️