I think out of sheer laziness and excitement to get up and running I
defined a few lists in my controller's global namespace to which I
append data used by other controllers during other calls. The lists
seem to persist between calls which is great, however I haven't seen
this used in any of the tutorials so should I be storing this stuff in
the db ? It's app data that doesn't needs to stick around for very long
and is constantly being overwritten. What is the best practice for
sharing lists between controller calls and out of curiosity where is
this state coming from ?

-Aris

X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.53.63 with SMTP id b63mr96839cwa;
        Sun, 21 May 2006 00:52:47 -0700 (PDT)
X-Google-Token: bP_HtQwAAADV-MdZVW_YDCgXlUc6zo9j
Received: from 62.111.239.166 by j73g2000cwa.googlegroups.com with HTTP;
        Sun, 21 May 2006 07:52:47 +0000 (UTC)
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: "TurboGears" <[email protected]>
Subject: Question about state between controller calls
Date: Sun, 21 May 2006 00:52:47 -0700
Message-ID: <[EMAIL PROTECTED]>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418 
(KHTML, like Gecko) Safari/417.9.3,gzip(gfe),gzip(gfe)
Mime-Version: 1.0
Content-Type: text/plain

I think out of sheer laziness and excitement to get up and running I
defined a few lists in my controller's global namespace to which I
append data used by other controllers during other calls. The lists
seem to persist between calls which is great, however I haven't seen
this used in any of the tutorials so should I be storing this stuff in
the db ? It's app data that doesn't needs to stick around for very long
and is constantly being overwritten. What is the best practice for
sharing lists between controller calls and out of curiosity where is
this state coming from ?

-Aris


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to