[Seaside-dev] Issue 284 in seaside: WAResponse sends #application

codesite-noreply at google.com codesite-noreply at google.com
Wed Jan 21 10:42:27 UTC 2009


Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium Version-Seaside2.9

New issue 284 by jfitzell: WAResponse sends #application
http://code.google.com/p/seaside/issues/detail?id=284

In WAResponse>>initialize, "self application" is called. This is a layering
violation because that method is added by the Session package. The Core
classes should not know about the Session layer at all.

The preferences could maybe be moved up to EntryPoint but that is still
weird because, while those classes are technically in the same package at
the moment, logically EntryPoint is a user of Response and not the other
way around.

In my opinion, Reponse should simply be wrapping the HTTP protocol and
letting its users set content types and so on as desired.
Application/EntryPoint could possibly set default values in their #handle:
methods, before calling their filters?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


More information about the seaside-dev mailing list