Re: first time without state - and I'm lost

2020-05-12 Thread Jag Gunawardana
I know that lost feeling. I came from a background of OO too. Most of the languages I'd used (C++, Java, Python, Go) had either total OO orientation, or at least pushed you into an OO way of thinking. I found that reading some Clojure books and other's code helped a lot (Joy of Clojure, Eric N

Re: Complete Web Development Setup Using Clojure CLI Tools

2020-05-05 Thread Jag Gunawardana
The work above seems to be enough to get a Cider repl and code reload (from shadow-cljs) working. So if you start the ring server with clojure -A:run and then run a shadow-cljs repl on the :build id it will hot reload your cljs code. On Thursday, 30 April 2020 11:06:43 UTC+1, Jag Gunawardana

Re: Complete Web Development Setup Using Clojure CLI Tools

2020-04-30 Thread Jag Gunawardana
. As I use the same docker in all environments I specify this with an env var. Not sure anyone needs this detail, but it explains when I have to two app setups. On Thursday, 30 April 2020 11:01:21 UTC+1, Jag Gunawardana wrote: > > Quick background: > > I often use static site generators

Re: Complete Web Development Setup Using Clojure CLI Tools

2020-04-30 Thread Jag Gunawardana
Quick background: I often use static site generators for landing pages, marketing pages etc. Hugo is normally my goto product for this as the themes are good and it is easy enough to change them, but recently I felt that there has to be a better way when you want something (just slightly) beyon

Re: Complete Web Development Setup Using Clojure CLI Tools

2020-04-27 Thread Jag Gunawardana
Thanks Gary for posting this up. Was a great help for a slightly different use case. I was using static site generators like Hugo, but always found that I ended up having to learn their internals/templating to make larger changes. I also wanted to use Clojurescript and it was painful to do so. I