What if the database was not a black box?
What if the performant hard-core was implemented in C, but a vibrant community could rapidly iterate on the high level features in a dynamic language?
What if you could experiment with all sorts of evented features, a realtime database?
What if that database could be easily installed via npm on any VM, and it ran in the browser?
What if you could have all this and anything else you can build & publish!
You can with leveldb!
ClojureScript is a dialect of Clojure built especially for rich front-end applications in the browser. What better application to show than an agent model of cows inside an electric fence? We'll take a good look at an exciting language and learn useful principles to help us keep the anxiety level of our herd as low as possible.
It's also a great language in which to write an agent model. In this talk, we'll dissect an entirely client-side simulation of a pen full of cows inside an electric fence. Each cow moves around randomly, and is sensitive to the stress level of the cows around it. When a cow wanders into the electric fence, we can explore simulation parameters that determine how stress moves through the herd. We'll learn how to write ClojureScript, and draw fascinating parallels to human behavior in real-life emotional systems.
Tim is a full-stack generalist and passionate teacher who loves working with people as much as he loves to code. He is a GitHubber (github.com/blog/1216-tim-berglund-is-a-githubber) whose mission is to make it easy for everybody in the world to use Git. He is a speaker internationally and on the No Fluff Just Stuff (nofluffjuststuff.com) tour in the United States, and loves to speak on Git and a variety of other topics. He is co-president of the Denver Open Source User Group (denveropensource.org), co-presenter of the best-selling O'Reilly Git Master Class (http://bit.ly/ogitvid), co-author of Building and Testing with Gradle (amazon.com/dp/144930463X), a member of the O'Reilly Expert Network (oreilly.com/pub/expert/timberglund), and a member of the GigOM Pro Analyst Network (pro.gigaom.com/members/timberglund/profile). He occasionally blogs at timberglund.com. He lives in Littleton, CO, USA with the wife of his youth and their three children.