Day 8: I’ll Let You Know Later

Back when the web was young the only way that you could know whether a resource had changed its state was to manually re-request the page, this wasn’t really too much of a problem when there was only static pages which didn’t change all that often. Then along came server-side applications, the CGI and theContinue reading “Day 8: I’ll Let You Know Later”

Day 7: .hyper and Cro

or How (not) to pound your production server (and to bring on the wrath of the Ops) So, I’m a programmer and I work for a government TI “e-gov” department. My work here is mostly comprised of one-off data-integration tasks (like the one in this chronicle) and programming satellite utilities for our Citizen Relationship ManagementContinue reading “Day 7: .hyper and Cro”

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”