Git Product home page Git Product logo

clojure-workshop's Introduction

Learn basics of Clojure/script and Reagent

Materials and links for clojure workshop @ Reactive 2015

Presentation can be found in folder presentation

Before workshop

Install leiningen

For linux install rlwrap sudo apt-get install rlwrap

Install some text editor preferably Light table

Run some commands to download stuff to prevent jaming wifi at once

Download and start clojure repl

  • lein repl
  • wait to start

For clojurescript development use re-frame template

  • lein new re-frame <project-name>
  • cd <project-name>
  • lein figwheel dev
  • wait

Or if you want only clojurescript repl without web stuff (on node for example). https://github.com/clojure/clojurescript/wiki/Quick-Start

At workshop

For begginers interactive workshop from Cognitect

See https://github.com/cognitect/clojure-lab

  • Basic concepts of clojure with interactive REPL.
  • 2-day workshop held at Clojure/West 2015
  • lot of explanation and some excercise

Materials about different topics

Cheatsheets

Great for learning new functions and what they do.

http://clojure.org/cheatsheet

http://cljs.info/cheatsheet/

https://en.wikibooks.org/wiki/Learning_Clojure/Reader_Macros

  • for strange looking characters at code

Destructuring

http://blog.jayfields.com/2010/07/clojure-destructuring.html

Javascript interoperability

http://www.spacjer.com/blog/2014/09/12/clojurescript-javascript-interop/

Identity, state and values

What to code in clojure?

http://www.codewars.com/

  • Improve your skills by training with others on real code challenges
  • Clojure is supported.
  • See other solution but only after solving problem
  • have automatic test for you

https://github.com/gigasquid/wonderland-clojure-katas

  • Collection of Clojure katas inspired by Lewis Carroll and Alice in Wonderland.
  • They have links to solution of other users.

Web frontend stuff

Reagent

A simple ClojureScript interface to React. https://github.com/reagent-project/reagent

Tutorial https://github.com/jonase/reagent-tutorial

Detailed intro with live examples http://reagent-project.github.io/

Template https://github.com/reagent-project/reagent-template

Devcards

Enviroment for better development of UI application. https://github.com/bhauman/devcards

Template https://github.com/bhauman/devcards-template

Can be used with reagent template lein new reagent <name> +devcards

Re-frame

Pattern for writing SPAs in ClojureScript, using Reagent. https://github.com/Day8/re-frame

Template https://github.com/Day8/re-frame-template

After workshop

Some great video presentation

TODO

But anything from Rich Hickey or David Nolan is great (search on youtube ;-)

Other presentation

http://www.slideshare.net/thnetos/clojure-intro http://www.slideshare.net/bmabey/clojure-plainandsimple

clojure-workshop's People

Contributors

matystl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ezmiller mcne65

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.