Advertisement

Design Patterns

  • Mobile Development
    Design Patterns: DelegationPreview image@2x
    130 shares
    The delegation pattern is among the most common patterns in iOS and OS X development. It is a simple pattern that is heavily used by Apple's frameworks and even the simplest iOS application leverages delegation to do its work. In this article, we'll explore delegation and you'll learn how to implement it using Swift and Objective-C.Read More…
  • JavaScript
    Go Back to Basics With Our New Course on JavaScript FundamentalsJs fun
    433 shares
    So you want to learn JavaScript? In this course we’ll start at the very beginning and cover everything about the language that a beginner needs to know. Maybe you've never programmed anything before, or maybe you're coming to JavaScript from another language. Whatever your situation, we'll go through everything you need to get up and running with one of the most popular and dynamic languages in use today.Read More…
  • Mobile Development
    Design Patterns: SingletonsPreview image@2x
    145 shares
    Design patterns are often considered a more advanced topic and therefore ignored or overlooked by people new to iOS or OS X development. However, there are a number of design patterns every aspiring iOS or OS X developer will be faced with from day one. The singleton pattern is one such pattern. In this article, we'll take a close look at the singleton pattern by discussing its advantages and disadvantages. You'll also learn how to implement the singleton pattern in Swift and Objective-C.Read More…
  • Mobile Development
    Design Patterns: Dependency InjectionPreview image@2x
    183 shares
    Even though dependency injection is a topic that is rarely taught to beginners, it is a design pattern that deserves more attention. Many developers avoid dependency injection, because they don't know what it means or because they think that they don't need it. In this article, I'm going to try to convince you of the value of dependency injection. To do this, I will introduce you to dependency injection by showing you how simple it is in its simplest form.Read More…
  • Design Patterns
    Design Patterns: The Observer PatternObserver pattern
    154 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
    63 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
    247 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
    350 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
    174 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
    545 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…
Advertisement
Suggested Tuts+ Course
JavaScript Fundamentals$15
Advertisement