Image for post
Image for post
Technical Debt and Unplanned Work on Software Development

If you have ever been part of a software development project, chances are that you have experienced the consequences of technical debt.

Technical debt is a concept in software development that reflects the implied cost of additional rework caused by choosing an easy (limited) solution now, instead of using a better approach that would take longer.
In other words, technical debt conceptualises the tradeoff between the short-term benefits of rapid delivery and long-term value.

Taking shortcuts to expedite the delivery of features in the short term incurs technical debt.
Similar to monetary debt, if technical debt is not repaid, it can accumulate “interest”, making it harder to implement changes. This causes additional cost and rework over the software lifecycle. …


Image for post
Image for post
How to use Google Maps with Phoenix LiveView

Howdy dear reader 🖖🏽, hope you are safe and healthy during these troubled times.
During the past 3 years, we have developed a few projects using the Phoenix Framework for Elixir. And as soon as LiveView was announced, we could not wait to use it!

We have been building a platform where using LiveView made a lot of sense, since we wanted some of our features to use an interface that could be updated in real-time. …


Although only my name appears as the owner of this article it was created together with my old friend 👴🏽 Nuno Marinho and, as usual, with lots of inputs from the whole Coletiv team.

Image for post
Image for post
Using WebSockets With Cookie-Based Authentication

Before diving into the details of the problem lets first have a small recap about these two topics: WebSockets and cookie-based authentication.

WebSockets

According to the MDN web docs:

The WebSocket API is an advanced technology that makes it possible to open a two-way interactive communication session between the user’s browser and a server. …

Tiago Duarte

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store