Quantcast
Browsing all 49 articles
Browse latest View live

1. clojure.core/some

Clojure's `some` function is surprisingly versatile. Find out what it does, and what you can do with it.

View Article


2. Introduction to Luminus, part 1

To give you a starting point for building your own app, we'll go through the process of building an application from scratch with Luminus. In this first part in a series of three, you'll learn to set...

View Article


3. Introduction to Luminus, part 2

We continue our journey through Luminus by building a wiki. In this episode you'll learn how to create the form to edit pages, and handle creating new page revisions. We'll also come across Cross Site...

View Article

4. ClojureScript Interop

In this episode we'll go over all the tools ClojureScript puts at your disposal to interoperate with JavaScript. You'll learn how to call JavaScript libraries, how to work with JavaScript datatypes,...

View Article

5. Introduction to Luminus, part 3

In this closing episode of the Luminus introduction, you'll learn how to extend the template language with custom filters, and how to generate HTML components in code using Hiccup.

View Article


6. Building a React app with ClojureScript

React.js is the new hotness in the land of user interfaces. It's descriptive approach pairs wonderfully with ClojureScript's functional underpinnings. This episode will show how to build an app with...

View Article

7. Intro to clojure.spec

The spec library which will be included in Clojure 1.9 gives you a powerful mechanism for validating data. Find out how to use it in this episode.

View Article

8. The ClojureScript Compiler

To be effective at programming, you have to understand your tools. In this episode we'll peel a few layers away, and use the ClojureScript compiler without any help from Leiningen, Cljsbuild or...

View Article


9. Reagent, part 1

One of the more popular wrapper libraries for using React with ClojureScript is Reagent. We'll build a kanban style board to demonstrate the main features.

View Article


10. Reagent, part 2: Cursors

We continue building a Kanban board with Reagent, adding functionality to edit cards. In the process you'll learn all about Reagent's cursors and event handlers.

View Article

11. Reagent, part 3: Keys & Lifecycle Methods

Learn about React performance, the use of `keys` properties, and how to use lifecycle methods with Reagent.

View Article

12. Clojure Keyword Arguments

Clojure's variable argument functions combined with map destructuring results in a concise syntax for keyword arguments. We'll pick this feature apart to see exactly what's inside. You'll learn about...

View Article

13. Ring, part 1

In this new series you'll build an API with Ring from the ground up. The pace is slow and no steps are skipped, making it a great lesson for beginners.

View Article


14. Using Figwheel With Emacs, part 1: inf-clojure-mode

Learn how to integrate Figwheel's browser connected REPL into Emacs, for an ever greater degree of interactive development, using inf-clojure-mode.

View Article

15. Using Figwheel With Emacs, part 2: CIDER

By using Figwheel with CIDER you get both a Clojure and a ClojureScript REPL at the same time, and you get all the nice features of CIDER. It's a more complex setup than just straight inf-clojure, so...

View Article


16. Ring, part 2: the Two Routes

In this second installment of our beginner friendly introduction to Ring the API goes from being read-only to being read-write. You also learn about `juxt`, `slurp`, and how to parse an incoming...

View Article

17. Ring, part 3: Return of the Middleware

We add `GET`, `PUT`, `DELETE` operations to the contact book API. In the process we pull out the EDN handling into its own middleware, and come across some handy Regex tips. This third episode picks up...

View Article


18. Using JavaScript libraries in ClojureScript

One of the benefits of ClojureScript is that it lets you leverage the great JavaScript ecosystem. Using arbitrary JS libraries isn't always trivial though, and a lot of head scratching can ensue. In...

View Article

19. re-frame, part 1

Reagent is a popular and easy to use option for using React with ClojureScript. re-frame builds on top of Reagent, providing an elegant and opinionated way to structure applications and deal with...

View Article

20. re-frame, part 2: Subscriptions

A complete look at re-frame subscriptions, including coverage of Reagent's atoms and reactions. You learn how to write subscriptions, how they work, and how to plug them together into a signal graph.

View Article
Browsing all 49 articles
Browse latest View live