neel / bong

1 stars 0 forks source link

Stateless App not supported #23

Closed neel closed 12 years ago

neel commented 12 years ago

There can be an App(Controller) that doesn't require any XDO. that doesn't even need a Session. so there must be some way to specify cancellation of these overheads. may be introduce interface NoXDO and NoSession When a controller implement NoXDO XDO will not be used. and same for NoSession

neel commented 12 years ago

The default Presentation layer seeks for the XDOs and Session and there may be even more components that needs a Semantic presence of an XDO to carry on its normal processing (as XDO has been introduced in bong years ago e.g. from its beginning). Its not safe to keep $this->xdo to null so it should be wise to keep a MemoryXDO there

neel commented 12 years ago

done in 8baa8edaa6cf37d876ea2090099ba305c644ec36 However not well tested.