This time the answer is 34.

I am turning 34. Yesterday I was writing my Master Thesis. I was 24. The day before I was playing the drums at my 18th birthday party. Now I am a father, the CTO of a small software company, and share my days (and nights) with a beautiful woman. I...

1 minute read

Building an Angular 2 + Typescript application template

Last time I showed you a way to create a Typescript application template. Now we can use that as a starting point for an Angular 2 application. As usual, I have created a GitHub repo with the necessary sources and the list of steps to perform. At the end of the process,...

1 minute read

How to setup your environment to write Typescript client applications

Hi all! This time I thought it could be useful to write down a couple of notes about how to setup your development environment ( in my case the wonderful Visual Studio Code on Mac ) and start writing Typescript applications. To be honest I am writing this only because my...

1 minute read

Xamarin: Text-to-Speech on iOS

hi All! Almost a month has passed since the last time I wrote a post. Many things are happening in my life and unfortunately I can’t study anymore all the time I was used to. Luckly the last few days I had the chance to install Xamarin Studio on my...

1 minute read

WordPress: how to handle page redirects in shortcodes

This is just a quick tip, something that I faced a while ago while working on a client’s website. I had to develop a shortcode responsible to render a form and obviously after the submission I wanted to redirect the user to another url (following the POST/redirect/GET pattern). It may...

3 minute read

How to handle string localization with AngularJS and Typescript

As many of you may already know, most of the times we developers write something is because we feel the need to create. Not because the current project really requires it, but just because we feel the urge to write some code, patch something up. Especially when the project is...

1 minute read

CQRS: on Commands and Validation – part 2: the base handler

Last time we discussed how to use the Decorator pattern to validate our Commands. The approach works fine but while using it I started feeling something strange. It can be probably considered an elegant solution but there’s something missing, like a code smell. What is the problem? Easy: how can...

1 minute read

CQRS: on Commands and Validation – part 1: introduction

Let’s have a quick discussion about CQRS. There’s a lot to say to be honest, so let’s try to focus on just one thing today: validating your Commands (who knows, I could start a series after this, we’ll see). The idea is simple: how can I make sure that the...

2 minute read