ClojureScript: Up and Running

ClojureScript: Up and Running

by Stuart Sierra, Luke VanderHart


View All Available Formats & Editions
Choose Expedited Shipping at checkout for delivery by Wednesday, August 4


Learn how to build complete client-side applications with ClojureScript, the Clojure language variant that compiles to optimized JavaScript. This hands-on introduction shows you how ClojureScript not only has similarities to JavaScript—without the flaws—but also supports the full semantics of its parent language. You’ll delve into ClojureScript’s immutable data structures, lazy sequences, first-class functions, macros, and support for JavaScript libraries.

No previous experience with Clojure or ClojureScript is necessary. If you’re familiar with JavaScript, HTML, CSS, and the DOM, you’ll quickly discover that ClojureScript has the same reach as JavaScript, but with more power.

  • Start writing ClojureScript code with the Leiningen build system
  • Learn how the ClojureScript compiler works to produce optimized JavaScript
  • Use JavaScript functions and libraries directly from ClojureScript code
  • Explore functions in Clojure’s sequence library such as map, reduce, and filter
  • Use macros to define new control structures or embed domain-specific languages
  • Compile manually or script your own workflow with ClojureScript’s compiler tools
  • Integrate ClojureScript with Clojure on the JVM to build powerful client-server applications

Related collections and offers

Product Details

ISBN-13: 9781449327439
Publisher: O'Reilly Media, Incorporated
Publication date: 11/07/2012
Pages: 116
Product dimensions: 7.00(w) x 9.19(h) x 0.24(d)

About the Author

Stuart Sierra is a Clojure/ClojureScript developer, a member of Clojure/core, and a co-author of Practical Clojure (Apress, 2010). Stuart lives in New York City.

Luke VanderHart is a Clojure/ClojureScript developer, a member of Clojure/core, and a co-author of Practical Clojure (Apress, 2010). Luke lives in Maryland.

Table of Contents

  • Preface

  • Chapter 1: Introduction: Why ClojureScript?

  • Chapter 2: Hello World

  • Chapter 3: The Compilation Process

  • Chapter 4: ClojureScript Basics

  • Chapter 5: Data and State

  • Chapter 6: Sequences

  • Chapter 7: Namespaces, Libraries, and Google Closure

  • Chapter 8: Macros

  • Chapter 9: Development Process and Workflow

  • Chapter 10: Integration with Clojure

  • Libraries

Customer Reviews