pragmatic functional programming in the js land with clojurescript and om
DESCRIPTION
These are slides for my functional conf talk about Om and ClojureScriptTRANSCRIPT
![Page 1: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/1.jpg)
ClojureScript and Om FP in the JS land
Vagmi Mudumbai
![Page 2: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/2.jpg)
@vagmi - on twitter/github/facebook
![Page 3: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/3.jpg)
Google Closure Compiler+
+
![Page 4: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/4.jpg)
+
OmReagent
Quiescent
![Page 5: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/5.jpg)
React.JS is not a MVC Framework
![Page 6: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/6.jpg)
React.JS is a view library
![Page 7: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/7.jpg)
And…. its fast
![Page 8: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/8.jpg)
Watchers vs. KVO
$scope.$watchmodel.set, model.get
fn.property(‘p1’,’p2@each’)
![Page 9: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/9.jpg)
B.setState({key: val})A
B
EDC
A
B
EDC
![Page 10: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/10.jpg)
renderA: <div><span>first</span></div> renderB: <div><span>second</span><span>first</span></div> => [replaceAttribute textContent 'second'], [insertNode <span>first</span>]
DOM Diffing
![Page 11: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/11.jpg)
shouldComponentUpdate()
![Page 12: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/12.jpg)
Persistent data structures FTW
![Page 13: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/13.jpg)
Request Animation Frame
![Page 14: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/14.jpg)
CLJS makes React Faster
![Page 15: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/15.jpg)
Show me some code
![Page 16: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/16.jpg)
Source: http://gif-central.blogspot.in/2013/07/family-guy-css.html
![Page 17: Pragmatic Functional Programming in the JS land with Clojurescript and Om](https://reader033.vdocuments.us/reader033/viewer/2022052507/55851bd2d8b42ae4748b4775/html5/thumbnails/17.jpg)
@vagmi on Github/Twitter/FacebookThanks