mercoledì 1 agosto 2007

HttpView2 status report

In the past days, I've continued working on HttpView2.

I've completed support for XHTML 1.1 in class HVXHTMLCanvas . I've also extracted from HVXHTMLCanvas an HVCanvas class that provides support for generic XML documents.

On the other hand, I've decided to scrap the current HVPainter system and punt the new one to the next release of HV2.

The other big change from HV2's current stable release is related to the HTTP response. In the stable release (1.0x), the HTTP response is automatically created from the builder and the user has no control over it. In the current development release, the HttpResponse object has been exposed in the HVTransientView class. The various URL methods may access it, modify the status code, the content type and the contents itself.

With these modifications, HV2 may be used (albeit awkwardly) as a simple engine for RESTful web services.

As soon as Goran, HV2's mantainer, gets back from his vacations we'll publish the new development version on the SqueakMap. Meanwhile, you may find the code on the Monticello repository as version HV-gc.132.

Nessun commento: