On 3/8/19 4:56 PM, Aaryan Bhagat wrote:
> There is some basic problem that has been tinkering me.
> In the codebase we have  a MODELS folder in MAILMAN REPO
> We are forming classes using implementer from zope.interface although we have 
> created interface already in INTERFACE folder.
> I read the doc on implementer but not much is given.


Models define the database model for SQLAlchemy and maybe implement
interfaces.

Interfaces define the characteristics of the zope interface, but do not
define the code that implements it.

In your example, interfaces/bounce.py defines the IBounceEvent and
IBounceProcessor interfaces and model/bounce.py defines the actual
methods that implement those interfaces and the database model (table
structure) for the underlying database.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
_______________________________________________
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9

Reply via email to