Dolphin Smalltalk Code

I spend enough time lurking and posting on the newsgroups, I thought it was about time I actually posted some code.

MongoDB Driver

I have written a MongoDB driver for Dolphin Smalltalk. Available here

Twitter API

Just a very crude introductory example of accessing the TwitterAPI from Dolphin Smalltalk.

Download: TwitterAPI.zip

Last Updated: 16/04/2010

JSON

JSON parsing - Port from Squeak.

Download: JSON.zip

Last Updated: 16/04/2010

Swazoo - Smalltalk Web Application Zoo

Steve Waring did an excellent port of the Swazoo 0.9.90 (?) code, but the core Swazoo code base has moved on since then. I thought it was time for an update.

Swazoo has since been released as 1.0. This 0.9.101 version is up to date with 1.0.

The next task is to propogate my work on portability back to the VisualWorks edition, but that will involve some additional collaboration with Bruce Badger, and the excellent work he has done on portability between Swazoo/VisualWorks and Swazoo/Gemstone.

Also keep an eye out for an updated Squeak version, because with the changes I have made to the code, I can keep a Dolphin and Squeak version in-sync with each other (By making use of the Dolphin Source Stracking System which now comes with Dolphin 6 Professional.

Update: Esteban has released a more up-to-date port. This is built on top of Bruce Badger's SPort layer as well, so it means that the VW Postgresql client will probably work too. Go here for more info

Download: v1.0

Installation: Unzip .pac files and install Swazoo-Dolphin.pac

Last Updated: 30/05/2005

Dolphin XmlRpc Client

Just a straight port of the VisualWorks XML-RPC Client. The difference is XmlRpcClient is no longer a subclass of any sort of Http Request. Internally it uses IXMLHttpRequest, but you can subclass XmlRpcClient, and override #requestClass with a different class. As long as your object responds to the following two messages: #send: and #open:bstrUrl:varAsync:bstrUser:bstrPassword: (Don't ask!). Steve Waring's Simple HTTP Client supports these methods. I just wanted a simple package with no extra dependancies. IXMLHttpRequest gives me that (Even though there is a dependancy on the MSXML objects)

Update: After someone noted on the newsgroups that they couldn't load the XmlRpc Client into a Value Edition image, I created a second version which contains an imported XmlHttpRequest class from the MSXML component library. You should only use this version if you have a 5.1 value edition image.

Download:
- v1.0 Standard/Professional
- v1.0 Value Edition

Last Updated: 11/05/2005

Dolphin Sqlite

Currently a work in progress. I promised I would get it out on c.l.s.d. I am still working on it. Just other priorities at the moment.

Download: N/A

Seaside for Dolphin

Yes, I spoke to Avi a while back, and I have a work in progress based on 2.5b6-avi.8. However, work on this stalled when I heard that the Dolphin 6 VM was changing. I wasn't sure whether this meant any changes to method contexts, so I held off on Seaside for a little while. It looks like the VM changes that are coming are garbage collector related, so I should get back to work on this soon.

I handballed my work on the Dolphin/Seaside port over to Esteban. He is now maintaining a blog with posts outlining his progress. It sounds like he is making good progress and I expect we will see Seaside for Dolphin very soon.

Misc Links

smalloy at gmail.com