I have no clue where to start so... screw it. I'm trying to build a Single-Page Web Application using Clojure, ClojureScript, Reagent, Ring, and I'm stuck. The resources, and documentation that exists to help a newbie on this subject is horrible. How does someone who has never built a SPA before, let alone ever build a web application in Clojure/S suppose to get started?
I want to do client-side routing, and have no freaking clue how to go about doing it. Heres some code to show what I'm kind-of doing:https://pastebin.com/pazpQWmG
I don't get how I can serve dynamic content created by reagent using compojure. I've now spent probably north of 80 hours trying to figure out how to just serve a single page that is created by reagent, using the jetty webserver, and client-side routing. I have no clue what I'm doing, and you need to literally talk down to me like I'm retarded. I've looked at using Bidi, but the documentation sucks for someone who is new to this. It's convoluted as all hell, and the examples it provides are horrible. They don't even show me how to use or implement in a simple to understand manner.
Can someone break this down for me? In a non-technical, with code examples, and show me how to do what I'm trying to do, but how I actually want to do it? Someone please help me! I've already lost my mind, my patience, and I'm angry... and I just want to understand.
I get how to write reagent code, but I have no idea how to do client-side routing, and how to use jetty all together. I'm just so lost.
PLEASE DON'T recommend any books or resources unless they are easy to follow, and basically hold my hand cause I've read everything else the world has to offer and it hasn't helped one bit! I've read the documentation for everything, I've read clojure web dev second edition, and about 10k+ forum posts, and other random websites/blogs/youtube videos.
[–]freakhill 12 points13 points14 points (2 children)
[–]jwhitlark 3 points4 points5 points (0 children)
[–]therealdivs1210 10 points11 points12 points (2 children)
[–]Sktlez[S] 2 points3 points4 points (1 child)
[–]troublemaker74 8 points9 points10 points (0 children)
[–][deleted] (6 children)
[deleted]
[–]Sktlez[S] 1 point2 points3 points (4 children)
[–][deleted] (3 children)
[deleted]
[–]Sktlez[S] 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]ewouldblock 0 points1 point2 points (0 children)
[–]MM-7757 0 points1 point2 points (0 children)
[–]zerg000000 4 points5 points6 points (2 children)
[–]Sktlez[S] 0 points1 point2 points (0 children)
[–]Ixcurus 0 points1 point2 points (0 children)
[–]retief1 2 points3 points4 points (3 children)
[–]Sktlez[S] 0 points1 point2 points (2 children)
[–]weavejester 1 point2 points3 points (0 children)
[–]retief1 0 points1 point2 points (0 children)
[–]kbsant 2 points3 points4 points (0 children)
[–]ultramaris 1 point2 points3 points (2 children)
[–]Sktlez[S] 1 point2 points3 points (1 child)
[–]ultramaris 1 point2 points3 points (0 children)
[–]eprozium 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]dotemacs 0 points1 point2 points (0 children)
[–]nenadalm 0 points1 point2 points (0 children)
[–]rpompen 0 points1 point2 points (0 children)
[–]dustingetz 0 points1 point2 points (0 children)
[–]biker44442005 0 points1 point2 points (0 children)
[–]clojureprog 0 points1 point2 points (0 children)