Book description
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
Publisher resources
Table of contents
- Preface
- 1. Introduction: Why ClojureScript?
- 2. Hello World
- 3. The Compilation Process
- 4. ClojureScript Basics
- 5. Data and State
- 6. Sequences
- 7. Namespaces, Libraries, and Google Closure
- 8. Macros
- 9. Development Process and Workflow
- 10. Integration with Clojure
- A. Libraries
- About the Authors
- Copyright
Product information
- Title: ClojureScript: Up and Running
- Author(s):
- Release date: October 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449327439
You might also like
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Fluent Python, 2nd Edition
Python’s simplicity lets you become productive quickly, but often this means you aren’t using everything it …