Seaside2 in VisualWorks
Return to home page
Comments Loading...
2004-04-14

We're moving to have WithStyle be accessable nightly by developers who wish to get the latest and the greatest version of WithStyle as soon as they can. To do it, I need to build a simple web application for running the 'developers' side of things - which will give each developer their own username/password.

There are oh so many web frameworks to choose from when it comes to this sort of thing. But I have to look to the future. What kind of web framework will let me do anything I want? Well, truth be told I'm not entirely sold on Seaside doing everything I need in the future - but it is a fun experiment to try! So I'm giving it a go.

I've been told that Seaside2 for VisualWorks is behind the ball and that if I really want to use the latest version of Seaside2 I should be using Squeak. Well, I have to say right back at you that I'm not going to use Squeak for my webserver for one simple reason: One wrong click and the image is stuffed!.

Now a very short how-to for getting Seaside2 to work under VisualWorks. First off, you don't need to load anything in to your image except for Store access. Connect to public store and load the bundle Seaside-WebToolkit. This will load in WebToolkit for you, then load Seaside-VW, then load Seaside. Nothing else is required.

At this point, use the normal WebToolkit stuff to start up a server with the default resolvers in there. You're almost there at this point.

Move the Seaside.SeasideServlet class in to the VisualWave namespace!

Once you've done that, WTK can find seaside and using it is just a matter of going to a URL such as: http://localhost:8008/default/servlet/SeasideServlet/counter.

Don't forget your admin password so that you can get to the /config sealet (is that their name?).

The question becomes this: Does the current VW Seaside2 do all the CSS stuff? If not, when will it?