Fernando's Blog

Welcome to my blog !


Serverless With Serverless Framework

Published at June 15, 2020 ·  8 min read

In this post I’m going to talk about serverless API’s and services, rather than trying come up with my own description about what serverless computing is here’s how Wikipedia defines it. Serverless computing is a cloud computing execution model in which the cloud provider runs the server, and dynamically manages the allocation of machine resources. Pricing is based on the actual amount of resources consumed by an application, rather than on pre-purchased units of capacity....

Unit Testing with phpunit

Published at June 9, 2020 ·  4 min read

In this post I’m going to explain and walk you through how to write unit tests with PHP using phpunit. First step is to add php unit as a requirement in your composer.json file. You can do that by running the following command. composer require --dev phpunit/phpunit Let’s also go ahead and add an autoload entry to the composer file to make things easier, this is what the composer file should look like....