Re: Terminology: Visit vs. Global vs. ???
"Malcolm Edgar" <[email protected]> Sat, 28 Dec 2002 07:34:53 +0800
| Newsgroups | gmane.comp.java.tapestry.contrib |
|---|---|
| Message-ID | <[email protected]> |
I think Visit is quite good. Using Session or SessionBean has too much overlap with Servlets & EJB. I dont like Global, globals are evil :) EncodedRequest or RequestEncoding are good for me, but I worry about the impact this may have on existing code. Regards Malcolm >From: "Howard M. Lewis Ship" <[email protected]> >To: "Tapestry Contrib" <tapestry-contrib-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> >Subject: [Tapestry-contrib] Terminology: Visit vs. Global vs. ??? >Date: Fri, 27 Dec 2002 07:32:59 -0500 > >So, I'm revisiting the documenation and I start wondering ... maybe we >should clean up some of the terminology? > >Where did "Visit" come from? It actually predates Tapestry; I was on a >project and we were killing trees with useless diagrams. I was busy >teaching the other developers about servlets and EJBs and we were on a >tight schedule. Anyway, I was pushing the idea that we should collect >information that would be used by many different parts of the application >into a central object, so that we wouldn't constantly have to >getAttribute() and downcast. I prefer keeping things strongly typed. > >That started a discussion about what that central object would be called. >Somehow, we came up with Visit (i.e., it stores the information about the >user's visit). The intent with the name was to make it obvious that it was >short-term information, discarded when the user's visit to the application >ended. > >Despite all that, I think calling it something else, say "Globals" (or >what? Suggestions welcome) may simplify adoption. > >Also, I don't know why I came up with "Gesture". Gesture in UI terms is an >all-encompassing term for any kind of input the user can do: keypress, >mouse clicks and drags, etc. But that's not really how Gesture is used in >Tapestry, since Gesture should be used when recognizing input (something >the engine services do). > >How about "EncodingOfURLAndRequestParameters"? EncodedServiceRequest? >EncodedRequest? RequestEncoding? > > >---- >Howard Lewis Ship >[email protected] >http://tapestry.sf.net > _________________________________________________________________ The new MSN 8: smart spam protection and 3 months FREE*. http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_smartspamprotection_3mf ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf