ActionsScript 3.0 Design Pattern Relations Part III: Inheritance

n open triangle on a line from a child class to the parent class indicates the inheritance symbol in Design Pattern class diagrams. In the Participant Relations diagram above, you can see symbols for both single and multiple inheritance in red. Inheritance in design patterns is so common, pointing out which designs do not use [...] Related posts:ActionsScript 3.0 Design Pattern Relations Part I: Acquaintances ActionsScript 3.0 Design Pattern Relations Part II: Aggregation Design Pattern Principles for ActionScript 3.0: Favor Object Composition Over Class Inheritance

You Might Also Like...

  • ActionsScript 3.0 Design Pattern Relations Part II: Aggregation

    326 readers‘m tempted to say that aggregation is a stronger form of acquaintance, and that wouldn’t be far from wrong. In fact, in certain contexts it may be perfectly correct. Gamma, et al point out that the differences between the two is a matter of intent rather than explicit language mechanisms. That makes it a [...]

  • ActionsScript 3.0 Design Pattern Relations Part I: Acquaintances

    177 readershis post is the first in a series where I hope to discuss all of the key relationships between classes in Design Patterns. To help identify posts in this series I’ve created a general diagram with all of the different kinds of relationships between classes. I did not include the boxes for pseudo-code or divide

  • ActionScript 3.0 Design Pattern Re-use and Modification

    219 readersvery Monday I have to separate out the paper, glass, aluminum, and plastic to recycle and take them up to the curb. This last Monday while engaged in this weekly ritual, I thought that recycling a design pattern might be an interesting exercise. Additionally, it’s the kind of design pattern advantage that can be used

  • Fixing the State Machine: Aid Game Repair

    155 readersstrong>Getting the States Straight In a recent post to illustrate the use of composition and delegation, I created a simple game using a State design Pattern—the Aid Game. A lot of people had lots of questions and suggestions for making it better and being one who thrives on improvement and change, I promised to have

  • ActionScript 3.0 State Design Pattern: An Aid Game

    158 readersfter creating the post on the acquaintance relationship between classes, I started thinking about the aggregate relationship and delegation. One of the best examples of delegation can be found in the State design patterns. All of the states are delegated to objects that handle each state. So I thought it’d be a good idea to

  • ActionScript 3.0 Design Patterns New Years Resolution

    264 readersFirst off, Happy New Year and Happy New Decade to one and all. By the end of 2010, I hope I’m a better programmer than in 2009. In order to be a better programmer I need to have a good resolution. I’d like to do something better this year while not abandoning good habits I’ve

  • The ActionScript 3.0 Design Pattern Thrill Ride: Part I

    218 readersMy initial idea of having a “thrill ride” through a design pattern to help reveal its operation is turning out to be awkward in more ways than I envisioned. The initial tour is going to be through a State Design Pattern; so naturally I set it up using a State pattern. It wasn’t too long

  • “That’s Not the Way I’d Do It”: Justifiable Homicide in 32 States

    93 readershe other day I was worrying about a comment another programmer had made. After looking at some code, he twisted up his face and said, “That’s not the way I’d do it.” He went on to tell me how he’d do it. After thinking about it a couple of days I realized that the way

  • Separated Presentation: The Classic Model-View-Controller Pattern

    198 readersThis is not an introduction to the MVC pattern, but a look into its implementation in Smalltalk-80 to understand the original intent and function of the Model, View, and Controller triad. Starting with the “classic” MVC helped me understand the evolution of the presentation patterns that came after it. We will look at how a simple MVC

  • ActionScript 3.0 Bootcamp: Hands-on OOP workshop May 7/8, 2010

    100 readersOn May 7/8 I'm doing a hands-on workshop on the fundamentals of object-oriented programming ("OOP") in ActionScript 3.0. The course covers all OOP basics, including: Classes, objects, and packages Methods and variables Inheritance Encapsulation Datatypes and error handling Garbage collection and memory management Application structure and design principles And also the following core areas of

Subscribe to RSS headline updates from: GurusUnleashed
Powered by FeedBurner

  • Design & Career Resources

    Open design job and RFQ/RFP listings for Tuesday, 9 March Courtesy of Design Jobs Live!
    The latest resources and free stuff (like textures, fonts, Photoshop brushes, scripts, plug-ins, and much more!) from workflowFreelance.com. Read more!
    The latest headlines from workflowFreelance.com. Read more!
  • Popular Search Terms

    Curious what others are searching for? Below are the most popular search terms over the last 30 days.