Compose Your UseCases to Create New Functionality using Composite Reuse Principle

On the previous article, we already learn about how to create a UseCase. In this article, we are going to learn how we can composes use case and create new one that has different functionality, using Composite Reuse Principle. Let's visit the previous article example. The previous example, we have a LoadTransactionsUseCase protocol to get a general picture … Continue reading Compose Your UseCases to Create New Functionality using Composite Reuse Principle

Model-View-Controller (MVC)? Apa? Kenapa?

Pada pengembangan aplikasi, Design Pattern (pola-pola perancangan) merupakan hal yang penting untuk diterapkan untuk memudahkan developer. Kali ini, penulis mau bahas tentang MVC, yaitu Model-View-Controller. MVC adalah salah satu compound Design Pattern yang memisahkan urusan antara komponen Model, View dan Controller. Intinya, kode tentang View, tidak dicampurkan dalam kode Model, dan seterusnya. MVC dapat membantu … Continue reading Model-View-Controller (MVC)? Apa? Kenapa?

MVVM on iOS with Alamofire

MVVM (Model-View-ViewModel) is another design pattern that people used in mobile development, including on iOS. This pattern gains popularity amongs mobile developer since the “C” layer from MVC handle so many things. Some people jokes about Massive-View-Controller (MVC) because the ViewController not really a controller, it also handle the UI, networking, and others. MVVM provides … Continue reading MVVM on iOS with Alamofire