Matheus Marabesi website, sharing ideas about software development - Listing posts on page 5

e2e testing with Cypress, ReactJs and Firebase

Cypress is a e2e testing tool that interacts with chrome based browsers (and electron) to execute its test suite [1]. E2e testing is known by its complexity, and often it is related to the top in the test pyramid [2]. The complexity comes from the amount of work and setup...

Introduction to OOP with PHP (Classes, Encapsulation, Inheritance)

The following content aims to introduce the concepts of OOP, complementing these concepts the PHP language is used to demonstrate practical examples, but can be written in any programming language. Introduction Object-oriented programming is a paradigm used in programming to approximate reality. In comparison to structured programming where each line...

Strategies to test legacy code - PART 1

Often developers have to deal with code base without test, which might lead to disconfort in maintaining the code base. In one hand there is the business that needs a new feature or a bug fix ready for the users to use, and in the other hand there is the...

Errors compiling PHP from source on a Raspberry Pi

The PHP version used is 7.2 directly from the git reository from github. Newer version might not work as expected. The version used to compile is the Raspbian (Raspbian Stretch with desktop and recommended software): Version: November 2018 Release date: 2018-11-13 Kernel version: 4.14 Getting the source code git clone...

Introduction to Service Worker

The following content is inspired by the udacity course with bits from other sources as well. The main goal is to identify what is a service worker and what it can offer to incorporate a progressive web app. Edit May 14, 2019 - MadridJs talk 01 - Offline and lie-fi...

SIM800L tracking your IoT device

After a while testing the GPS NEO6 I ordered a new guy to play around with GSM connection and GPS at the same time. The sensor this time is the SIM800L, which basically is an interface between the SIM card and the Arduino Uno (could be any board, not Arduino...

Setting up GPS NEO 6 sensor

Recently I have had the chance to set up a basic IoT project which consists of localization by GPS. The decision was to work with the Raspberry board over the arduino based on the number os shields that arduino would use. To get start with we would need a Wi-Fi(or...

30 days of VIM - One week after

It’s been one week since I adopted vim as my main editor, and this is the second post about this journey. If you haven’t read the first post yet, click here and be happy. First impressions I feel like I have the control over my editor and the navigation is...

30 days of VIM

I’ve been looking at vim for quite a while, and now I decided to take it serious. The goal of this series of posts is to write at least one tip that I learnerd along the way using vim as my main editor. I started with netbeans, which was a...

Introduction to Easy CRUD - Laravel

Latelly I had the opportunity to implement a basic CMS in the project that I was working on, unfortunatelly I had the change but not the time needed to achieve that. What I was looking for: The package must operate Create, Read, Update and Delete operations The package must have...