On Sunday, February 1, 2015 at 9:16:05 PM UTC+1, Sebastian Bensusan wrote: > I changed the tutorial to use a new version of the figwheel template > https://github.com/bhauman/figwheel-template. When the new template is > published to Clojars we can update the Om wiki. I'll move on to the > Intermediate tutorial. If by the time I'm done with all of the tutorials the > template is not published I'll do it myself. > > > > The new version: > > > https://github.com/bensu/basic-om-tut/blob/master/Basic-Tutorial.md > > > Feedback is welcome. Hope this helps. > > > > On Saturday, January 31, 2015 at 5:19:35 PM UTC+1, David Nolen wrote:Template > preferred. > > On Saturday, January 31, 2015, Sebastian Bensusan <sbe...@gmail.com> wrote: > Sure, I'll explore Figwheel's new REPL and add that instead. > > > > What about adding/configuring Figwheel? Should it be step by step inside the > tutorial, from mies-om to mies-om + Figwheel? Or it should just start with a > ready to go template "mies-om-wheel"? > > > > Thanks > > > > Sebastian Bensusan > > > > On Saturday, January 31, 2015 at 1:26:34 AM UTC+1, David Nolen wrote: > > > I would prefer just Figwheel. Relying only on Figwheel also means you could > > probably go out with an updated tutorial much sooner. > > > > > > > > > Thanks, > > > David > > > > > > > > > On Fri, Jan 30, 2015 at 4:10 PM, Sebastian Bensusan <sbe...@gmail.com> > > wrote: > > > > > > > > > Hi David and Dan, > > > > > > I edited Om's Basic Tutorial > > (https://github.com/swannodette/om/wiki/Basic-Tutorial) to be used with > > Chestnut. Most of the work (not much!) was changing "evaluate in > > LightTable" to "save in your text editor". I don't know what the procedure > > is for updating a Wiki and having this conversation, should I open an issue > > on Om? I have it as a standalone repo in case someones wants to propose a > > change or make a pull request: > > > > > > > > > https://github.com/bensu/basic-om-tut > > > > > > > > > > > > Two issues: > > > > > > > > > 1. Chestnut 0.6.0 (current stable version) uses Om 0.7.3 and I needed to > > deref a cursor inside a go loop in order for things to work. See > > https://github.com/swannodette/om/issues/315 and > > https://github.com/swannodette/om/commit/92a3e0cf698769fb59bb3744faddaea40b37412d. > > Om version is bumped to 0.8.3 beta in v0.7.0-SNAPSHOT-20141226 > > > > > > > > > 2. Chestnut's 0.6.0 doesn't reload the index.html (not on save, not on > > refresh). The whole process needs to be restarted. See: > > https://github.com/plexus/chestnut/issues/84 This was addressed in > > v0.7.0-SNAPSHOT-20141207. > > > > > > > > > I would wait until Chestnut 0.7.0 stable is published in Clojars before > > adding this tutorial to the Om Wiki. Otherwise, if you feel the extra > > dependency on Chestnut is also too much, I'll fork mies-om and add Figwheel > > there for the tutorial. > > > > > > > > > After revising this work, I'll move on to the next tutorial. > > > > > > > > > Best > > > > > > > > > Sebastian Bensusan > > > > > > > > > > > > > > > > > > > > > On Tuesday, January 27, 2015 at 5:25:09 PM UTC+1, David Nolen wrote: > > > I think expecting every last thing to work especially from third parties > > who may be wisely lagging behind is unlikely at least for the near future. > > > > > > > > > I haven't kept up with Light Table and what issues it may have. Now is > > probably a good time to remove the Light Table centric nature of the Om > > tutorials and switch to a Figwheel based thing that doesn't require > > anything more than your text editor of choice. > > > > > > > > > The wiki has always been community editable and I would love to see people > > push it forward especially with stuff like this. I will have less time for > > such things as I focus more on Om core and ClojureScript enhancements. > > > > > > > > > > > > David > > > > > > > > > On Tue, Jan 27, 2015 at 10:46 AM, Olav Nymoen <ol...@comoyo.com> wrote: > > > Just testing clojurescript out so many possible pitfalls on my side here. > > > > > > > > > > > > Does the new javascript externals stuff break lighttables live external > > browser functionality? > > > > > > > > > > > > Following the basic intro tutorial I cannot get live updates to work. The > > mies-om om-tut is based on 0.8.4 , and it cannot reference > > com.facebook.react, while 0.8.6 cannot find cljsjs.react. > > > > > > > > > > > > It compiles nicely with lein, but I can't seem to get the lighttable live > > REPL stuff to work. > > > > > > > > > > > > Olav > > > > > > > > > > > > > > > > > > On Tuesday, January 27, 2015 at 1:57:19 AM UTC+1, David Nolen wrote: > > > > > > > The only significant change is that Om now relies on the cljsjs.react > > > artifact instead of the one I maintained myself. cljsjs.react has the > > > benefit that usage of React with addons instead of plain React may be > > > configured via Maven in your pom.xml or your project.clj. It's exciting > > > to see that we are already reaping the benefits of :foreign-libs and > > > Maven over existing JavaScript solutions for managing dependencies. > > > > > > > > > > > > > > > > > > > > > This release also includes a fix for a very subtle set-state! bug > > > discovered by Brenton Ashworth. > > > > > > > > > > > > > > > > > > > > > > > > > > > > Feedback welcome! > > > > > > > > > > > > > > > > > > > > > https://github.com/swannodette/om > > > > > > > > > > > > > > > > > > > > > > > > > > > > David > > > > > > > > > > > > -- > > > > > > Note that posts from new members are moderated - please be patient with > > your first post. > > > > > > --- > > > > > > You received this message because you are subscribed to the Google Groups > > "ClojureScript" group. > > > > > > To unsubscribe from this group and stop receiving emails from it, send an > > email to clojurescrip...@googlegroups.com. > > > > > > To post to this group, send email to clojur...@googlegroups.com. > > > > > > Visit this group at http://groups.google.com/group/clojurescript. > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > You received this message because you are subscribed to the Google > > > > > > Groups "Clojure" group. > > > > > > To post to this group, send email to clo...@googlegroups.com > > > > > > Note that posts from new members are moderated - please be patient with > > your first post. > > > > > > To unsubscribe from this group, send email to > > > > > > clojure+u...@googlegroups.com > > > > > > For more options, visit this group at > > > > > > http://groups.google.com/group/clojure?hl=en > > > > > > --- > > > > > > You received this message because you are subscribed to the Google Groups > > "Clojure" group. > > > > > > To unsubscribe from this group and stop receiving emails from it, send an > > email to clojure+u...@googlegroups.com. > > > > > > For more options, visit https://groups.google.com/d/optout. > > > > -- > > Note that posts from new members are moderated - please be patient with your > first post. > > --- > > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > > To unsubscribe from this group and stop receiving emails from it, send an > email to clojurescript+unsubscr...@googlegroups.com. > > To post to this group, send email to clojurescr...@googlegroups.com. > > Visit this group at http://groups.google.com/group/clojurescript.
Wonderful job, Sebastian. I really like the initiative. One thing I find ambiguous is the use of the word "app" in the implementations of the Om protocols. The tutorial itself calls it the application state, and the var is named "app-state". I think it should it be named "app-state" or "state". What do you think ? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.