The SushiShop

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

The SushiShop

Damien Cassou-2
Hi,

is the SushiShop Seaside example application still available anywhere?
Is there a modern version somewhere?

Thanks

--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: The SushiShop

Philippe Marschall
On Tue, Oct 13, 2015 at 6:32 AM, Damien Cassou <[hidden email]> wrote:
> Hi,
>
> is the SushiShop Seaside example application still available anywhere?

Sure, the store project from [1]

> Is there a modern version somewhere?

I don't know. It looks as if some people have been working on it.

 [1] http://www.squeaksource.com/SeasideExamples.html

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

Re: The SushiShop

Damien Cassou-2

Philippe Marschall <[hidden email]> writes:

> On Tue, Oct 13, 2015 at 6:32 AM, Damien Cassou <[hidden email]> wrote:
>> is the SushiShop Seaside example application still available anywhere?
>
> Sure, the store project from [1]
>
>> Is there a modern version somewhere?
>
> I don't know. It looks as if some people have been working on it.
>
>  [1] http://www.squeaksource.com/SeasideExamples.html


thanks Philippe. The code is using #isolate:, IIRC that was to prevent
the use of the back button. But this method does not exist anymore.

    go
      | shipping billing creditCard |
      cart := WAStoreCart new.
      self isolate:
        [[self fillCart.
        self confirmContentsOfCart]
          whileFalse].

      self isolate:
        [shipping := self getShippingAddress.
        billing := (self useAsBillingAddress: shipping)
              ifFalse: [self getBillingAddress]
              ifTrue: [shipping].
        creditCard := self getPaymentInfo.
        self shipTo: shipping billTo: billing payWith: creditCard].

  self displayConfirmation.



--
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: The SushiShop

Johan Brichau-2
Damien,

I’m adding the Todo application example I used at ESUG in Cambridge to the Seaside-Examples package.
I think it will be a more up-to-date example.

It’s already in the repo for 3.2 but I intend to improve it since it was quickly written for the tutorial demos I did back then.
So, I would not recommend to point beginners to it right now, but wait a little more.

It should ship with the 3.2.0 version

Johan

> On 24 Oct 2015, at 12:13, Damien Cassou <[hidden email]> wrote:
>
>
> Philippe Marschall <[hidden email]> writes:
>
>> On Tue, Oct 13, 2015 at 6:32 AM, Damien Cassou <[hidden email]> wrote:
>>> is the SushiShop Seaside example application still available anywhere?
>>
>> Sure, the store project from [1]
>>
>>> Is there a modern version somewhere?
>>
>> I don't know. It looks as if some people have been working on it.
>>
>> [1] http://www.squeaksource.com/SeasideExamples.html
>
>
> thanks Philippe. The code is using #isolate:, IIRC that was to prevent
> the use of the back button. But this method does not exist anymore.
>
>    go
>      | shipping billing creditCard |
>      cart := WAStoreCart new.
>      self isolate:
>        [[self fillCart.
>        self confirmContentsOfCart]
>          whileFalse].
>
>      self isolate:
>        [shipping := self getShippingAddress.
>        billing := (self useAsBillingAddress: shipping)
>              ifFalse: [self getBillingAddress]
>              ifTrue: [shipping].
>        creditCard := self getPaymentInfo.
>        self shipTo: shipping billTo: billing payWith: creditCard].
>
>  self displayConfirmation.
>
>
>
> --
> Damien Cassou
> http://damiencassou.seasidehosting.st
>
> "Success is the ability to go from one failure to another without
> losing enthusiasm." --Winston Churchill
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

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

Re: The SushiShop

Andy Burnett
In reply to this post by Damien Cassou-2
Johan said
>>>
Damien,

I’m adding the Todo application example I used at ESUG in Cambridge to the Seaside-Examples package.
I think it will be a more up-to-date example.

It’s already in the repo for 3.2 but I intend to improve it since it was quickly written for the tutorial demos I did back then.
So, I would not recommend to point beginners to it right now, but wait a little more.

It should ship with the 3.2.0 version
<<<

I would be very interested in seeing that example. And, I would really like to see an example that used the server sent events that I saw mentioned a while ago. I think SSE might give me enough of a real-time experience to be able to use Seaside without needing web sockets - which I don't think Seaside can use.

Cheers
Andy

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside