#node-js

15 posts in this collection

My Serverless talk at Shift conference in Split

This June, I had an amazing experience talking again about Serverless and how we use it at Planet 9 Energy at the recent Shift Conference in Split, Croatia. In my talk titled ” Serverless: The pros and cons of building a company without infrastructure ”, I tried to address what Serverless is and why is becoming such a big thing, also exploring what I believe are the pros and cons of this new paradigm. The experience was great and I was super happy to have a chance to share the stage with extraordinary…

My Universal JavaScript Web Applications talk at Codemotion Rome 2017

Last month (March 25th) I had the pleasure of delivering again my Universal JavaScript talk in a Codemotion Event, this time in Rome . As expected it was a super interesting event and it gave me the chance to meet fantastic people, attend inspiring talks and refine my presentation. Judo Heroes Version 2 For this occasion, I updated my common Universal JavaScript Judo Heroes to ” Version 2 “. I believe this new version looks a bit more polished and easy to understand, plus it features a number of other…

Unshorten (expand) short URLs with Node.js

Short URLs have been an invaluable tool for social media marketing for so many years and we are now used to seeing them everywhere. Most of the credit probably goes to URL shorteners services like Bit.ly , Goo.gl , YOURLS and Rebrandly that popularised the concept and made easy for everyone to start creating short URLs. When working with URLs in some automation scenarios like analytics, information crawling, data retrieval, etc. it can be important to resolve (or ” unshorten ” or ” expand ”) short…

My Serverless & AWS Lambda talk at Node.js Dublin January 2017

Last January I had the pleasure to share the stage with the great Padraig O’Brien to talk about how we use Node.js, AWS Lambda and the Serverless framework at Planet9 Energy . The talk was hosted by the monthly Node.js Dublin Meetup at Intercom Dublin office, as usual, a very cool location for this kind of tech talks. Apart from having a great chance to show off my über cool Super Mario T-shirt for about 45 minutes, Podge and I had some good time discussing the following topics: What does ” Serverless…

My Universal JavaScript Web Applications talk at Codemotion Milan 2016

Yesterday (25/11/2016) I had the pleasure of delivering a talk about Universal JavaScript at Codemotion Milan 2016 . It was a great fun and I was very happy to meet such a big pool of technology enthusiasts and professionals all in one places. I’m already looking forward for the next edition! Video Update (12-12-2016): a video recording of the talk has been published by the folks at Codemotion: Slides deck If you are interested in my talk you can find the slides on Slides.com : Commentary Here follows…

How to crack a JWT token: two articles about distributed computing, ZeroMQ & Node.js

In the last 2 weeks I add the pleasure to release an article (in two parts) in collaboration with RisingStack , one of the most famous companies in the Node.js ecosystem. The article explains how to build a distributed application using Node.js and ZeroMQ and provides an example that I believe it’s very actual and interesting: a JWT token cracker. If you are into Node.js, ZeroMQ, security or distributed application you can read the two articles in the community section of RisingStack. ZeroMQ & Node…

Two Interviews about Node.js, JavaScript and being a book author

In the last month I had the pleasure to seeing published two interviews regarding my life as developer with Node.js and JavaScript and about being a book author with Node.Js design patterns second edition . The first interview was made with the Packt Publishing team and it was published in their own website: With Node.js, it’s easy to get things done The second interview was made by Thomas Peham , marketing manager at UserSnap : Meet the community: Luciano Mammino, software developer from Sicily I…

React on the Server for Beginners: Build a Universal React and Node App

I recently wrote a new article in collaboration with one of my favourite web development websites: the amazing Scotch.io . The article talk about using React both on client and on the server (with Node.js ) in an attempt to build a simple “Universal JavaScript” (a.k.a “Isomorphic”) application. The application is called “Judo Heroes” ( did you even noticed recently that I’m kind of fond of Judo? ) and it showcases some of the best Judo athletes for their number of medals won during the Olympic Games and…

Announcing the book "Node.js design patterns - second edition"

In this post I am going to introduce my last side-project: “Node.js design patterns — second edition”, a technical book about Node.js and design patterns published by Packt. This blog has been a very quite place in the last 8-9 months, this is because almost all my free time has been absorbed by one of my most ambitious side projects: co-writing a book about Node.js and design patterns ! I am finally happy to announce that “Node.js design patterns — second edition” has been published. You can keep…

To promise or to callback? That is the question...

You are building the next cool JavaScript or Node.js module with a lot of asynchronous functions and you are very happy about it. At some point a terrible doubt assaults you: Should my API offer support for callbacks or should it be promise based? In this article we are going to show a very simple way to add support for both promises and callbacks in our asynchronous modules, this way we can make everyone happy and our libraries much more flexible. The problem Promises can be used as a nice replacement…

Introducing Gulp cozy - Manage your gulp tasks in a cozier way

Gulp-cozy is an experimental NPM package that allows you to organize your Gulp tasks in a more modular way with simplicity and “cozyness” in mind. Rationale Ever found yourself digging into a gigantic monstrous with hundreds of functions and tasks scattered all around? If it happened to you I am sure you can tell that it’s not a great feeling… That’s the reason why I created this small module as an attempt to help with keeping yourself cozier (and happier!) when working with Gulp. In a way it tries to…

Introducing mongo-uri-builder, a Node.js module to easily create mongodb connection strings using objects

A couple of days ago I had the need to store the MongoDB connection string for a Node.js application I am currently building. Of course it was not a big deal and at first I stored it in a file. Anyway at some point I realised that I would needed to override parts of this string to change some settings in production (e.g. adding replicas and authentication settings). For this sake it would have been nice to have a way to store this configuration as a “well organised” object and then override just the…

Having fun with Node.js, Slack and Chuck Norris

I recently wrote a Slack bot in Node.js in collaboration with one of my favourite web development websites: the amazing Scotch.io . It’s a simple and funny experiment I have done in my free time to learn something new. It’s nothing special but it will add a bit of fun inside your Slack organisation… Who doesn’t want to have a bot that tells random jokes about Chuck Norris in his own Company chat room? :) The bot is available on Github ( lmammino/norrisbot ) and on NPM ( norrisbot ) and it can be…

Versioning and deploying a static website with Git, Flightplan and Nginx

Do you ever wondered how to manage the versioning and deployment process of a website? It seems to be a very interesting yet complex topic for which there are already thousands of different solutions. In a recent collaboration with Usersnap I had the pleasure to write a very detailed article for their blog that proposes a solution based on Flightplan.js , Git and Nginx . My solution is very simple, it requires very few dependencies on your system (Git and Node.js) and it has been thought to give…

Introducing flickr-set-get a command line app to download photos

I recently developed a small command line app that allows you to download an entire gallery from Flickr, it’s called and you can find it on NPM and GitHub . Why? To be honest I had myself the need to download a large set of photos (more than 400 photos) from Flickr and I didn’t wanted to do it manually. I also wasn’t able, after a quick search, to find something simple to solve this task. Given that I am currently getting into deep of Node.js this was the perfect chance to develop something practical…