Exploring No/Low-Code Solutions

A long standing dream of humanity is probably to create applications without the need to learn a programming language. This manifests itself in millions of excel sheets that are probably running a lot more important processes in quite a few companies than one might guess. Now while Excel is very accessible for ordinary users and makes it easy to create simple formulas and even complex programs through VBA it usually falls flat when the need to scale arises.

Here no/low code solutions come into play by restricting the user input through column types, but at the same time offering a rich UI to configure these restrictions and constraints. This makes it possible for the computer to help the user, because it has a better understanding of what is going on. This idea is of course not new. Microsoft Access has provided a solution for decades now, but it was never really polished and never got anywhere near the momentum of Excel.

New SaaS solutions like Airtable, Seatable, Baserow or NocoDB want to change that. All of them have a very similar approach. NocoDB is notably different, since it can even work with existing databases (multiple database types like Sqlite, MariaDB and PostgreSQL are supported). It is quite new and the interface is not really polished yet. The other solution have a lot in common. If you understand one of them, you are not going to have any problems switching (save for one or two features maybe).

I will choose Seatable for my future examples. It is from Germany (as am I) and it can be self hosted (just like all of them except Airtable).

Creating a simple Invoicing System

A lot of examples and templates of these products are of course directed at the general public and beginners (I mean a wedding planner as a prime example for a No-Code solution, really?). But as a Computer Scientist I am more interested in real business processes and how they can be mapped these products. Let’s start with a simple example. Say we want to create invoices, render them to PDF and send them out to clients. Additionally we want to create some basic statistics to visualize our cashflow. Let’s see what the strength and weaknesses of these solutions are.

We will create 3 tables:

Let’s start with the customer table, since it does not depend on other tables. We create a new base (let’s name it “Simple Invoices”) and rename the existing table to “Customers”.

Customers Table

As you can see we just list the number, name and the address here (they are all text fields except for the first column, it has the auto number type). The column on the left is the primary column. It is similar but not the same as the primary key of a database. It supports less types than the other columns. Currently one of the biggest difference between Airtable and Seatable here is the support of formulas in the primary column.

Let’s continue with the invoices table. Create a new table by clicking the plus icon and name it “Invoices”.

Invoices

Their are 6 columns:

Link Customer

Before we can define the button and the invoice layout we must first create our final table, the positions table.

Create a table called “Postions”.

Invoices

This table has 7 columns:

Combined Net Price

Once we are done with that we can go back to the invoices table and create two new columns. One for adding all the positions and one for multiplying the result with our tax rate. You can also see that the new “Positions” column appeared all by itself when we referenced the invoice in the “Positions” table.

Combined Net Price
Price With Tax

And that is it! The only thing left is creating a PDF from our table. This is done by enabling the “Page Designer” plugin (see the right corner) and designing a new template. My example can be seen below. It is pretty self explanatory. Just drag and drop the desired fields into the template.

PDF Template

Finally create a new column “Action” in the “Invoices” table to generate PDFs, by choosing the button type and and selecting generate PDF as an option.

Generation Button

That is it, we are done here!

Downsides

There are a couple of downsides especially when it comes to nesting. Tables can reference other tables, but a table like “Positions” really only makes sense in combination with an invoice. You can introduce groups in a view and that helps a lot, but still “Positions” should probably be embedded into “Invoices”. This becomes more apparent when we want to create forms. Forms cannot yet create nested elements on the fly, so you would have to call multiple forms in succession. This is not really practical yet.

Going a different route (for developers only)

For developers there are of course other options. One would be to use a code generator like JHipster. JHipster uses a domain modeling language to generate backend + frontend + database. I like the tech stack a lot, but the problem I see is the amount of friction in the beginning. You still have to generate scaffolding and write the domain language file. Whereas in something like Airtable you can start right away. JHipster is the much more flexible approach of course, but in “real” individual development projects I usually have the extra bit of time to do what JHipster does manually. And part of our workflow is actually already automated.

Another possibility I just heard of is Superblocks. It is more like Lego for developers much more akin to something like Airtable. I like the ideas of it. It also can be used to create Dashboards and Forms and plays nicely with custom code. If a customer is willing to make some compromises (sadly that is often not the case) he/she could save quite a bit of money here and still get a decent product.