DZone

It might be tempting to believe that Magic is only for CRUD HTTP REST endpoints. However, Magic and Hyperlambda makes it possible to create anything you can create in any other programming languages. In this tutorial, we will look at one specific use case, and create a backend for a Social Media website, similar to Reddit in functionality. You can download the backend at its GitHub project website. In the below video you can see me demonstrate the system, how to install it, and its basic structure. Watch the video first, and then let’s go over some of its key concepts.

Key points from the system

AnarQ does a lot beyond simple CRUD. For instance, it sends emails, it creates database transactions, it returns graph objects back to the client as JSON, it creates joins from multiple tables as it is executing SQL, etc. So let’s look at some of its key points, since it demonstrates the capacity of Hyperlambda and Magic.

Source: DZone