Building custom endpoint handlers with Eve

24 agosto 2015 - Fonte: http://nicolaiarocci.com
On Stack Overflow and the Eve mailing list, but also in my mailbox and even on Twitter, I get a lot of enquiries on how to build custom endpoints within a Eve-powered RESTful application. Now, since within Eve all endpoints are fully customizable, what they really mean is: How do I setup endpoints without any binding to a data entity, […]...

Leggi il seguito »

FatturaElettronicaPA for .NET has been updated

14 luglio 2015 - Fonte: http://nicolaiarocci.com
FatturaElettronicaPA has just been updated to v0.1.4. With this release invoice bodies (FatturaElettronicaBody items) are also validated. As always, you can install the package directly from NuGet. See the original post for more info. Also don’t forget to check the related projects. Update: v0.1.5 has also been released, with a couple validation fixes....

Leggi il seguito »

Cerberus 0.9 has been released

30 giugno 2015 - Fonte: http://nicolaiarocci.com
A few days ago Cerberus 0.9 was released. It includes a bunch of new cool features, let’s browse through some of them. Collection rules First up is the new set of anyof, allof, noneof and oneof validation rules. anyof allows you to list multiple sets of rules to validate against. The field will be considered […]...

Leggi il seguito »

Monolith vs Microservices

4 giugno 2015 - Fonte: http://nicolaiarocci.com
I spent the last couple days in Paris with a bunch of smart architects and developers who are about to deal with a complex Monolithic-to-Microservices architecture transition. On my flight back to Italy I jotted down a few thoughts on the topic and then, this morning, the first thing that comes up on my newsfeed is Monolith […]...

Leggi il seguito »

Composition vs. Inheritance: How to Choose?

26 maggio 2015 - Fonte: http://nicolaiarocci.com
Steven Lowe piece on Composition vs. Inheritance is a must read. Just to wet your appetite, let me quote the opening paragraph: In the beginning, there was no inheritance and no composition, only code. And the code was unwieldy, repetitive, blocky, unhappy, verbose, and tired. Copy and Paste were the primary mechanisms of code reuse. […]...

Leggi il seguito »

Fattura Elettronica Open Source: Web Service PA

21 maggio 2015 - Fonte: http://nicolaiarocci.com
this post is about an all-Italian open source release, so it’s going to be in Italian Il progetto Fattura Elettronica Open Source si è arricchito di un nuovo strumento: Web Services. Il namespace FatturaElettronicaPA.WebServices raccoglie una serie di client C# che consentono di consultare i Web Service per la Fattura Elettronica messi a disposizione dalla […]...

Leggi il seguito »

On my trip to Microsoft Build 2015

8 maggio 2015 - Fonte: http://nicolaiarocci.com
Last week I was in San Francisco for Build 2015, the annual conference event held by Microsoft and aimed toward software and web developers. Overall it has been a great experience. I especially enjoyed the opportunity to speak with Microsoft executives, Program Managers and developers about the new stuff they are cooking up and, in […]...

Leggi il seguito »

Talk Python To Me Podcast Episode #1: EVE RESTful APIs for Humans

1 aprile 2015 - Fonte: http://nicolaiarocci.com
I was lucky enough be the first guest for the shiny new Talk Python To Me Podcast hosted by Michael Kennedy. In this episode we talk about Eve an my other open source releases, which gives us an excuse to touch on a variety of topics such as Polyglot Programming, New Microsoft and the .NET […]...

Leggi il seguito »

New Releases for Cerberus and Eve

17 marzo 2015 - Fonte: http://nicolaiarocci.com
Yesterday Cerberus 0.8.1 was released with a few little fixes, one of them being more a new feature than a fix really: sub-document fields can now be set as field dependencies by using a ‘dotted’ notation. So, suppose we set the following validation schema: schema = { 'test_field': { 'dependencies': [ 'a_dict.foo', 'a_dict.bar' ] }, […]...

Leggi il seguito »

Attention is a Resource

15 marzo 2015 - Fonte: http://nicolaiarocci.com
Today, the New York Times’ SundayReview features a great column by Matthew B. Crawford: The Cost of Paying Attention. Attention is a resource; a person has only so much of it […] What if we saw attention in the same way that we saw air or water, as a valuable resource that we hold in […]...

Leggi il seguito »