tag:blogger.com,1999:blog-6069439299305224730.post8677022735718496885..comments2023-03-22T15:06:21.232+01:00Comments on zoom.nu: Minimum viable web frameworkAnonymoushttp://www.blogger.com/profile/01044897049984478240noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-6069439299305224730.post-42973857220276267782013-01-31T00:43:37.478+01:002013-01-31T00:43:37.478+01:00I really should go to sleep now since I'm talk...I really should go to sleep now since I'm talking rubbish, you are 100% right. If I ever write a web-app again I'll use this and nothing else.Anonymoushttps://www.blogger.com/profile/02908752593907979820noreply@blogger.comtag:blogger.com,1999:blog-6069439299305224730.post-51705624684660121152013-01-31T00:40:10.541+01:002013-01-31T00:40:10.541+01:00I'd say cache headers should go in the logic (...I'd say cache headers should go in the logic (i.e. servlets), as it's the logic that knows how long the data that's formatted by the presentation should be considered fresh.Anonymoushttps://www.blogger.com/profile/01044897049984478240noreply@blogger.comtag:blogger.com,1999:blog-6069439299305224730.post-77304652285460970772013-01-31T00:36:04.164+01:002013-01-31T00:36:04.164+01:00Yes ofc the method should go into the "Framew...Yes ofc the method should go into the "Framework" utility class, I was confused, all is good now. It zooms :)<br />If I created BloatedFramework I'd include some central sanity checking method for letting JSPs set headers (specifically cache). Since a web framework shouldn't talk HTML, it should talk HTTP. But then again, that is probably a special case.Anonymoushttps://www.blogger.com/profile/02908752593907979820noreply@blogger.comtag:blogger.com,1999:blog-6069439299305224730.post-71948333556682059662013-01-31T00:21:30.018+01:002013-01-31T00:21:30.018+01:00The method is a Utility class. Things that do logi...The method is a Utility class. Things that do logic do logic in doFoo, and then call forward() to dispatch to the presentation.Anonymoushttps://www.blogger.com/profile/01044897049984478240noreply@blogger.comtag:blogger.com,1999:blog-6069439299305224730.post-85841729424624870092013-01-31T00:10:27.019+01:002013-01-31T00:10:27.019+01:00Wait what, is that a method on the servlet? and yo...Wait what, is that a method on the servlet? and you prep your data in the onGet/Post methods, then call this method to dispatch to the presentation? If so, then it zooms :)Anonymoushttps://www.blogger.com/profile/02908752593907979820noreply@blogger.com