GraphQL is the new black

Prelude GraphQL is an open-source data query and manipulation language for APIs and a runtime for fulfilling queries with existing data. GraphQL was developed internally by Facebook in 2012 before being publicly released in 2015 because - believe me or not - it was quite tricky for them dealing with their schema. It allows clients to define the structure of the data required, and exactly the same structure of the data is returned from the server, therefore preventing excessively large amounts of data from being returned. Useless going into much more details without putting hands on - let me just say one thing more I wanted to have a look at it: it’s the first time a REST alternative appeared on the market. Because REST is cool, ok but… well, I’m honest I don’t know. Barney Stinson would say new is always better. I say let’s see. ...

March 5, 2019 · 1 min

Golang, Docker and multistage build

Recipe for a good meal A few months ago I started working with Golang to a proof-of-concept project using the amazing goa package (thank you atosatto for your advise): I omit the praise, I would only say that - imho - Golang it’s a very funny language to use for many reasons (stay tuned, I will write about Golang and my favourite packages). However, in this post I want to share a little piece of my experience about this project: the main ingredients for this recipe are Golang (in particular the goa package) and Docker - with some piece of Angular 4, nginx, and minor stuff. I excluded the storage part so the two elements of the boilerplate I will talk about live in separate container - you can of course orchestrate with k8… ok, whatever you want :P ...

December 18, 2017 · 9 min