Re: [ClojureScript] working reference/example apps in cljs wanted for educational purposes

2014-10-23 Thread Michiel Borkent
Thanks Alexander, I think this fits the bill! On Thursday, October 23, 2014 12:02:06 PM UTC+2, Alexander Solovyov wrote: I think my own small implementation of snake mostly meets your requirements:  https://github.com/piranha/qsnake (it's based on react/quiescent). On Thu, Oct 23, 2014

Re: [ClojureScript] working reference/example apps in cljs wanted for educational purposes

2014-10-23 Thread Colin Fleming
I'm not sure if this meets your complexity requirements, but you could try the Goya pixel editor: https://github.com/jackschaedler/goya. On 24 October 2014 00:05, Michiel Borkent michielbork...@gmail.com wrote: Thanks Alexander, I think this fits the bill! On Thursday, October 23, 2014

Re: [ClojureScript] working reference/example apps in cljs wanted for educational purposes

2014-10-23 Thread Gary Verhaegen
On Thursday, 23 October 2014, Michiel Borkent michielbork...@gmail.com wrote: So, what I'm looking for is good out of the box working examples in: - Vanilla clojurescript - React based examples Preferable the examples should be - short and simple (not thousands of lines of code) - easy to

Re: [ClojureScript] working reference/example apps in cljs wanted for educational purposes

2014-10-23 Thread Michiel Borkent
I consider that an advanced example. Also cool, but not for total beginners probably. On Thursday, October 23, 2014 1:12:56 PM UTC+2, Colin Fleming wrote: I'm not sure if this meets your complexity requirements, but you could try the Goya pixel editor: https://github.com/jackschaedler/goya.

[ClojureScript] (newbie) Om/reagent (and react) clarity questions

2014-10-23 Thread Colin Yates
(apologies if I have overlooked any of this in the docs, it isn't from lack of reading, more reaching saturation point - RTFM is a perfectly good response if it contains a link to the relevant bit :)) My use case is that I have a non-trivial single page app. Inside this app there are a number

Re: [ClojureScript] working reference/example apps in cljs wanted for educational purposes

2014-10-23 Thread Michiel Borkent
I have started the list here on github: https://github.com/borkdude/simple-cljs-examples/blob/master/README.md Feel free to send me a pull request. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are

Re: [ClojureScript] (newbie) Om/reagent (and react) clarity questions

2014-10-23 Thread Peter Jaros
A few thoughts, though I’m sure others will have more: - Om requires your entire React render tree’s data to be stored in a single atom, but you can have as many render trees as you’d like on a page, each with its own atom of state. It’s more common to just use one, but more than

Re: [ClojureScript] (newbie) Om/reagent (and react) clarity questions

2014-10-23 Thread Linus Ericsson
One cool thing which solves one of the problems (namely get views out of the data) is DataScript [1]. There are some nice and quite compact examples [2] which are not that trivial (at least they have two different widgets). DataScript is encouraging in that it feels doable to get data out of the

[ClojureScript] Re: [ANN] clairvoyant 0.0-43-ga703f4e

2014-10-23 Thread Joel Holdbrooks
On Wednesday, October 22, 2014 10:15:13 PM UTC-7, Joel Holdbrooks wrote: Clairvoyant, a flexible tracing library for ClojureScript is now version 0.0-43-ga703f4e. Included in this release: * Fixed bug which caused anonymous functions to thrown an exception * Fixed bug with IPrintWithWriter

[ClojureScript] State of Clojure/ClojureScript 2014 survey results

2014-10-23 Thread Alex Miller
I've published links to the State of Clojure and ClojureScript 2014 survey results here: http://blog.cognitect.com/blog/2014/10/20/results-of-2014-state-of-clojure-and-clojurescript-survey That page links to some reports with graphs where you can also export the raw data. I also have links to

[ClojureScript] Re: (newbie) Om/reagent (and react) clarity questions

2014-10-23 Thread Ahmad Hammad
re routing with om, it stumped me at first too, i've outlined an evolving approach here https://groups.google.com/forum/#!topic/clojurescript/E2Lxody9SlM would be happy to bounce ideas of any alternative approaches. -- Note that posts from new members are moderated - please be patient with

[ClojureScript] Re: State of Clojure/ClojureScript 2014 survey results

2014-10-23 Thread Alex Miller
Thanks, I do hope to follow up with some analysis, just thought it was more important to release the data sooner rather than later. Alex On Thursday, October 23, 2014 12:30:47 PM UTC-5, Fergal Byrne wrote: Great stuff Alex. I'd recommend taking a look at this talk

Re: [ClojureScript] (newbie) Om/reagent (and react) clarity questions

2014-10-23 Thread Mike Haney
Reagent is more than just a thin veneer over React. It does quite a bit of work, just as Om does. This is subjective, but Reagent feels more easy than simple to me. Sometimes, that’s what you want; sometimes it’s not. But: I’ve barely touched Reagent myself, so take that with a large grain

[ClojureScript] Re: working reference/example apps in cljs wanted for educational purposes

2014-10-23 Thread Logan Campbell
Snake: https://github.com/logaan/snake Nonaga: https://github.com/logaan/nonaga Nonaga is a turn based two player tabletop game. On Thursday, 23 October 2014 20:01:49 UTC+11, Michiel Borkent wrote: For newcomers to cljs I think it's very important to have out of the box working examples in

[ClojureScript] Re: (newbie) Om/reagent (and react) clarity questions

2014-10-23 Thread Mike Haney
Is it true that om really wants to manage the entire application state in a single atom. So we might have an atom map structured with keys referencing each functional area {:car-search {} :patient-search {} ...}? I understand that this isn't inefficient as components receive a cursor into

Re: [ClojureScript] Re: working reference/example apps in cljs wanted for educational purposes

2014-10-23 Thread Michiel Borkent
Hello Logan, Snake: Two things are missing, before I would be willing to try it out as a newcomer: - There are no descriptions in the README how to run it. - The project contains unfinished tests, which may look a bit sloppy. Either remove them or finish them. It would be nice if you could add

Re: [ClojureScript] Re: (newbie) Om/reagent (and react) clarity questions

2014-10-23 Thread Colin Yates
Thank you all, kudos to Mike again! You are right, a spike is an excellent idea. On 24 Oct 2014 05:20, Mike Haney txmikes...@gmail.com wrote: Is it true that om really wants to manage the entire application state in a single atom. So we might have an atom map structured with keys