Building a web app with Replicant - an example/template

I am very inspired by Christian Johansen’s takes on about everything todo with programming. If you haven’t watched this talk, you have missed something:

Christian is the creator of many libraries and tools helping people like me to gain not only from his ideas, but also to directly put them in practice. Stuff like Dumdom, the Gadget inspector and Portfolio.

As you may or may not know, there is a successor to Dumdom, called Replicant. It’s pure ClojureScript and also takes data orientation even more seriously. At my current client’s, Anteo AS, We are switching to Replicant. As a result of that we’ve created a tiny example app, exercising most of Replicant.

We’ve tried to make the README helpful in relaying what Replicant is about and how to use the example app to figure out wether Replicant is for you or not. Getting the example app running takes a few seconds, and the app code is <100 LOC.

7 Likes

Thanks a lot for creating and sharing the example. I tried it out today and everything worked fine. Christian’s talk is a great inspiration and it is awesome to see these ideas in an example. I especially like the way the actions are structured. Never saw this before, almost looks like a mini lisp. Furthermore, it avoids that you need to invent and register an action name for each and every event handler. Instead you just combine a few of these generic actions to assemble the event handler.

1 Like