Return-Path: Delivered-To: apmail-tapestry-dev-archive@www.apache.org Received: (qmail 19645 invoked from network); 22 Apr 2009 21:45:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Apr 2009 21:45:15 -0000 Received: (qmail 72237 invoked by uid 500); 22 Apr 2009 21:45:15 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 72161 invoked by uid 500); 22 Apr 2009 21:45:15 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 72152 invoked by uid 99); 22 Apr 2009 21:45:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 21:45:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 21:45:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 91913234C044 for ; Wed, 22 Apr 2009 14:44:47 -0700 (PDT) Message-ID: <1610652051.1240436687595.JavaMail.jira@brutus> Date: Wed, 22 Apr 2009 14:44:47 -0700 (PDT) From: "Howard M. Lewis Ship (JIRA)" To: commits@tapestry.apache.org Subject: [jira] Assigned: (TAP5-274) ApplicationStateObject is a misleading term MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Howard M. Lewis Ship reassigned TAP5-274: ----------------------------------------- Assignee: Howard M. Lewis Ship > ApplicationStateObject is a misleading term > ------------------------------------------- > > Key: TAP5-274 > URL: https://issues.apache.org/jira/browse/TAP5-274 > Project: Tapestry 5 > Issue Type: Improvement > Reporter: Geoff Callender > Assignee: Howard M. Lewis Ship > > This is a record of a discussion that went on in the mailing list on 16-18 Sep 2008. I proposed that the term ApplicationStateObject caused confusion. Some agreed but not all. Regardless, the discussion threw up some interesting food for thought, so I've captured it here for further consideration. > Here's the e-mail that kicked it off. > From: geoff.callender.jumpstart@gmail.com > Subject: T5: ApplicationStateObject is misleading > Date: 16 September 2008 9:06:12 PM > To: users@tapestry.apache.org > We want Tapestry to be as natural as possible for newcomers, so it's important to have terminology that is not misleading. Right now might be the last chance to tidy some of these up before T5.0 goes final. > One term that I believe many people find misleading is ApplicationState. The problem is that it implies it will make an object available across the whole application, ie. application-scoped; which is not its purpose. > The doco says that ASOs "are unique to an individual user, not shared between users", which is not quite right, either. > The standard usage is to tie an object's scope to that of a web session, so maybe we should put "session" in the name? Eg. > @SessionScoped > @SessionShared > @ShareAcrossSession > It is important to understand that the term "session" here is NOT a reference to the persistence mechanism, but a reference to the scope. > Alternatively, let's keep it really obvious with this: > @StateObject > with the understanding that the default persistence strategy is "session". > What do others think? Are you happy with ApplicationState? > Geoff > The discussion continued on these 2 threads: > * http://thread.gmane.org/gmane.comp.java.tapestry.user/65601/focus=65601 > * http://thread.gmane.org/gmane.comp.java.tapestry.user/65638/focus=65638 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.