The Mediator at Work: Golden Lunch Bucket Contest #3!

goldenbucketIn order to get more ActionScript 3.0 developers involved in the Golden Lunch Bucket Contests, we’re going to make this one pretty simple. Begin with a Mediator Design Pattern (you can use the Mediator on this blog or elsewhere as a starting point) and create a program that does something beyond the minimalist abstract example. Essentially, you just provide some kind of use for the Mediator that you may possibly employ in a project at work. It can be anything that may be of use to someone. The Gang of Four defines its intent as:

Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping object from referring to each other explicitly, and it lets you vary their interaction independently. pg. 273

That should give you plenty of ideas.

Remember, the purpose of the Golden Lunch Bucket contests and Lunch Bucket posts are to encourage developers to use design patterns at work. (Put a Design Pattern into your lunch bucket and take it to work.). The more you play around with these structures, the easier it becomes to use them. Besides, more and more shops are requesting knowledge of Design Patterns for their applicants. In the last look at one online technology job site, ActionScript 3.0 and Design Patterns were mentioned in 45 positions!

The Rules

  1. You must use a Mediator Design Pattern
  2. Your specific project must be your own work but feel free to borrow ideas from practical applications of other Mediator projects
  3. All entries must use ActionScript 3.0
  4. Either Flash or Flex formats are acceptable
  5. You cannot use trace() statements for the output, but all output must be visible on the screen.
  6. You must specify what your mediator accomplishes.
  7. All entries must be in by August 20, 2009
  8. All entries must be placed in a ZIP file. (Nothing fancy for my Mac)
  9. Send entries to wdsanders@comcast.net with the subject line Golden Lunch Bucket Contest #3
  10. Include your name, age, where you’re from, and a 100 x 100 jpeg/png photo

This is a simple contest because you have all of the basic structures of the Mediator and an example in ActionScript 3.0—you’ve got until August 20! And don’t forget, all winning and honorable mention entries go into the World Cup Golden Lunch Bucket rankings.

2 Responses to “The Mediator at Work: Golden Lunch Bucket Contest #3!”


Leave a Reply