Skip to content

casperc/modern-cljs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modern-cljs

A series of tutorials to guide you in creating and setting up ClojureScript (CLJS) projects.

Introduction

This series of tutorials will guide you in creating, setting up and running simple CLJS projects. The series follows a progressive enhancement of projects themselves.

Assuming you already installed leiningen, to run the tutorials without coding:

  1. $ git clone https://github.com/magomimmo/modern-cljs.git
  2. $ cd modern-cljs
  3. $ lein ring server
  4. open a new terminal and cd in modern-cljs
  5. $ lein cljsbuild once
  6. $ lein trampoline cljsbuild repl-listen
  7. visit simple.html for tutorials 1, 2 and 3
  8. visit login.html for tutorial 4
  9. play with the repl connected to the browser
  10. have fun

That said, I suggest coding yourself the content of the tutorials.

In the first tutorial you are going to create and configure a very basic CLJS project.

In this tutorial you are going to set up a browser connected CLJS REPL (bRepl) using an external http-server.

In this tutorial you are going to substitute the external http-server with ring, a CLJ based http-server.

In this tutorial we start having some fun with CLJS form validation, by porting from JS to CLJS the login form example of Modern Javascript: Development and desing by Larry Ullman.

Tutorial 5 - Introducing Domina

To be done

License

Copyright © Mimmo Cosenza, 2012. Released under the Eclipse Public License, the same as Clojure.

About

A short series of tutorials on ClojureScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published