On Tue, Jul 21, 2009 at 5:49 AM, Dan Wilson<[email protected]> wrote:
> If Brian Kotek was on the Model Glue list, he'd point out there is value in
> abstracting the scope out. Mostly because accessing the scope directly makes
> the component harder to unit test. If the scope is abstracted into a
> composed object, that composed object can be swapped out for testing and
> life would get much easier.

Using a scope facade could help with AOP type stuff too, I reckon.

-- 
The first duty of man is to conquer fear; he must get rid of it, he
cannot act till then.
Thomas Carlyle

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to