Prelude:

In my previous article (My take on clean architecture), and (Let's design together with clean architecture), I had provided my insights on Clean Architecture and how to go about designing it using an example app. I had a lot of follow-ups and questions regarding how and what we consider as a data source. So I am putting together this article to deep-dive into how we can define and refine our data sources. If you are wondering what Clean Architecture is, refer to this article. Without further ado let us dig in.

Data Sources:

A data source is where data…

Prelude:

I realize that there are a lot of technologies involved in the title and it is there for a reason. The fascination towards P2P can not be downplayed. Ever since the advent of the internet and file-sharing applications, the voices of P2P communications have always been growing louder. And it is especially growing in popularity in recent pandemic times where we rely heavily on VOIP for remote communications. The recent surge in popularity has raised concerns about security and privacy. WebRTC remains one of the most secure ways for VOIP communication between two peers in an encrypted fashion and…

Prelude:

In my previous article (My take on clean architecture), I had provided my insights on Clean Architecture on a bird’s-eye view. I had a lot of follow-ups and questions regarding the actual implementation. So I thought rather than pointing to some code in a GitHub repo why can’t we design together and incorporate the Clean Architecture philosophy? Hence this article. If you are wondering what Clean Architecture is, refer to this article. Without further ado let us dig in.

The Problem Statement:

For this article let us architect & design a simple Weather Application with the following requirements.

  • Need…

Prelude:

Clean architecture is a wonderful way to make sure your application has a strong foundation that can be made scalable to build upon. When done right, it helps in achieving the holy grail of designing once and building incrementing blocks on top of it without having nightmares about refactoring the architecture.

I decided to give Clean Architecture a try almost 1.5 years back in Android alongside Kotlin & Koin and the experience was very heartening to see how it all worked seamlessly to date.

Clean Architecture revolves around the principle of “layers of separation”, where each layer is decoupled…

Dhilip Seshadri Kumar

Making the better place livable — developer — Mobile and everything around it.

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