-
-
Notifications
You must be signed in to change notification settings - Fork 2
DI Mechanism
nsdevaraj edited this page Sep 14, 2010
·
7 revisions
Swiz used for Dependency Injection. so, we can [Inject] Objects and get use of deferred instantiation.
Let us look deep into Context.mxml and other files How Swiz DAO Works:
Context.mxml:
Explanation:
AbstractDAO.as:
Explanation:
CRUDObject.as:
Explanation:
AbstractResult.as
Explanation:
TaskProcessor.as:
Explanation:
HomeViewMediator.as:
Explanation:
AbstractCollection.as is responsible for generic Collection Object to be used in every AbstractDAO by instantiation.