Interfaces

This page is dedicated to the dicussion over the implementation of storage engine interfaces. There are significant problems in regards to elegence of design and maintainability in the future.

Pros

Cons


Some idea about modularization:

MoinMoin/item/
              __init__.py # class Item == generic stuff, plugin loader + proxy
              text.py # class Item implements text/* mimetype
              text_editor.py # class ItemEditor implements text/* mimetype editor
              text_moin_wiki.py # class Item implements text/moin-wiki mimetype
              text_moin_wiki_editor.py # class ItemEditor implements text/moin-wiki mimetype editor
              image.py # class Item implements image/* type

MoinMoin/storage/
              __init__.py # class Storage == generic stuff, plugin loader + proxy
              filesystem.py # class Storage == fs storage impl.
              mysql.py # class Storage == mysql storage impl.
              mercurial.py # class Storage == mercurial storage impl.

MoinMoin: StorageRefactoring/Interfaces (last edited 2007-10-29 19:07:19 by localhost)