I couldn’t help but take a second look at Seafox and I am really impressed.
In my last post I wrote it’s a squeak app, but that’s nonsense. There is a squeak app that runs on top of seaside and can serve the Seafox plugin for download, but in fact Seafox itself is just a Firefox plugin. [Update: The Squeak App displays a nice page with documentation on most Seaside-generated tags and is a nice showcase of jQuery usage – but it has some issues with some browsers on some operating systems]
If you’re not a Squeak / Pharo user, you can simply download Seafox from http://seafox.seasidehosting.st and click on the download-icon.
There’s not much to the plugin: it just adds a little seaside icon to your Firefox (just next to Firebug in my case 😉 ). Once it is installed you can visit any web page and click on the Seafox icon. It will convert the page you look at into two methods:
- updateRoot for the html header (like meta tags or links to css files)
- renderContentOn: for the html tags in the body.
How cool is that?
All you need to do now is visit your favorite page that you’d like to implement in Seaside, start Seafox and copy&paste the code into your smalltalk browser.
Well, there’s a lot more to do than that. You’ll have to find the places where Seaside puts in dynamic content and you’ll sure want to decompose a page into components and so on. But Seafox gives you a comfortable starting point for that.
So go and get Seafox!
Thanks a lot to Nick Ager for making this available. Great work, dude!