Book description
If you’re an experienced programmer who has not worked with Clojure before, this guide is the perfect thorough but gentle introduction for you. Author Carin Meier not only provides a practical overview of this JVM language and its functional programming concepts, but also includes a complete hands-on training course to help you learn Clojure in a structured way.
The first half of the book takes you through Clojure’s unique design and lets you try your hand at two Clojure projects, including a web app. The holistic course in second half provides you with critical tools and resources, including ways to plug into the Clojure community.
- Understand the basic structure of a Clojure expression
- Learn how to shape and control code in a functional way
- Discover how Clojure handles real-world state and concurrency
- Take advantage of Java classes and learn how Clojure handles polymorphism
- Manage and use libraries in a Clojure project
- Use the core.async library for asynchronous and concurrent communication
- Explore the power of macros in Clojure programming
- Learn how to think in Clojure by following the book’s seven-week training course
Publisher resources
Table of contents
- Preface
- I. A Guided Tour of Clojure
- 1. The Structure of Clojure
- 2. Flow and Functional Transformations
- 3. State and Concurrency
- 4. Java Interop and Polymorphism
- 5. How to Use Clojure Projects and Libraries
- 6. Communication with core.async
-
7. Creating Web Applications with Clojure
- Creating a Web Server with Compojure
- Using JSON with the Cheshire Library and Ring
- Using Clojure in Your Browser with ClojureScript
- Browser-Connected REPL
- Making HTTP Calls with ClojureScript and cljs-http
- DOM Control with ClojureScript and Enfocus
- Event Handling with Enfocus
- Summary of Our Clojure and ClojureScript Web Application
-
Other Useful Web Development Libraries
- Using Hiccup for Templating
- Using Enlive for Templating from Static HTML Files
- Using Liberator for Content Negotiation and Other Good Things
- Using Transit for a Small, Fast JSON Alternative
- Using Om for Powerful Client-Side Applications
- Using Hoplon and Luminus for Inclusive, Bundled Libraries for Web Development
- Dealing with Databases
- 8. The Power of Macros
- II. Living Clojure Training Program
- 9. Joining the Clojure Community
- 10. Weekly Living Clojure Training Plan
- 11. Further Adventures
- Index
Product information
- Title: Living Clojure
- Author(s):
- Release date: April 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491909041
You might also like
book
Getting Clojure
Behind every programming language lies a vision of how programs should be built. The vision behind …
video
Deep Dive into Clojure
Discover some of the coolest Clojure features by developing a few simple examples from the book …
video
Learning Clojure
In this Learning Clojure training course, expert author Adam Bard will teach you how to write …
book
Clojure for the Brave and True
Clojure for the Brave and True is an epic introduction to functional programming with Clojure.