What design patterns have you used in actionscript and java? : adobe flex action script



What design patterns have you used in actionscript and java? : adobe flex action script..

Answer / Himanshu Bisht

I have worked with several design patterns in both ActionScript and Java, including:
1. Singleton pattern (for creating a single instance of a class)
2. Factory pattern (for creating objects without exposing the instantiation logic to the client)
3. Observer pattern (for implementing publish-subscribe communication)
4. Decorator pattern (for dynamically adding behavior to existing objects)
5. Strategy pattern (for defining a family of algorithms, encapsulating each one, and making them interchangeable)
6. Template method pattern (for defining the skeleton of an algorithm in a base class and allowing subclasses to fill in the details)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Adobe Flex Interview Questions

What are three ways to skin a component in flex? : adobe flex action script

1 Answers  


How do I get flex to query my database?

1 Answers  


What is a drag manager in adobe flex actionscript?

1 Answers  


What is the difference between sealed class and dynamic classes in flex?

1 Answers  


What is a view cursor?

1 Answers  


What are the goals of the beta?

1 Answers  


What is the difference between httpService & Data Service?

1 Answers  


What is calllater() method?

1 Answers  


Tell some new capabilities / features of flash as 3.0?

1 Answers  


Difference between sealed class and dynamic class?

1 Answers  


How can u implement singleton in flex?

1 Answers  


Why would you want to keep a reference to a changewatcher and call unwatch()? : adobe flex action script

1 Answers  


Categories