Day 6: Declarative APIs, easy peasy with Raku

Raku APIs tend to be easy to read, with named arguments alleviating the need to remember argument order in method calls, for example. But sometimes a library author goes above and beyond to produce extra nice, declarative APIs. One example is Cro, a framework for writing HTTP-based services, which allows you to write things likeContinue reading “Day 6: Declarative APIs, easy peasy with Raku”

Day 2 – CRUD with Cro::HTTP, a tutorial

Greetings! Today we will go through this tutorial about writing a simple CRUD service using Cro. For the impatient ones, link to the sources is at the end of the post. Why would I want to read this piece of text and code? A Cro::HTTP usage for a server-side application with authentication + authorization andContinue reading “Day 2 – CRUD with Cro::HTTP, a tutorial”