Do you plan to have some kind of compatibility between
SW1 and SW2 ?
Yes, there is a some compatibility, but not too much. E.g. the model of
the structures and documents is much more sophisticated, so it won't be
possible to load the SmallWiki 2 into a SmallWiki 1 image and use the
same model. However writing a visitor walking through SmallWiki 1 and
producing a SmallWiki 2 will be simple.
I mean if i build some specific actions for the SW1
version, can i use
them without too much trouble in SW2 ?
SmallWiki 2 separates clearly the model from the gui-representation.
This means that there will be a bundle containing just the SmallWiki
model (structure, document, metadata, visitor, security, commands,
tests) and no GUI functionality. Simultanously I am working on a
web-interface using Seaside. It can be loaded independantly from the
model and attached to any wiki-model. As well I'm playing with an
inspector-extension to let the user work on the wiki within the
conveniant Smalltalk-GUI. Other interfaces should be easily feasible
(command-prompt, swazoo, ...).
However, Actions written for SmallWiki 1 won't be compatible with the
new Seaside interface (I think most peoble will be targeting this
view), there are simply too much differences. But you can make porting
easier if you try to keep the functionality in separate classes as much
as possible and let the action render only the view. Btw, the rendering
of SmallWiki 1 is compatible with the way Seaside does.
Cheers,
Lukas
--
Lukas Renggli
http://renggli.freezope.org