This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-01
Channels
- # adventofcode (1)
- # bangalore-clj (1)
- # beginners (8)
- # boot (47)
- # cider (6)
- # cljsrn (3)
- # clojure (155)
- # clojure-brasil (2)
- # clojure-china (3)
- # clojure-conj (1)
- # clojure-hk (4)
- # clojure-korea (36)
- # clojure-russia (38)
- # clojure-spec (53)
- # clojure-taiwan (1)
- # clojure-uk (14)
- # clojurescript (70)
- # clojurex (9)
- # component (2)
- # cursive (20)
- # datascript (19)
- # datomic (39)
- # defnpodcast (1)
- # events (5)
- # figwheel (2)
- # hoplon (81)
- # incanter (2)
- # jobs (7)
- # juxt (3)
- # klipse (1)
- # leiningen (1)
- # luminus (15)
- # mount (1)
- # off-topic (21)
- # om (5)
- # om-next (2)
- # onyx (19)
- # pedestal (2)
- # proto-repl (1)
- # proton (5)
- # re-frame (19)
- # reagent (4)
- # rethinkdb (2)
- # ring-swagger (6)
- # rum (13)
- # specter (6)
- # untangled (4)
- # yada (1)
@shem If you manage to achieve your server-fetching autocomplete, I would love to see the implementation 🙂
@reefersleep i'll give you a holler when it's done
cheers @shem ! 😄
If anyone has any good effects libraries that they want to put at the bottom of https://github.com/Day8/re-frame/blob/master/docs/Effects.md I would be grateful - I know there's been some interesting ones posted here previously, but I can't remember them and they've disappeared from the slack history.
I’ve been thinking about how to build an app that I am planning out. My most recent experience of building a full app was Rails 3 (I’ve been out of full-time dev for a while). I was pretty easily able to transition to working with Ring+Compojure and, more recently, have experience of building an SPA with re-frame and I really like the model. Yet I am a little uncomfortable building the whole thing as an SPA (presumably talking to a Ring based API backend). I’m familiar with Secretary and the use of document fragment ID based routing but still… One idea that occurred to me was to build a Ring based app but have each page be a separate SPA. Anyone have a view about the pro’s & con’s of building large apps as SPA’s, any worst practices to avoid (e.g. building each page as an SPA!)
Any re-framers at the conj, I created a re-frame channel in the Conj slack so we can organize meet ups or anything like that
@sandbags i've done multi-page rails apps and more recently SPAs, firstly with js+rails, then js+clj and most recently re-frame+async-clj ... the only reason i would consider a multi-page approach now is to support non-js environments, or maybe very ancient js environments...
my current app is a large (~50kloc) SPA - i've found the SPA+API approach and in particular re-frame's reduce-your-state-from-an-infinite-stream-of-events approach, well-formed, checkable, first-class app state, reactive views and isomorphic code to be both comprehensible and powerful
@mccraigmccraig this is excellent feedback, thanks
@mccraigmccraig are you using something like secretary to create URLs within your app?
and do you tend to have a fine-grained API and load only small amounts of state corresponding to a ‘view’ or do you load all your app data at once?
@sandbags my app is deployed to ios and android devices on cordova, so i don't really care about urls... others seem to like secretary
my api is quite fine-grained - lots of infinite-scroll type stuff and only a few basic things loaded at init and login time