On Wed, Mar 11, 2009 at 11:52:21PM -0400, Edward Heil wrote:
> OK, so fooling around further it looks like all instance variables get  
> wiped at the beginning of every method within a Shoes subclass.   
> That's OK I guess.  So what's the preferred way to have some data  
> that's shared from one Shoes URL to another?  Passing it from one page  
> to the next in the URL itself works -- if it's a string.  If it's not  
> a string, what should you use -- @@class_variables?

Sure you could use a class var. Those are guaranteed to persist
throughout the life of the app. Or a constant.

Also, Shoes comes with SQLite3, data can be passed there.

_why

Reply via email to