Clojure Applied: From Practice to Practitioner
- Length: 220 pages
- Edition: 1
- Language: English
- Publisher: Pragmatic Bookshelf
- Publication Date: 2015-09-06
- ISBN-10: 1680500740
- ISBN-13: 9781680500745
- Sales Rank: #522621 (See Top 100 Books)
Think in the Clojure way! Once you’re familiar with Clojure, take the next step with extended lessons on the best practices and most critical decisions you’ll need to make while developing. Learn how to model your domain with data, transform it with pure functions, manage state, spread your work across cores, and structure apps with components. Discover how to use Clojure in the real world, and unlock the speed and power of this beautiful language on the Java Virtual Machine.
Clojure Applied gives you the practical, realistic advice and depth of field that’s been missing from your development practice. You want to develop software in the most effective, efficient way possible. This book gives you the answers you’ve been looking for in friendly, clear language.
Dive into the core concepts of Clojure: immutable collections, concurrency, pure functions, and state management. You’ll finally get the complete picture you’ve been looking for, rather than dozens of puzzle pieces you must assemble yourself. First, explore the core concepts of Clojure development: learn how to model your domain with immutable data; choose the ideal collection; and write simple, pure functions for efficient transformation. Next you’ll apply those core concepts to build applications: discover how Clojure manages state and identity; spread your work for concurrent programming; and create and assemble components. Finally, see how to manage external integration and deployment concerns by developing a testing strategy, connecting with other data sources, and getting your libraries and applications out the door.
Go beyond the toy box and into Clojure’s way of thinking. By the end of this book, you’ll have the tools and information to put Clojure’s strengths to work.
What You Need:
To follow along with the examples in the book, you will need Clojure 1.6, Leinegen 2, and Java 6 or higher.
Table of Contents
Part 1 FOUNDATIONS
Chapter 1. Model Your Domain
Chapter 2. Collect and Organize Your Data
Chapter 3. Processing Sequential Data
Part 2 APPLICATIONS
Chapter 4. State, Identity, and Change
Chapter 5. Use Your Cores
Chapter 6. Creating Components
Chapter 7. Compose Your Application
Part 3 PRACTICES
Chapter 8. Testing Clojure
Chapter 9. Formatting Data
Chapter 10. Getting out the Door