Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
HVRootView
Last updated at 1:24 pm UTC on 29 October 2018
Part of the HttpView web framework.



The root view typically
  1. instantiates a transient view object on the model,
  2. puts the request into the view and
  3. then sends #dispatch to it.

Eventually it will return a result object that is transformed into an HttpResponse.

Simple applications typically don't subclass HVRootView, instead an instance is created when the application is started, see for example HVHttpView class>>startOn:.

The HVRootView object is not instantiated for every request - it represents the web application itself that is plugged into Komanche - so it must be written Process safe.