Students
Students get a Tuts+ subscription for just $45! Hurry limited offer.
Advertisement

Design Patterns

  • Design Patterns
    Design Patterns: The Observer PatternObserver pattern
    150 shares
    Now here I come with one more behavioral design pattern in this series, which is the Observer Pattern. Observer means that someone is looking at your activity, and it may be possible that the observer takes some action depending on your activity.Read More…
  • Design Patterns
    Design Patterns: The Singleton PatternSingleton design pattern
    62 shares
    In this article you are going to learn how to implement the Singleton design pattern, and why and when to use this pattern in your application. As the name "Singleton" suggests, this method allows us to create one and only one object of a class.Read More…
  • Design Patterns
    Design Patterns: The Command PatternCommand design pattern
    245 shares
    After covering a few creational and structural design patterns, we have started behavioral patterns now. You can see the first article in this category of the strategy pattern. With creational patterns, we learned how we should create our objects, and from structural patterns we learned how we should structure our classes and objects to help build a better application.Read More…
  • Object-Oriented Programming
    Design Patterns: The Simple Factory PatternSimple factory design pattern
    346 shares
    When you think of Factory, what comes in your mind? I would say a place where things are produced. Read More…
  • Design Patterns
    Design Patterns: The Strategy PatternStrategy pattern
    172 shares
    So far we have covered three design patterns in this series. We have defined four categories of different design patterns. In this article, I am going to explain the Strategy Design Pattern, which falls under Behavioral Design Patterns.Read More…
  • Design Patterns
    Design Patterns: The Decorator PatternDecorator pattern
    542 shares
    Earlier in this series we explored the facade and adapter design patterns. Using facade, we can simplify large systems, and by implementing adapter we can stay safe while working with external API and classes. Now we are going to cover the decorator design pattern, which also falls under the category of structural patterns.Read More…
  • Magento
    Custom Events in Magento With the Observer PatternMagento
    134 shares
    Considering the number of eCommerce frameworks available in the market, Magento is one of the most popular choices for medium-to-large-scale web shops. The wealth of features it comes with and the architecture of the framework itself set it apart from the other frameworks. Although lots of third party extensions for Magento provide a way to extend the core functionality, the architecture is designed so that core features can be altered without hacking the core. In this tutorial, we're going to demonstrate the example of creating your own custom events using the observer pattern.Read More…
  • Android SDK
    Quick Tip: How to Use the EventBus LibraryEvbus
    143 shares
    Have you ever tried sending information from a Service or BroadcastReceiver to an Activity and wondered why it is so complicated? In this quick tip, you'll learn how to use the EventBus library in a simple app to facilitate communication between an Activity and a BroadcastReceiver.Read More…
  • Design Patterns
    Design Patterns: The Adapter PatternAdapter
    484 shares
    In the previous article we saw how the facade design pattern can be employed to simplify the employment of any large and complex system using only a simple facade class. In this article we will see how the adapter design pattern can be used when your code is dependent on some external API, or any other class that is prone to change frequently. This pattern falls under the category of "structural patterns", because it teaches us how our code/class should be structured in order to manage and/or extend them very easily.Read More…
  • Design Patterns
    Multi-Instance Node.js App in PaaS Using Redis Pub/SubNodejs retina preview 1
    378 shares
    If you use PaaS to host your application, you often end up with lots of small "containers", and with each instance of your app running in another virtual machine. As a result, the instances don't share memory. In this tutorial you'll learn how to overcome this little inconvenience.Read More…
  • Object-Oriented Programming
    Design Patterns: The Facade PatternFacade pattern
    474 shares
    In this tutorial, we are going to cover the facade design pattern. It falls under the category of structural patterns because it deals with how your code should be structured to make it easily intelligible and keep it well maintained in the long term.Read More…
  • Milo
    Rolling Your Own Framework: A Practical ExampleJavascript wide retina preview
    310 shares
    In this article, we’ll look at another common problem in developing browser applications: The connecting of model data to views. We’ll unravel some of the “magic” that makes two-way data binding possible in Milo, and to wrap things up, we’ll build a fully functional To Do application in less than 50 lines of code.Read More…
Advertisement
Suggested Tuts+ Course
SOLID Design Patterns in C#$15
Advertisement