[Borges-users] strange behavior of SushiNet, and hello all

Eric Hodel drbrain at segment7.net
Thu Apr 8 18:44:24 EDT 2004


??????? ???????? (slepnev_v at rambler.ru) wrote:

> Hello,
> 
> I'm new to Borges and must say I really like it. In fact, much more 
> than Seaside, because I'm Russian, and the Squeak IDE doesn't have 
> support Cyrillic =))
> 
> I installed Borges today and already have found something weird with 
> the SushiNet application. I order some stuff and it gets added to my 
> shopping cart; then I hit the back button several times, emptying the 
> cart; and then I try to order something else, and wham! the stuff I 
> had ordered before appears in my shopping cart again. Isn't this 
> wrong?

No, but your confusion is valid.

Borges (and Seaside) break data down into two types, session data and
component data.  Session data is persisted across the session, and is
not backtracked, while component data is backtracked.

You certainly could make the shopping cart component data, but it would
be confusing to most people.  For example:

Search for 'tuna', you'll get four results:

Akami Maguro
Chutoro Maguro
Ohtoro Maguro
Tekkamaki

Lets say I want to order one of each, so I click on Akami Maguro, add
it to my cart, then hit back twice, and do the same for the rest.

After adding Tekkamaki to my cart, I find that my cart only has
Tekkamaki in it, which is not what I want.

Component data makes navigation intuitive for the user, while session
data allows them to get work done.

-- 
Eric Hodel - drbrain at segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/borges-users/attachments/20040408/ed1931fa/attachment.bin


More information about the Borges-users mailing list