Hello,
I have two objects which interoperate to solve a sudoku: the Sudoku class
and a vector (a list actually) of generator functions. The Sudoku interface
is simple to write as it requires three functions and an attribute.
class ISudoku:
board = Attribute()
def free(col, line):
and are expressed in very few
and clear characters, I thought there would be a shorter way to document
their interfaces.
Thank you,
On Mon, Nov 8, 2010 at 2:24 PM, Tres Seaver tsea...@palladion.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/08/2010 04:40 AM, Jean-Daniel wrote:
Hello
What exactly are you hoping to accomplish?
In brief, I wish there were a concise and clear way to express that an
object implements a list of generator functions, in the context of CS
students learning the concept of interface.
I am writing an article on a sudoku solver for an audience of CS
The end of the last message was not finished...
Ideally, here is (maybe) what I wish I could write:
from zope.interface import IList, IGenerator, implements, requires
def make_generator_functions():
implements(IList(IGenerator))
[...]
def stack_assumption(gen_funcs):
Hello,
I would like to build a config repository on the ZODB for an appliance
where many processes would boot and talk to at boot to load their
configuration.
Some processes might modify or add new conf, and some different component
should take this change of configuration into account.
Is
Ok thanks, I can implement that in the controler code wrapping the ZODB.
The Model-View-Controller
On Mon, Feb 11, 2013 at 6:21 PM, Jim Fulton j...@zope.com wrote:
On Mon, Feb 11, 2013 at 11:45 AM, Jean-Daniel
jeandaniel.bro...@gmail.com wrote:
Hello,
I would like to build a config
,
is that the views only talk to the controller, which only talks to the
model. Wikipedia calls this variant the passive MVC.
http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
Regards,
On Tue, Feb 12, 2013 at 7:38 AM, Jean-Daniel jeandaniel.bro...@gmail.comwrote:
Ok thanks, I can