Smalltalkers

Talk Small and Carry a Big Class Library

I posted a note on the Smalltalk web frameworks here: http://developers.curl.com/thread/1944

That's Curl as in www.curl.com and not cURL as in haxx.se ...

Share

Reply to This

Replies to This Discussion

A working Canvas subclass (using WVCurlCanvas, HVClosingCurlTag, HVCurlHeadTag, HVCurlHEadingTag, HVCurlTag )

I had no idea what to do after being forced to load DynamicBindings, so I am running with

BindingsAccessor initialize.
Smalltalk at: #Root put: DynamicBindings new.
in a workspace before starting my example runs of HttpView2

( It appears that load through Monticello of the DynamicBindings MCZ has failed to do some init on load ...)

Reply to This

Here's a lettle gem in HttpView2 + Kom's Object

asHttpResponseTo: anHttpRequest

^(self asHtmlDocumentForRequest: anHttpRequest)
asHttpResponseTo: anHttpRequest

Reply to This

I get no errors loading the version of DynamicBindings from the Kom pkg into Pharo (unlike the Squeak problems) so that is good. But ...

ByteString was missing

>>isoToSqueak
>> utf8ToIso

so I added stubs to return self.

I had to fix several incompatiblities in HV2 SwikiFormatter
All were based on assigning to a block parameter rather than creating a local from the block parameter ... so they fixed easily (at least to compile OK)

So ... finally have HttpView2 running and responding in Pharo except for the Painter example in HelloWorld ( in my Curl variant on Squeak 3.10.2 I coded my own Painter class to work in a Canvas )

Reply to This

RSS

About

Badge

Loading…

© 2009   Created by James Robertson on Ning.   Create a Ning Network!

Badges  |  Report an Issue  |  Privacy  |  Terms of Service