ActionScript 3.0 Design Patterns

(Chris Devlin) #1

The second multiple design pattern is an implementation of the Symmetric Proxy


pattern. The Symmetric Proxy uses a Template Method pattern (Chapter 9) and the


Proxy pattern, a pattern not covered in the book. We used Flash Media Server 2 for


delivering the moves into a proxy method residing in a player class instead of a sepa-


rate class for the proxy and real player. However, the Symmetric Proxy, like all good


designs, is resilient enough to accept these changes without losing its own basic


structure or function.


Chapter 12,Model-View-Controller Pattern
Chapter 13,Symmetric Proxy Pattern
Free download pdf