Learn Coding Design Patterns

Learn common design patterns, including MVC, MVVM, and singleton, to improve your code's organization and make it easier for you and your colleagues to work with.
  1. How to Adopt Model View Presenter on Android

    How to Adopt Model View Presenter on Android

    Tutorial Intermediate

    In the previous tutorial, we talked about the Model View Presenter pattern, how it is applied on Android, and what its most important advantages are. In this...

  2. AntiPatterns Basics: Rails Views

    AntiPatterns Basics: Rails Views

    Tutorial Beginner

    In this article we’ll focus on the main View AntiPattern—PHPitis—and work through a couple of techniques to keep your views lean and mean. Having tons of...

  3. An Introduction to Model View Presenter on Android

    An Introduction to Model View Presenter on Android

    Tutorial Intermediate

    In this tutorial, I discuss and emphasize the importance of a well designed project and why Android's standard architecture isn't always sufficient. We...

  4. Ruby/Rails Code Smell Basics 04

    Ruby/Rails Code Smell Basics 04

    Tutorial Beginner

    This final article mentions a couple more smells you should look out for and sums up what this small series wanted to achieve. A final whiff, if you like…

  5. The Repository Pattern in Laravel 5

    The Repository Pattern in Laravel 5

    Tutorial Advanced

    In this tutorial, you'll learn how you can easily create a repository based on Doctrine in Laravel 5.0, which will result in many benefits.

  6. Ruby/Rails Code Smell Basics 03

    Ruby/Rails Code Smell Basics 03

    Tutorial Beginner

    This newbie-friendly article covers another round of smells and refactorings you should familiarize yourself with early in your career. We cover case...

  7. Ruby/Rails Code Smell Basics 02

    Ruby/Rails Code Smell Basics 02

    Tutorial Beginner

    This is part 2 of a small series about code smells and possible refactorings. The target audience I had in mind are newbies who heard about this topic and...

  8. What Are Laravel 5.0 Facades?

    What Are Laravel 5.0 Facades?

    Tutorial Advanced

    The Laravel facade makes it super easy to call methods, and injecting the actual dependencies could really pay off down the line.

  9. Ruby/Rails Code Smell Basics 01

    Ruby/Rails Code Smell Basics 01

    Tutorial Beginner

    This is part one of a small series about code smells and how you can deal with them. Don’t worry if you’re new to this topic or just starting to code. I did...

  10. How to Use MVVM in a Universal Windows App

    How to Use MVVM in a Universal Windows App

    Tutorial Beginner

    The Model-View-ViewModel (MVVM) pattern helps developers separate an application's business and presentation logic from its user interface. This tutorial...

  11. Design Patterns: The Factory Method Pattern

    Design Patterns: The Factory Method Pattern

    Tutorial Intermediate

    In the previous article, we went through the Simple Factory pattern. Now in this article we will examine Factory Method Design pattern. In the case of Simple...

  12. Building a Note-Taking SAAS Using ASP.NET MVC 5

    Building a Note-Taking SAAS Using ASP.NET MVC 5

    Tutorial Intermediate

    In this tutorial I am going to explain how to build a note-taking web application. It is going to be software as a service, integrated with Stripe for...