Python component model

Fredrik Lundh fredrik at pythonware.com
Tue Oct 10 04:40:49 EDT 2006


Nick Vatamaniuc wrote:

> At the same time one could claim that Python already has certain
> policies that makes it seem as if it has a component model.

every Python object surely qualifies as a component, for any non-myopic 
definition of that word, and everything inside a Python program is an 
object.  so yes, Python has a component model, and Python programmers 
are using that model all over the place.

what might be missing is support for publishing additional metadata 
using a standardized vocabulary, and a way to access that data with-
out having to actually create the object.

implementing this using existing mechanisms is trivial (as the endless 
stream of interface/component/adapter/trait implementations have shown 
us); coming up with a good-enough-to-be-useful-for-enough-people 
vocabulary is a lot harder.

</F>




More information about the Python-list mailing list