Server-driven UI is not a new concept. Neither for Android, iOS, or the web. It is quite popular in recent years, especially with the introduction of component-driven architectures such as Flux / Redux and others. Now three projects ahead with server-driven architecture in place, I want to share with you some of the challenges that we faced, and the different approaches to solving them. And I will be really happy if you share your experience too.Continue reading “The challenges of server-driven UI on Android”
Category: Code Architecture
The difference between a spec and a test (Behaviour Driven Development)
What is a spec
There was a time where I saw some tests which my colleagues made where the file name in the test folder would be: “users.spec.coffee”. So “spec” is short of specification and it is a totally different way of how we think about tests.Continue reading “The difference between a spec and a test (Behaviour Driven Development)”
Design Patterns – Books, tutorials & notes
Why design patterns?
Well, this question is very simple. Because they will broaden your knowledge and make you enjoy programming again. They will remind it you that programming is a skillful art which requires constant research for a purpose. All of the patterns are extremely practical and easily applied to real world examples.Continue reading “Design Patterns – Books, tutorials & notes”
Android Flux Architecture Example
I found Flux architecture for several months and I have written a couple apps with React & Flux and as an Android programmer also I think that it has to have an implementation.
So I decided to do it. You can check it HERE. I really believe that Flux for Android will be a “groundbreaker” (may be not my try but the whole concept :)).Continue reading “Android Flux Architecture Example”
Sample architecture to handle notifications in Android
The use case
I am working in a company here in Bulgaria where we are building a huge android app with over 250 screens. It was time to integrate Firebase push notifications in it. Here were the requirements for them:Continue reading “Sample architecture to handle notifications in Android”
Thinking about Code Architecture & Object Oriented Programming
I recently got to watch several videos about architecture that got me a bit deeper into the topic and I decided to share my thoughts here. There first two videos are from Realm:
- MVC vs MVP vs MVVM vs MVI by Marcin Moskala
- Android Architecture Components Considered Harmful by Vasiliy Zukanov
They are mostly Android oriented but there are some general rules which are applicable to code architecture.Continue reading “Thinking about Code Architecture & Object Oriented Programming”
Applying Clean Architecture in Android
For 4 months now I have been implementing “clean architecture” in my current project. The project is huge, more than 17 Android developers work on it including me, so it is important to apply an architecture that works for all of us. I will not talk about what “clean architecture” is, but I will directly dive into the code and explain step by step the purpose of the layers that we have and what each layer is about.Continue reading “Applying Clean Architecture in Android”
It’s 21st century – Stop using EVENTBUS!
Do you still use it!? Have you used it? I mean the EventBus. If the answer is NO, then you are either a new developer who started Android recently or you had the wonderful opportunity to not meet this three-headed monster. What I am talking about? Let’s make a brieft visit of the Android development history.Continue reading “It’s 21st century – Stop using EVENTBUS!”