Hi Smalltalkers,
I have enhanced and changed a lot of things in SmallWiki over this
weekend. The most exciting thing is the support of callback-blocks,
making the development of web-user-interfaces easier. You don't have to
deal with Request and Response anymore. If you like, you might want to
have a look a the actions, they have all been rewritten to use the new
protocol. There is also a demo-action in the 'SmallWiki Examples'
bundle. Load it, have a look at the source and point your browser to:
http://localhost:8080/?action=CallbackDemo
In rare cases there might be problems, if you have subclassed any
action-classes or if you have created html-forms using the old
framework. If you didn't got too low-level it should still work, but
you might get a lot of warnings in the transcript. Have a look at the
new messages in HtmlWriteStream and use these ones, as the others will
be removed for the final version of SmallWiki.
BTW: The callback-mechanisme is not limited to actions, it might also
be used within the templates, visitors, documents, etc.
The changes related to the session-management took place at a very low
level, so - I think - nobodies code will be touched. There were a lot
of problems with the basic-authentication so far, so i decided to
switch to cookie-based implementation. Another advantage is that one is
now able to logout. I think this will work more reliable, but we will
see.
Cheers
Lukas
--
Lukas Renggli
http://renggli.freezope.org