Library vs Framework (was Dr. Dobb's Python-URL!)
Simon Brunning
simon.brunning at gmail.com
Tue Aug 16 04:05:27 EDT 2005
On 8/15/05, Terry Hancock <hancock at anansispaceworks.com> wrote:
> On Monday 15 August 2005 09:54 am, Simon Brunning wrote:
> > If you call its code, it's a library. If it calls yours, it's a framework.
>
> Such concision deserves applause. ;-)
Thank you. ;-)
As others have pointed out, this is a *drastic* simplification,
perhaps an oversimplification. You will inevitably need to call a
framework's code in addition to it calling yours, and a callback
argument or two won't turn a library into a framework. But I think it
captures the essence of the difference.
--
Cheers,
Simon B,
simon at brunningonline.net,
http://www.brunningonline.net/simon/blog/
More information about the Python-list
mailing list