Cerebral - Part 4, Tags and operators

3 minute read Published:

The intriguing use case of backticks.

In the previous part of this tutorial I’ve discussed how to update application state using actions.

We’ve implemented a simple function that used state’s get and set methods to change the count variable.

Cerebral - Part 3, Signals and Actions

3 minute read Published:

Getting your code into shape with signals and actions.


In this post we’ll extend our previous counter example by refactoring it a little bit.

Let’s recall how the main controller looked before:

Cerebral - Part 2, Debugger

2 minute read Published:

In the previous post we’ve seen how to create a simple counter application using Cerebral.

Now let’s start introducing some fun stuff.

First up - Debugger

Just like you have Devtools in Redux, you have a similar tool in Cerebral.

It’s supplied with the main cerebral package and in order to use it, you need to add the following code to your controller:


2 minute read Published:

Amazing CMS for static sites
There is a new tool that I’ve added to my blogging toolbox and it’s called Forestry. It’s a pretty nifty idea - keep creating your site using Hugo or Jekyll static generators and keep it nice, fast and tidy and safe from PHP problems of Worpress and friends, but add another layer - a CMS. This CMS is a very light one. It’s aware of the static generators, it can read your site’s existing structure without a hickup and you can connect it to your Git repository to integrated into your existing workflow.