Clojure Cookbook: Recipes for Functional Programming
- Length: 476 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2014-03-31
- ISBN-10: 1449366171
- ISBN-13: 9781449366179
- Sales Rank: #889554 (See Top 100 Books)
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
Chapter 1. Primitive Data
Chapter 2. Composite Data
Chapter 3. General Computing
Chapter 4. Local I/O
Chapter 5. Network I/O and Web Services
Chapter 6. Databases
Chapter 7. Web Applications
Chapter 8. Performance and Production
Chapter 9. Distributed Computation
Chapter 10. Testing