Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Clojure Programming Cookbook

You're reading from   Clojure Programming Cookbook Handle every problem you come across in the world of Clojure programming with this expert collection of recipes

Arrow left icon
Product type Paperback
Published in Oct 2016
Publisher Packt
ISBN-13 9781785885037
Length 618 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Nicolas Modrzyk Nicolas Modrzyk
Author Profile Icon Nicolas Modrzyk
Nicolas Modrzyk
Makoto Hashimoto Makoto Hashimoto
Author Profile Icon Makoto Hashimoto
Makoto Hashimoto
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Live Programming with Clojure 2. Interacting with Collections FREE CHAPTER 3. Clojure Next 4. File Access and the Network 5. Working with Other Languages 6. Concurrency and Parallelism 7. Advanced Tips 8. Web Applications 9. Testing 10. Deployment and DevOps

Developing with om.next, the next-generation ClojureScript library


In this recipe, we will learn David Nolen's om to build a ClojureScript application. Om is a ClojureScript library to interact with React. React is a very famous JavaScript library developed by Facebook. React enables developments of user interfaces simpler and reusable UI components.

Recently, Nolen started to develop om.next. It's a successor of om and inspired by Facebook's Relay, Netflix's Falcor, and Cognitect's Datomic. It is still alpha but it is worth digging it. The project.clj of om.next is as follows:

https://github.com/omcljs/om/blob/master/project.clj

Getting ready

Before learning om.next, we will create and set up a new project named om-next-example.

Creating a new project for om.next

To create a new project for om.next, issue the following command:

$ lein new figwheel om-next-example -- --om

Updating the om version

Go to the om-next-example directory and update the om version in your project.clj to enable om.next...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image