[cap-talk] Object capabilities versus dependency injection.

Mike Samuel mikesamuel at gmail.com
Sat Nov 22 03:52:07 CST 2008


I used the term "authority injection" in contrast with dependency injection
when trying to explain that object capability discipline builds on accepted
practices to handle authorization decisions instead of requiring programmers
to learn new practices.
http://google-caja.googlecode.com/svn/trunk/src/com/google/caja/demos/lolcat-search/slides.html#best-practices





2008/11/20 Rob Meijer <capibara at xs4all.nl>

> I just watched a video on youtube about singletons and dependency
> injection.
>
> http://www.youtube.com/watch?v=-FRm3VPhseI
>
> It would seem that there are very high similarities at least between
> object capabilities and dependency injection. Does anyone know sufficient
> on dependency injection to compare it to object capabilities.
>
> It would, with my limited understanding of dependency injection seem like
> ocap languages would be the perfect way to do dependency injection.
>
> If the similarities are truly that big as they apear to be, couldn't
> dependency injection be a potential channel by what to promote object
> capability usage to a wider public?
>
> Rob
>
> _______________________________________________
> cap-talk mailing list
> cap-talk at mail.eros-os.org
> http://www.eros-os.org/mailman/listinfo/cap-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.eros-os.org/pipermail/cap-talk/attachments/20081121/12d95516/attachment.html 


More information about the cap-talk mailing list