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
Hi,
as I side-effect to the actions, I have just implemented cookie-based
login. Of course it only works when you have cookies enabled in your
browser, but we could emit a warning if we detect that. I've also added
a box with some session related actions and information on the left.
The basic-authentication that was used before, was quite useless as
some browser did not support it or do not adapt de standard properly.
The cookie based approach works with all browsers I tested so far.
Cheers
Lukas
--
Lukas Renggli
http://renggli.freezope.org
Hi Bjorn,
> It would be interesting to test your SmallWiki.
I've just published the current version of SmallWiki to Cincom StORE,
so you should be able to download the bundle 'SmallWiki' now.
But remember, it is a beta and there are not many web-interfaces to
manage your wiki yet, but we are working on that. Of course you might
change everything from transcript and using inspectors, there is window
opened with a bunch of expressions when you load the bundle.
You might want to have a look at the slides of a technical presentation:
http://www.iamexwi.unibe.ch/studenten/renggli/smallwiki/
sw_tech_pres.pdf
> What is the main difference/improvements to using WikiWorks?
The main improvements over WikiWorks and SWiki are ...
From the slides:
- Everything is an Object
- Extensibility
- Components
- Web server
- Storage
- Test suites
- Open source (MIT)
- Dialect independent
Some others:
- No Smalltalk code in external files
- Lots of extensions and add-ons are currently developed
- Flexible security-model with users, roles, permissions
Cheers
Lukas
--
Lukas Renggli
http://renggli.freezope.org
> From: Lukas Renggli <renggli(a)student.unibe.ch>
> Date: Die Mai 6, 2003 22:50:00 Europe/Zurich
> To: Mailing List SmallWiki <smallwiki(a)iam.unibe.ch>
> Subject: Future Plans
>
> I've quickly added some new stuff about the future of the project:
>
> http://scgwiki.iam.unibe.ch:8080/SCG/520
>
> If you think I missed some important stuff, please add it.
>
> Cheers
> Lukas
>
> --
> Lukas Renggli
> http://renggli.freezope.org
--
Lukas Renggli
http://renggli.freezope.org
Hi,
I have just implemented a simple callback mechanism for links. It was
done straight forward and within less than an hour. So don't expect it
to be bug-free and well tested. There is also no support for forms yet,
but that will be fairly easy to add.
If you want to see a very simple example, have a look at the class
CallbackDemo. To see the result start a new server and go to the
following page:
http://localhost:8080/?action=CallbackDemo
Clicking on the links will show the strings in your transcript. Nothing
really new, but we gain much abstraction over the low-level
request-response protocol, that has been used (and it is still used)
everywhere in the actions.
The second example is just to show how easily it is possible to change
the server configuration using callbacks.
Cheers
Lukas
--
Lukas Renggli
http://renggli.freezope.org
this is just a remainder for me about how to improve the howtos. I will do it when I am back.
For the "adding a new action", I have to use the registration mechanism. I tought I have done that, but obviously not.
For "Adding a visitor: Statistical Component" I need to say to create accessor/mutator for the iv htmlStream
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi all,
I was wondering how we should proceed to get more exposure from the
community and get
help.
Any idea? Should we try to plan for an official 0.9 version?
Publish it to the store repository, sending messages into the news and
various mailing-lists, wiki pages, open-source projects?
Alex what is the status?
Stef
Alex: When I'm back in shape (I hope) I would like to have some coding
sessions on SmallWiki so that it can start to run well: I was thinking
about the management aspect.
Prof. Dr. Stéphane DUCASSE
http://www.iam.unibe.ch/~ducasse/
"if you knew today was your last day on earth, what would you do
different? ... especially if,
by doing something different, today might not be your last day on
earth" Calvin&Hobbes
"The best way to predict the future is to invent it..." Alan Kay.
Open Source Smalltalks: http://www.squeak.org,
http://www.gnu.org/software/smalltalk/smalltalk.html
Free books for Universities at
http://www.esug.org/sponsoring/promotionProgram.html
Free Online Book at
http://www.iam.unibe.ch/~ducasse/WebPages/FreeBooks.html