Living Clojure
O'Reilly Media (Verlag)
978-1-4919-0904-1 (ISBN)
If you’re an experienced programmer looking for a thorough but gentle introduction to Clojure, this is the perfect guide 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.
Topics include:
- 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
Carin Meier started off as a professional ballet dancer, studied Physics in college, and has been developing software for both the enterprise and entrepreneur ever since. She has a strong background in Ruby and Clojure. She is highly involved in the community and has spoken at many conferences, including keynoting at OSCON. She also leads the Cincinnati Functional Programmers and the Clojure and Coffee user groups in Cincinnati.
A Guided Tour of Clojure
Chapter 1The Structure of Clojure
Baby Steps with Simple Values
Put Your Clojure Data in Collections
Using Sets for Unique Collections of Data
Lists Are the Heart of Clojure
Symbols and the Art of Binding
Creating Our Own Functions
Chapter 2Flow and Functional Transformations
Controlling the Flow with Logic
Functions Creating Functions and Other Neat Expressions
Destructuring
The Power of Laziness
Recursion
The Functional Shape of Data Transformations
Chapter 3State and Concurrency
Handling Real-World State and Concurrency
Chapter 4Java Interop and Polymorphism
Handling Interop with Java
Practical Polymorphism
Chapter 5How to Use Clojure Projects and Libraries
Getting Set Up with a Clojure Editor
Creating Our Project with Leiningen
Dependency Management with Leiningen
Using Libraries in Your Own Project
Chapter 6Communication with core.async
Basics of core.async Channels
Serving Tea at a core.async Tea Party
Creating a Tea Party to Be Run from the Command Line
Chapter 7Creating 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
Chapter 8The Power of Macros
Exploring Macros
Creating Our Own Macros
Using Templating to Create Macros
Living Clojure Training Program
Chapter 9Joining the Clojure Community
Clojure Documentation
Which Libraries to Use
Clojure News
Finding Other Clojurists
Getting Help with Problems and Questions
Building Things with Other Clojure Enthusiasts
Summary
Chapter 10Weekly Living Clojure Training Plan
How Do I Use This Training Plan?
What If I Miss a Day or Two?
What If I Don’t Understand the Exercise?
Week 1
Week 2
Week 3
Week 4
Week 5
Week 6
Week 7
Congratulations
Chapter 11Further Adventures
Get Ready for Transducers
Further Reading
Verlagsort | Sebastopol |
---|---|
Sprache | englisch |
Maße | 177 x 231 mm |
Gewicht | 422 g |
Einbandart | Paperback |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► Java |
Mathematik / Informatik ► Informatik ► Software Entwicklung | |
Schlagworte | Clojure (Programmiersprache); Einführung • Java • Java Virtual Machine (JVM) |
ISBN-10 | 1-4919-0904-8 / 1491909048 |
ISBN-13 | 978-1-4919-0904-1 / 9781491909041 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich