Thursday, August 20, 2009

Pharo + Swazoo + Magritte with Iliad

If you are new to the Pharo branch of Squeak Smalltalk, you may want to try Iliad as a web framework.

Start by loading in Swazoo and then Magritte into the Monticello package browser by first adding the HTTP repository or by opening the Pharo local package-cache in Monticello and then loading the MCZ files. You will need at least Iliad Core and IliadSwazoo.

To test that all was well I started first with a test against an image with just Swazoo and Magritte by running

SwazooServer demoStart.
" go to http://localhost:8888 "
SwazooServer demoStop.

in a workspace and then

SwazooIliad startOn: 3008.
" goto http://localhost:3008/examples/counters/counter "
SwazooIliad stop .

My task is to create a Curl hierarchy which is an alternative to the XHTML and JSON so as to generate Curl web content instead of HTML. So far, so good ...

(that's of course Curl, the web content language, from curl.com and not the case-inverted homonym "c_U_R_L" from haxx_DOT_se )