Clojure Cookbook
Recipes for Functional Programming
Publisher: O'Reilly Media
Released: March 2014
Pages: 476

With more than 150 detailed recipes, this cookbook shows experienced Clojure developers how to solve a variety of programming tasks with this JVM language. The solutions cover everything from building dynamic websites and working with databases to network communication, cloud computing, and advanced testing strategies. And more than 60 of the world’s best Clojurians contributed recipes.

Each recipe includes code that you can use right away, along with a discussion on how and why the solution works, so you can adapt these patterns, approaches, and techniques to situations not specifically covered in this cookbook.

  • Master built-in primitive and composite data structures
  • Create, develop and publish libraries, using the Leiningen tool
  • Interact with the local computer that’s running your application
  • Manage network communication protocols and libraries
  • Use techniques for connecting to and using a variety of databases
  • Build and maintain dynamic websites, using the Ring HTTP server library
  • Tackle application tasks such as packaging, distributing, profiling, and logging
  • Take on cloud computing and heavyweight distributed data crunching
  • Dive into unit, integration, simulation, and property-based testing
Clojure Cookbook is a collaborative project with contributions from some of the world’s best Clojurians, whose backgrounds range from aerospace to social media, banking to robotics, AI research to e-commerce.
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyClojure Cookbook
 
4.5

(based on 4 reviews)

Ratings Distribution

  • 5 Stars

     

    (2)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Accurate (4)
  • Helpful examples (4)
  • Concise (3)
  • Easy to understand (3)

Cons

    Best Uses

    • Intermediate (4)
      • Reviewer Profile:
      • Developer (3)

    Reviewed by 4 customers

    Sort by

    Displaying reviews 1-4

    Back to top

     
    4.0

    A survey course of the Clojure ecosystem

    By Gordon, Clojure apprentice.

    from Washington, DC

    About Me Developer

    Verified Buyer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

    • Occasionally Too Cursory

    Best Uses

    • Intermediate
    • Novice

    Comments about oreilly Clojure Cookbook:

    This book provides a great overview of what's available to Clojure developers. The book wastes no time in convincing you of Clojure's efficacy or value, instead diving headlong into bite-sized morsels that range between "head retaining" gotchas to full-on library introductions. The Pros are many: well-indexed, quite comprehensive, and easily digestible. The cons are few, but one is worth mentioning: Certain recipes fall flat. Perhaps it was a subject not suitable for the format, but occasionally I found myself taking away only that a library existed. For example, the section on Liberator, a REST service library, does not manage to mention any of it's RESTful features. Compare that to the brief, but well-executed section on RabbitMQ. Here, the author manages to relay the core concepts of AMQP 0-9-1 and get you creating queues, sending and receiving messages in Clojure. On the whole though, this collection of tips and tutorials is a fun read, and sits nice on your desk as a quick reference. I would recommend it to novice and intermediate Clojure devs, however, experts will find most material too basic.

     
    5.0

    Great book for all clojurists

    By Esdee

    from Barrie, Ont, CA

    About Me Developer

    Verified Buyer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Intermediate
      • Novice

      Comments about oreilly Clojure Cookbook:

      Useful recipes in a large number of areas ranging from java interop to web dev

       
      4.0

      Good. Needs a part 2.

      By hellonico

      from Tokyo

      About Me Developer

      Verified Buyer

      Pros

      • Accurate
      • Easy to understand
      • Helpful examples

      Cons

      • Too basic

      Best Uses

      • Intermediate

      Comments about oreilly Clojure Cookbook:

      This cookbook is a great step forward from where the other books stop.
      I would recommend it to people starting clojure.

      However, if you're into Clojure already and you've purchased some of the existing literature, this may be a bit redundant.

      I do love the clearness, and the easyness of understanding of each chapter and samples.

      (4 of 4 customers found this review helpful)

       
      5.0

      Excellent reference book

      By Nitin

      from India

      About Me Designer

      Pros

      • Accurate
      • Concise
      • Helpful examples

      Cons

        Best Uses

        • Intermediate

        Comments about oreilly Clojure Cookbook:

        This book could be named "How to do it in Clojure". It is about solving common tasks a developer may encounter while using Clojure, covering a wide range of topics from manipulating simple data to interacting with databases to distributed computation.
        It should be stated rather clearly that this book aims to solve specific problems using Clojure, and does not touch upon the semantics of Clojure itself. If you want to learn Clojure, I would recommend O'Reillys Programming Clojure or Pragmatic's book. But if you want to know how to apply Clojure to perform common tasks, such as reading/writing to files, using databases or using sockets, this book is really helpful, much like the book The Rails 4 Way is for Rails - a general how-to-do-it-in-Clojure guide.
        The book covers a vast array of topics - general computing, I/O, networking, databases and distributed computing. The authors cover each topic in detail, covering both Clojure and Java API wherever applicable. Lein is covered in detail. Libraries for almost each of the above topics are discussed - though not in detail, enough information is provided to complete the task at hand.
        This book would be useful mostly for intermediate developers who have some idea about Clojure. I would certainly recommend this book to any serious Clojure developer.

        Displaying reviews 1-4

        Back to top

         
        Buy 2 Get 1 Free Free Shipping Guarantee
        Buying Options
        Immediate Access - Go Digital what's this?
        Ebook: $35.99
        Formats:  ePub, Mobi, PDF
        Print & Ebook: $49.49
        Print: $44.99