Dear Community,

Here is the video for the SF Reagent Meetup from 4/16/2015

It's still processing as I type this but just in case it does make it out
of the "Processing 94%" state, here is the URL for you:

https://www.youtube.com/watch?v=z1uLNuXDCCo

I have not watched it, so it may be full of awkward and/or weird moments.
Please consume at your own risk =)

I know one thing, Dhruv gave a kick ass presentation on Re-frame !

And Dmitri (whose code and writing are some of the best, e.g. I'm reading
this right now https://yogthos.github.io/ClojureDistilled.html) gave a
short synopsis of Reagent Template and a brief history of the Reagent
project

In the service of humor and learning, I put together a gist that captures
what is possible with cursors, and I used the word "Power" where I should
have used "Crazy" ... but I figured no one would want to waste time reading
about some Crazy Cursors!

Enjoy, and let me know if the video doesn't make it out of Youtube's
"Processing 94%" limbo. It is 2.4GB, so I hope Youtube figured out how to
count file size because it did not report a size limit etc.

See you at the next meetup

p.s. I've updated response to the notion that "Cursors are just pointers"
which came up during the meetup

Latest Gist: https://gist.github.com/idibidiart/0090a95b6b4f9c12c070

;  Advantages of Power Cursors:
;
;  1. Does not expose the bare-bone atom interface. So swap!, reset!
assoc, assoc-in
;  and @ are replaced by simple get/set methods that take options like
:transform and
;  (soon) projection: {}
;
;  2. All cursors are created dynamically and extend their path with
the the sub-path
;  you provide in the get operation so the work Reagent performs upon
dereferencing is
;  guaranteed to be as efficient as possible without having to
manually define cursors of
;  cursors to narrow the scope of reaction to state change.
;
;  3. You can define in-transform and out-transform as part of each
cursor and you can decide
;  when to enable the transform
;
;  4. You can define multiple cursors in on cursor instance so you can
pass a whole bunch of
;  related cursors with one map
;
;  5. You can easily extend the cursor definition map and the
PowerCursor class defined by
;  defrecord to build multi-focal lenses or whatever state projection
you need, without creating
;  a hidden state structure (you can see the static definition of each
projection in the cursor
;  definition map)
;
;  6. This is meant for cursor aficionados ... If you want your cursor
to jump thru hoops, you can
;  make your own use existing Reagent cursor with or something like this.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to