Lambda the Ultimate

inactiveTopic Playing with Swiki
started 11/14/2001; 1:56:14 PM - last post 12/12/2001; 5:59:38 AM
Ehud Lamm - Playing with Swiki  blueArrow
11/14/2001; 1:56:14 PM (reads: 1896, responses: 4)
Playing with Swiki
Swiki is a Squeak based Wiki.

Like all Squeak based efforts the Swiki UI is beautiful, which is why I installed it and started looking at the source.

I didn't really study the system yet, but I found quite a few things I liked.

The way Swiki uses Smalltalk inheritance to categorize Wiki sites, and to control their attirbutes is very elegant. The Swiki browser is a nice demonstration of inheritance.

I also like the flexible table driven design. It is basically based on XML metadata that tells Swiki how to fulfill different kinds of requests (more on this when I have more time).

Not only do the XML files parameterize the system, they specify the required actions by pointing to files that contain Smalltalk code. Now this is what I call a dynamic language!

I think the XML files are loaded into Smalltalk Dictionaries, which is also kind of nice (Dictionaries are part of what you get for free in ST), but this is really small potatoes compared to the overall design.

I just started looking at Swiki this morning, so I apologize for any mistakes. I hope to say more about this nice piece of software, and how its design utilizes ST, in the future.


Posted to OOP by Ehud Lamm on 11/14/01; 1:59:58 PM

Andreas Fuchs - Re: Playing with Swiki  blueArrow
11/17/2001; 4:27:49 AM (reads: 803, responses: 0)
The Swiki source downloads for UNIX are a little broken (they have '10'-characters (r) as line ends rather than the more usual '12' (n)). I already mailed the authors about this, so please don't flood them with bug reports about this small error.

This dirty little bash script should remedy the error:

for i in `find . -type f` ; do tr '\r' '\n' < $i > /tmp/tmpfile.rename.`basename $i` && mv /tmp/tmpfile.rename.`basename $i` $i && done

rev - Re: Playing with Swiki  blueArrow
11/18/2001; 9:28:46 PM (reads: 780, responses: 0)
Better yet, check out ComSwiki.

http://minnow.cc.gatech.edu/swiki/

Prepackaged downloads for Mac, Linux/Unix, and Windows are available at: http://minnow.cc.gatech.edu/swiki/15

Just uncompress and run. Click "Start" button. :)

Ehud Lamm - Re: Playing with Swiki  blueArrow
11/19/2001; 3:20:50 AM (reads: 795, responses: 0)
That's the SWiki I was talking about.

Ehud Lamm - Re: Playing with Swiki  blueArrow
12/12/2001; 5:59:38 AM (reads: 726, responses: 0)
From Goran Hultgren:

I saw that someone thought that the source for Swiki was "broken". Since I couldn't figure out how to post (probably need to sign up) I emailed you instead. :-)

I assume he was talking about the source for Swiki (being a Squeak changeset) and it is actually correct by using CR as newline character since that is standard for Squeak (inherited from the first platform where Squeak was developed - the Mac).

A changeset is not meant to be read in an editor - it should be "filed in" into a Squeak environment for interactive browsing and Squeak will expect CRs as lineendings.