I read this question on SO: Framework vs. Toolkit vs. Library where the difference between the framework and the library is explained. The general opinion is that the main difference is inversion of control, so you have hot spots in the framework where you attach your application functionality (in fact, you choose between inheritance / template / heavyweight or composition / strategy / easy to achieve of this).
OK, now I'm curious, what's the difference between a frame and a container? I saw the following container definition (Rod Johnson): "A container is an environment in which application code / objects work." And it confused me. I thought this was more or less the definition of any framework :) I mean, if you use the IoC parameter as a parameter that makes the difference between the library and the framework (otherwise you call the library, but the framework calls you), doesnβt that mean What more or less does any structure satisfy the definition of a container?
Thanks in advance.
definition frameworks containers
Kovasandra Sep 05 '11 at 15:52 2011-09-05 15:52
source share