Skip to Main Content

Clojure in Action

Elegant Applications on the JVM

Published by Manning
Distributed by Simon & Schuster

About The Book


Clojure in Action is a hands-on tutorial for the working programmer who has written code in a language like Java or Ruby, but has no prior experience with Lisp. It teaches Clojure from the basics to advanced topics using practical, real-world application examples. Blow through the theory and dive into practical matters like unit-testing and environment set-up, all the way through building a scalable web-application using domain-specific languages, Hadoop, HBase, and RabbitMQ.
About the Technology
Clojure is a modern Lisp for the JVM, and it has the strengths you'd expect: first-class functions, macros, support for functional programming, and a Lisp-like, clean programming style.
About this Book
Clojure in Action is a practical guide focused on applying Clojure to practical programming challenges. You'll start with a language tutorial written for readers who already know OOP. Then, you'll dive into the use cases where Clojure really shines: state management, safe concurrency and multicore programming, first-class code generation, and Java interop. In each chapter, you'll first explore the unique characteristics of a problem area and then discover how to tackle them using Clojure. Along the way, you'll explore practical matters like architecture, unit testing, and set-up as you build a scalable web application that includes custom DSLs, Hadoop, HBase, and RabbitMQ.

Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
What's Inside
  • A fast-paced Clojure tutorial
  • Creating web services with Clojure
  • Scaling through messaging
  • Creating DSLs with Clojure's macro system
  • Test-driven development with Clojure
  • Distributed programming with Clojure and more

This book assumes you're familiar with an OO language like Java, C#, or C++, but requires no background in Lisp or Clojure itself.

Table of Contents
  1. Introduction to Clojure
  2. A whirlwind tour
  3. Building blocks of Clojure
  4. Polymorphism with multimethods
  5. Clojure and Java interop
  6. State and the concurrent world
  7. Evolving Clojure through macros
  9. Test-driven development and more
  10. Data storage with Clojure
  11. Clojure and the web
  12. Scaling through messaging
  13. Data processing with Clojure
  14. More on functional programming
  15. Protocols, records, and type
  16. More macros and DSLs

About The Author

Amit Rathore has 12 years experience building large-scale, data-heavy applications. He's currently developing production Clojure code for a highly distributed, high-load, real-time big-data system.

Product Details

  • Publisher: Manning (November 20, 2011)
  • Length: 432 pages
  • ISBN13: 9781935182597

Browse Related Books

Resources and Downloads

High Resolution Images