Seaside store

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Seaside store

Jason Johnson-3
Hi all,

I downloaded the Seaside store from the Seaside examples repository, and
I noticed the back button works different now.  Before, in the selection
you could go back, then make a new selection and it would go on from the
previous.  That is, going back was really going back in time to start
again.  Now if you go back then do a new selection it adds it to the
last selection you made.  That is, going back now simply shows what you
did before but the site is in the most advanced state it was in.

Is this the case because (a) the old way doesn't work anymore, (b) the
store site simply hasn't been updated to work with the new API, or (c)
someone decided this behavior was better?

Thanks,
Jason
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside store

Lukas Renggli
> I downloaded the Seaside store from the Seaside examples repository, and
> I noticed the back button works different now.  Before, in the selection
> you could go back, then make a new selection and it would go on from the
> previous.  That is, going back was really going back in time to start
> again.  Now if you go back then do a new selection it adds it to the
> last selection you made.  That is, going back now simply shows what you
> did before but the site is in the most advanced state it was in.

I quickly tried in a Seaside 2.5 image and couldn't see any
difference. As far as I know no changes have been made to the Store
application for a long time.

> Is this the case because (a) the old way doesn't work anymore,

Certainly, it is still possible to choose what objects to backtrack.

> (b) the
> store site simply hasn't been updated to work with the new API, or

As far as I know there were no changes necessary.

> (c)
> someone decided this behavior was better?

It depends on the use-case. I think in a sushi shop you normally don't
want your items get removed from the basked when hitting the back
button. This is probably different for a flight broker.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside store

Jason Johnson-3
Lukas Renggli wrote:
> I quickly tried in a Seaside 2.5 image and couldn't see any
> difference. As far as I know no changes have been made to the Store
> application for a long time.
>  

Well, it wouldn't need changes to the store app if the API it uses has
changed (which is why I asked).  But if you checked 2.5 and it was no
different then my memory must be faulty.

> As far as I know there were no changes necessary.
>  

Aha, I was under the impression that most of the things the store used
had been changed.


> It depends on the use-case. I think in a sushi shop you normally don't
> want your items get removed from the basked when hitting the back
> button. This is probably different for a flight broker.
>
> Lukas
>  

Well, just from the point of view of "what shows on my screen is where
we are right now" I would expect going back to put me back in time, but
as you say, the store app has never done this so it's a mute point.

Thanks for the quick response as always.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside store

Lukas Renggli
> > I quickly tried in a Seaside 2.5 image and couldn't see any
> > difference. As far as I know no changes have been made to the Store
> > application for a long time.
> >
>
> Well, it wouldn't need changes to the store app if the API it uses has
> changed (which is why I asked).  But if you checked 2.5 and it was no
> different then my memory must be faulty.

Yes, the API for backtracking objects has heavily changed in 2.8, but
the Store application never explicitly used this API (therefor no
change needed). The Sushi Store gets its backtracking functionality
from superclasses that are part of the Seaside core.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside