[ANN] New Seaside tutorial

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

[ANN] New Seaside tutorial

michaelperscheid
Dear list,

We proudly present a new Seaside tutorial (for Squeak 3.10 and Seaside 2.8).
This tutorial was produced by the Software Architecture Group at the
Hasso-Plattner-Institute (University of Potsdam). In ten chapters we
describe step by step the development of a ToDo-application and thereby
demonstrate the main parts of the sophisticated web framework Seaside.
Since this is the first version we hope that you can help to improve the
quality by providing feedback.

Have a look at: http://www.swa.hpi.uni-potsdam.de/seaside/tutorial

Regards
Michael Perscheid


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

Re: [ANN] New Seaside tutorial

Rajeev Lochan
Hi,
Thanks for the lovely Tutorial. It is definitely going to attract a lot of newbies to try Seaside. Hoping that Seaside team puts this link on Seaside Documentation section of seaside.st

Regards,
Rajeev

On 10/19/07, Michael Perscheid <[hidden email]> wrote:
Dear list,

We proudly present a new Seaside tutorial (for Squeak 3.10 and Seaside 2.8).
This tutorial was produced by the Software Architecture Group at the
Hasso-Plattner-Institute (University of Potsdam). In ten chapters we
describe step by step the development of a ToDo-application and thereby
demonstrate the main parts of the sophisticated web framework Seaside.
Since this is the first version we hope that you can help to improve the
quality by providing feedback.

Have a look at: http://www.swa.hpi.uni-potsdam.de/seaside/tutorial

Regards
Michael Perscheid


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



--
Rajeev Lochan

Co-founder, AR-CAD.com

http://www.ar-cad.com
+91 9243468076 (Bangalore)
080 65355873
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: [ANN] New Seaside tutorial

Ron Teitelbaum
In reply to this post by michaelperscheid
Hello All,

We have a new tutorial!
http://news.squeak.org/2007/10/19/new-seaside-tutorial-by-hasso-plattner-ins
titute/

Thanks for all your hard work; it's very exciting to see new documentation!

Ron Teitelbaum
Squeak News Team Leader

> -----Original Message-----
> From: Michael Perscheid
>
> Dear list,
>
> We proudly present a new Seaside tutorial (for Squeak 3.10 and Seaside
> 2.8).
> This tutorial was produced by the Software Architecture Group at the
> Hasso-Plattner-Institute (University of Potsdam). In ten chapters we
> describe step by step the development of a ToDo-application and thereby
> demonstrate the main parts of the sophisticated web framework Seaside.
> Since this is the first version we hope that you can help to improve the
> quality by providing feedback.
>
> Have a look at: http://www.swa.hpi.uni-potsdam.de/seaside/tutorial 
>
> Regards
> Michael Perscheid
>


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

Re: [ANN] New Seaside tutorial

Michael Haupt-3
Hi Ron,

On 10/19/07, Ron Teitelbaum <[hidden email]> wrote:
> We have a new tutorial!
> http://news.squeak.org/2007/10/19/new-seaside-tutorial-by-hasso-plattner-ins
> titute/

thanks; I was just about to ask you to post a news item. :-)

Best,

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

RE: [ANN] New Seaside tutorial

Ron Teitelbaum
Hi Michael,

You are welcome!  I'm very happy to do it.  

Thanks for your work on this, it's beautiful!

Could you check your timeout I'm not sure how it happened but I ended up
with a situation where every link resolved to
http://localhost:8002/seaside/tutorial which doesn't work.  I'm guessing
it's the default time out that needs to be redirected to the proper url.

Ron Teitelbaum
Squeak News Team Leader

> -----Original Message-----
> From: Michael Haupt [mailto:[hidden email]]
> Sent: Friday, October 19, 2007 9:48 AM
> To: [hidden email]; Seaside - general discussion
> Subject: Re: [Seaside] [ANN] New Seaside tutorial
>
> Hi Ron,
>
> On 10/19/07, Ron Teitelbaum <[hidden email]> wrote:
> > We have a new tutorial!
> > http://news.squeak.org/2007/10/19/new-seaside-tutorial-by-hasso-
> plattner-ins
> > titute/
>
> thanks; I was just about to ask you to post a news item. :-)
>
> Best,
>
> Michael

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

RE: [ANN] New Seaside tutorial

michaelperscheid
Hi Ron,

Thanks for your response.
With your advice we could fix the problem, thanks.

Regards
Michael

> -----Ursprüngliche Nachricht-----
> Von: [hidden email] [mailto:seaside-
> [hidden email]] Im Auftrag von Ron Teitelbaum
> Gesendet: Freitag, 19. Oktober 2007 16:09
> An: 'Michael Haupt'; 'Seaside - general discussion'
> Betreff: RE: [Seaside] [ANN] New Seaside tutorial
>
> Hi Michael,
>
> You are welcome!  I'm very happy to do it.
>
> Thanks for your work on this, it's beautiful!
>
> Could you check your timeout I'm not sure how it happened but I ended up
> with a situation where every link resolved to
> http://localhost:8002/seaside/tutorial which doesn't work.  I'm guessing
> it's the default time out that needs to be redirected to the proper url.
>
> Ron Teitelbaum
> Squeak News Team Leader
>
> > -----Original Message-----
> > From: Michael Haupt [mailto:[hidden email]]
> > Sent: Friday, October 19, 2007 9:48 AM
> > To: [hidden email]; Seaside - general discussion
> > Subject: Re: [Seaside] [ANN] New Seaside tutorial
> >
> > Hi Ron,
> >
> > On 10/19/07, Ron Teitelbaum <[hidden email]> wrote:
> > > We have a new tutorial!
> > > http://news.squeak.org/2007/10/19/new-seaside-tutorial-by-hasso-
> > plattner-ins
> > > titute/
> >
> > thanks; I was just about to ask you to post a news item. :-)
> >
> > Best,
> >
> > Michael
>
> _______________________________________________
> 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: [ANN] New Seaside tutorial

Sophie424
In reply to this post by michaelperscheid
Wonderful, congratulation!

May I suggest a chapter where the same app is built using Magritte?
Ruby-Rails people might really benefit from seeing more automagic behind
both the rendering and the forms creation. It might be useful for your
target students as well.


"Michael Perscheid" <[hidden email]> wrote in message
news:20285.6242577129$[hidden email]...

> Dear list,
>
> We proudly present a new Seaside tutorial (for Squeak 3.10 and Seaside
> 2.8).
> This tutorial was produced by the Software Architecture Group at the
> Hasso-Plattner-Institute (University of Potsdam). In ten chapters we
> describe step by step the development of a ToDo-application and thereby
> demonstrate the main parts of the sophisticated web framework Seaside.
> Since this is the first version we hope that you can help to improve the
> quality by providing feedback.
>
> Have a look at: http://www.swa.hpi.uni-potsdam.de/seaside/tutorial
>
> Regards
> Michael Perscheid



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

Re: [ANN] New Seaside tutorial

stephane ducasse
In reply to this post by Ron Teitelbaum
Hi

I would like to know what is the license.
In our book we also have a todo application :) and I would like to know
what is your license before I read your tutorial since I would like  
to avoid that
people think that we are stealing material.

Stef
On 19 oct. 07, at 16:36, Michael Perscheid wrote:

> Hi Ron,
>
> Thanks for your response.
> With your advice we could fix the problem, thanks.
>
> Regards
> Michael
>
>> -----Ursprüngliche Nachricht-----
>> Von: [hidden email] [mailto:seaside-
>> [hidden email]] Im Auftrag von Ron Teitelbaum
>> Gesendet: Freitag, 19. Oktober 2007 16:09
>> An: 'Michael Haupt'; 'Seaside - general discussion'
>> Betreff: RE: [Seaside] [ANN] New Seaside tutorial
>>
>> Hi Michael,
>>
>> You are welcome!  I'm very happy to do it.
>>
>> Thanks for your work on this, it's beautiful!
>>
>> Could you check your timeout I'm not sure how it happened but I  
>> ended up
>> with a situation where every link resolved to
>> http://localhost:8002/seaside/tutorial which doesn't work.  I'm  
>> guessing
>> it's the default time out that needs to be redirected to the  
>> proper url.
>>
>> Ron Teitelbaum
>> Squeak News Team Leader
>>
>>> -----Original Message-----
>>> From: Michael Haupt [mailto:[hidden email]]
>>> Sent: Friday, October 19, 2007 9:48 AM
>>> To: [hidden email]; Seaside - general discussion
>>> Subject: Re: [Seaside] [ANN] New Seaside tutorial
>>>
>>> Hi Ron,
>>>
>>> On 10/19/07, Ron Teitelbaum <[hidden email]> wrote:
>>>> We have a new tutorial!
>>>> http://news.squeak.org/2007/10/19/new-seaside-tutorial-by-hasso-
>>> plattner-ins
>>>> titute/
>>>
>>> thanks; I was just about to ask you to post a news item. :-)
>>>
>>> Best,
>>>
>>> Michael
>>
>> _______________________________________________
>> 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
>

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

Re: [ANN] New Seaside tutorial

Conrad Taylor
In reply to this post by michaelperscheid
Hey Michael, very nice tutorial.  Is there a PDF available of the tutorial?

Thanks,

-Conrad

On 10/19/07, Michael Perscheid <[hidden email]> wrote:
Dear list,

We proudly present a new Seaside tutorial (for Squeak 3.10 and Seaside 2.8).
This tutorial was produced by the Software Architecture Group at the
Hasso-Plattner-Institute (University of Potsdam). In ten chapters we
describe step by step the development of a ToDo-application and thereby
demonstrate the main parts of the sophisticated web framework Seaside.
Since this is the first version we hope that you can help to improve the
quality by providing feedback.

Have a look at: http://www.swa.hpi.uni-potsdam.de/seaside/tutorial

Regards
Michael Perscheid


_______________________________________________
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: [ANN] New Seaside tutorial

Miguel Enrique Cobá Martínez
In reply to this post by michaelperscheid
Michael Perscheid wrote:

> Dear list,
>
> We proudly present a new Seaside tutorial (for Squeak 3.10 and Seaside 2.8).
> This tutorial was produced by the Software Architecture Group at the
> Hasso-Plattner-Institute (University of Potsdam). In ten chapters we
> describe step by step the development of a ToDo-application and thereby
> demonstrate the main parts of the sophisticated web framework Seaside.
> Since this is the first version we hope that you can help to improve the
> quality by providing feedback.
>
> Have a look at: http://www.swa.hpi.uni-potsdam.de/seaside/tutorial

Hi, excellent tutorial.

I have a problem though.
I have added the method

charSet
     ^ 'iso-8859-1'

to StSession in order to correctly display characters in spanish (á, é,
etc).

I had 4 task in my todo list but the accented characters showed as a
weird symbol with a question mark in it (�). So I added the said method.
  The text displayed correctly after that.
Then I added the 5 task and instead of my todo list all I got was a page
full of  weird question marks characters:

<���!���D���O���C���T���Y���P���E��� ���h���t���m���l���
���P���U���B���L���I���C���
���"���-���/���/���W���3���C���/���/���D���T���D���
���X���H���T���M���L��� ���1���.���0���
���S���t���r���i���c���t���/���/���E���N���"���...

Thinking this had something to do with the charSet method, I removed it.
Nothing. The same page full of weird characters.

Questions:
Has someone had a problem like this? Is there a solution?

How can I input accented characters in a form and have Seaside manage
them correctly?

Seaside generate a default charset of utf8, but my seaside session
outputs á as � unless I manually change the encoding to iso-8859-1 in
the View -> char encoding menu of firefox. Is this the intended
behavior? My debian environment is all in utf8 encoding.

Again, good job.
Regards,
Miguel Cobá


>
> Regards
> Michael Perscheid
>
>
> _______________________________________________
> 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: [ANN] New Seaside tutorial

Michael Haupt-3
In reply to this post by Conrad Taylor
Hi Conrad,

On 10/25/07, Conrad Taylor <[hidden email]> wrote:
> Hey Michael, very nice tutorial.  Is there a PDF available of the tutorial?

there will be; however, the schedule is not yet clear. Right now,
priority is on fixing errors and mistakes, and on extending the
tutorial in ways suggested on the list(s), especially with regard to
Magritte and Magma.

Best,

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

Re: [ANN] New Seaside tutorial

Philippe Marschall
In reply to this post by Miguel Enrique Cobá Martínez
2007/10/25, Miguel Enrique Cobá Martínez <[hidden email]>:

> Michael Perscheid wrote:
> > Dear list,
> >
> > We proudly present a new Seaside tutorial (for Squeak 3.10 and Seaside 2.8).
> > This tutorial was produced by the Software Architecture Group at the
> > Hasso-Plattner-Institute (University of Potsdam). In ten chapters we
> > describe step by step the development of a ToDo-application and thereby
> > demonstrate the main parts of the sophisticated web framework Seaside.
> > Since this is the first version we hope that you can help to improve the
> > quality by providing feedback.
> >
> > Have a look at: http://www.swa.hpi.uni-potsdam.de/seaside/tutorial
>
> Hi, excellent tutorial.
>
> I have a problem though.
> I have added the method
>
> charSet
>      ^ 'iso-8859-1'
>
> to StSession in order to correctly display characters in spanish (á, é,
> etc).
>
> I had 4 task in my todo list but the accented characters showed as a
> weird symbol with a question mark in it (�). So I added the said method.
>   The text displayed correctly after that.
> Then I added the 5 task and instead of my todo list all I got was a page
> full of  weird question marks characters:
>
> <���!���D���O���C���T���Y���P���E��� ���h���t���m���l���
> ���P���U���B���L���I���C���
> ���"���-���/���/���W���3���C���/���/���D���T���D���
> ���X���H���T���M���L��� ���1���.���0���
> ���S���t���r���i���c���t���/���/���E���N���"���...
>
> Thinking this had something to do with the charSet method, I removed it.
> Nothing. The same page full of weird characters.
>
> Questions:
> Has someone had a problem like this? Is there a solution?
>
> How can I input accented characters in a form and have Seaside manage
> them correctly?
>
> Seaside generate a default charset of utf8, but my seaside session
> outputs á as � unless I manually change the encoding to iso-8859-1 in
> the View -> char encoding menu of firefox. Is this the intended
> behavior? My debian environment is all in utf8 encoding.
How did you install Seaisde? With the installer or Universes? Do you
have spanish characters in the source code as well?

Cheers
Philippe

> Again, good job.
> Regards,
> Miguel Cobá
>
>
> >
> > Regards
> > Michael Perscheid
> >
> >
> > _______________________________________________
> > 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
>

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

Re: [ANN] New Seaside tutorial

Miguel Enrique Cobá Martínez


On 10/25/07, Philippe Marschall <[hidden email]> wrote:

> 2007/10/25, Miguel Enrique Cobá Martínez <[hidden email]>:
> > Michael Perscheid wrote:
> > > Dear list,
> > >
> > > We proudly present a new Seaside tutorial (for Squeak 3.10 and Seaside 2.8).
> > > This tutorial was produced by the Software Architecture Group at the
> > > Hasso-Plattner-Institute (University of Potsdam). In ten chapters we
> > > describe step by step the development of a ToDo-application and thereby
> > > demonstrate the main parts of the sophisticated web framework Seaside.
> > > Since this is the first version we hope that you can help to improve the
> > > quality by providing feedback.
> > >
> > > Have a look at: http://www.swa.hpi.uni-potsdam.de/seaside/tutorial
> >
> > Hi, excellent tutorial.
> >
> > I have a problem though.
> > I have added the method
> >
> > charSet
> >      ^ 'iso-8859-1'
> >
> > to StSession in order to correctly display characters in spanish (á, é,
> > etc).
> >
> > I had 4 task in my todo list but the accented characters showed as a
> > weird symbol with a question mark in it (�). So I added the said method.
> >   The text displayed correctly after that.
> > Then I added the 5 task and instead of my todo list all I got was a page
> > full of  weird question marks characters:
> >
> > <���!���D���O���C���T���Y���P���E��� ���h���t���m���l���
> > ���P���U���B���L���I���C���
> > ���"���-���/���/���W���3���C���/���/���D���T���D���
> > ���X���H���T���M���L��� ���1���.���0���
> > ���S���t���r���i���c���t���/���/���E���N���"���...
> >
> > Thinking this had something to do with the charSet method, I removed it.
> > Nothing. The same page full of weird characters.
> >
> > Questions:
> > Has someone had a problem like this? Is there a solution?
> >
> > How can I input accented characters in a form and have Seaside manage
> > them correctly?
> >
> > Seaside generate a default charset of utf8, but my seaside session
> > outputs á as � unless I manually change the encoding to iso-8859-1 in
> > the View -> char encoding menu of firefox. Is this the intended
> > behavior? My debian environment is all in utf8 encoding.
>
> How did you install Seaisde? With the installer or Universes? Do you
> have spanish characters in the source code as well?

Sorry for not providing that information.

I have squeak 3.9.8-2 installed using aptitude from

deb     http://ftp.squeak.org/debian/ stable main

the image from squeak is version 3.9.7067.1

Later I downloaded the squeak-web image from Damien Cassou sq3.10-7137web07.08.1.zip and that is the image I use for seaside learning.
The version of seaside in the squeak-web image is Seaside2.8a1-1r.428

This is a snipet of my code with characters in spanish:
From StLoginComponent>>renderContentOn:

renderContentOn: html
    
    html div
        class: 'generic';
        with:[
            html heading: StToDoLibrary applicationName.
            html render: self messageComponent.
            html text: 'Ingrese con su email y contraseña (no use la contraseña de su email real):'.
            html form:[
                html textInput
                    on: #email of: self;
                    value: ''.
                html space.
                html passwordInput
                    callback:[:value | self password: (MD5 hashMessage: value) asInteger asString];
                    value: ''.
                html submitButton
                    callback:[self validateLogin];
                    text: 'Login'.
                html paragraph
                    with:[    html anchor
                                callback:[self registerUser];
                                with: [html text: 'Registrarse para ', StToDoLibrary applicationName.]]]].

Where I use the character ñ (&ntilde; in html) and it is displayed, before I added the charSet message, as �.

Miguel Cobá




> Cheers
> Philippe
>
> > Again, good job.
> > Regards,
> > Miguel Cobá
> >
> >
> > >
> > > Regards
> > > Michael Perscheid
> > >
> > >
> > > _______________________________________________
> > > 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
> >
>
> _______________________________________________
> 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: [ANN] New Seaside tutorial

Monty Williams
In reply to this post by michaelperscheid
RE: [Seaside] [ANN] New Seaside tutorial

Michael,

Thanks for putting together your very needed tutorial. It will certainly help increase adoption of Seaside.

Since you're extending the tutorial, I'd be glad to send you a copy of GemStone to add to the persistence section along with Glorp and Goods. I don't expect you'd need much if anything in terms of code changes. Let me know how we can help.

At the traffic level a large number of websites have, GemStone is free, even for commercial use.

mit freundlichen Grüßen,
Monty
--
Monty Williams
Director, Business Development
GemStone Systems, Inc.
+1 503 533-3506 (office)
[hidden email]



> -----Original Message-----
> From: Michael Haupt [[hidden email]]
> Sent: Wednesday, October 24, 2007 11:26 PM
> To: Seaside - general discussion
> Subject: Re: [Seaside] [ANN] New Seaside tutorial
>
> Hi Conrad,
>
> On 10/25/07, Conrad Taylor <[hidden email]> wrote:
> > Hey Michael, very nice tutorial.  Is there a PDF available
> of the tutorial?
>
> there will be; however, the schedule is not yet clear. Right now,
> priority is on fixing errors and mistakes, and on extending the
> tutorial in ways suggested on the list(s), especially with regard to
> Magritte and Magma.
>
> Best,
>
> Michael
> _______________________________________________
> 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: [ANN] New Seaside tutorial

Philippe Marschall
In reply to this post by Miguel Enrique Cobá Martínez
2007/10/25, Miguel Cobá <[hidden email]>:

>
>
> On 10/25/07, Philippe Marschall <[hidden email]> wrote:
> > 2007/10/25, Miguel Enrique Cobá Martínez < [hidden email]>:
> > > Michael Perscheid wrote:
> > > > Dear list,
> > > >
> > > > We proudly present a new Seaside tutorial (for Squeak 3.10 and Seaside
> 2.8).
> > > > This tutorial was produced by the Software Architecture Group at the
> > > > Hasso-Plattner-Institute (University of Potsdam). In ten chapters we
> > > > describe step by step the development of a ToDo-application and
> thereby
> > > > demonstrate the main parts of the sophisticated web framework Seaside.
> > > > Since this is the first version we hope that you can help to improve
> the
> > > > quality by providing feedback.
> > > >
> > > > Have a look at:
> http://www.swa.hpi.uni-potsdam.de/seaside/tutorial
> > >
> > > Hi, excellent tutorial.
> > >
> > > I have a problem though.
> > > I have added the method
> > >
> > > charSet
> > >      ^ 'iso-8859-1'
> > >
> > > to StSession in order to correctly display characters in spanish (á, é,
> > > etc).
> > >
> > > I had 4 task in my todo list but the accented characters showed as a
> > > weird symbol with a question mark in it (�). So I added the said method.
> > >   The text displayed correctly after that.
> > > Then I added the 5 task and instead of my todo list all I got was a page
> > > full of  weird question marks characters:
> > >
> > > <���!���D���O���C���T���Y���P���E���
> ���h���t���m���l���
> > > ���P���U���B���L���I���C���
> > > ���"���-���/���/���W���3���C���/���/���D���T���D���
> > > ���X���H���T���M���L��� ���1���.���0���
> > > ���S���t���r���i���c���t���/���/���E���N���"���...
> > >
> > > Thinking this had something to do with the charSet method, I removed it.
> > > Nothing. The same page full of weird characters.
> > >
> > > Questions:
> > > Has someone had a problem like this? Is there a solution?
> > >
> > > How can I input accented characters in a form and have Seaside manage
> > > them correctly?
> > >
> > > Seaside generate a default charset of utf8, but my seaside session
> > > outputs á as � unless I manually change the encoding to iso-8859-1 in
> > > the View -> char encoding menu of firefox. Is this the intended
> > > behavior? My debian environment is all in utf8 encoding.
> >
> > How did you install Seaisde? With the installer or Universes? Do you
> > have spanish characters in the source code as well?
>
>  Sorry for not providing that information.
>
> I have squeak 3.9.8-2 installed using aptitude from
>
> deb     http://ftp.squeak.org/debian/ stable main
>
> the image from squeak is version 3.9.7067.1
>
> Later I downloaded the squeak-web image from Damien Cassou
> sq3.10-7137web07.08.1.zip and that is the image I use for seaside learning.
> The version of seaside in the squeak-web image is Seaside2.8a1-1r.428
>
> This is a snipet of my code with characters in spanish:
> From StLoginComponent>>renderContentOn:
>
> renderContentOn: html
>
>     html div
>         class: 'generic';
>         with:[
>              html heading: StToDoLibrary applicationName.
>             html render: self messageComponent.
>             html text: 'Ingrese con su email y contraseña (no use la
> contraseña de su email real):'.
>              html form:[
>                 html textInput
>                     on: #email of: self;
>                     value: ''.
>                 html space.
>                 html passwordInput
>                     callback:[:value | self password: (MD5
> hashMessage: value) asInteger asString];
>                     value: ''.
>                 html submitButton
>                     callback:[self validateLogin];
>                     text: 'Login'.
>                 html paragraph
>                     with:[    html anchor
>                                 callback:[self
> registerUser];
>                                 with: [html text:
> 'Registrarse para ', StToDoLibrary applicationName.]]]].
>
> Where I use the character ñ (&ntilde; in html) and it is displayed, before I
> added the charSet message, as �.
Try running your session as charSet 'utf-8' (the default) but use
WAKomEncoded39 instead of WAKom.

Cheers
Philippe

> Miguel Cobá
>
>
>
>
> > Cheers
> > Philippe
> >
> > > Again, good job.
> > > Regards,
> > > Miguel Cobá
> > >
> > >
> > > >
> > > > Regards
> > > > Michael Perscheid
> > > >
> > > >
> > > > _______________________________________________
> > > > 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
> > >
> >
> > _______________________________________________
>
> > 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
>
>

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

Re: [ANN] New Seaside tutorial

Kurt Schrader
In reply to this post by Monty Williams
I think that this would be a great addition to the tutorial.  
It would also be a good introduction on how to integrate the Gemstone tools and platform with our existing applications.

-Kurt

---
Kurt Schrader

On Oct 25, 2007, at 9:06 AM, Monty Williams wrote:

Michael,

Thanks for putting together your very needed tutorial. It will certainly help increase adoption of Seaside.

Since you're extending the tutorial, I'd be glad to send you a copy of GemStone to add to the persistence section along with Glorp and Goods. I don't expect you'd need much if anything in terms of code changes. Let me know how we can help.

At the traffic level a large number of websites have, GemStone is free, even for commercial use.

mit freundlichen Grüßen,
Monty
--
Monty Williams
Director, Business Development
GemStone Systems, Inc.
+1 503 533-3506 (office)
[hidden email]



> -----Original Message-----
> From: Michael Haupt [[hidden email]]
> Sent: Wednesday, October 24, 2007 11:26 PM
> To: Seaside - general discussion
> Subject: Re: [Seaside] [ANN] New Seaside tutorial
>
> Hi Conrad,
>
> On 10/25/07, Conrad Taylor <[hidden email]> wrote:
> > Hey Michael, very nice tutorial.  Is there a PDF available
> of the tutorial?
>
> there will be; however, the schedule is not yet clear. Right now,
> priority is on fixing errors and mistakes, and on extending the
> tutorial in ways suggested on the list(s), especially with regard to
> Magritte and Magma.
>
> Best,
>
> Michael
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>

_______________________________________________
seaside mailing list


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

Re: [ANN] New Seaside tutorial

Miguel Enrique Cobá Martínez
In reply to this post by Philippe Marschall
Philippe Marschall wrote:

> 2007/10/25, Miguel Cobá <[hidden email]>:
>>
>> On 10/25/07, Philippe Marschall <[hidden email]> wrote:
>>> 2007/10/25, Miguel Enrique Cobá Martínez < [hidden email]>:
>>>> Michael Perscheid wrote:
>>>>> Dear list,
>>>>>
>>>>> We proudly present a new Seaside tutorial (for Squeak 3.10 and Seaside
>> 2.8).
>>>>> This tutorial was produced by the Software Architecture Group at the
>>>>> Hasso-Plattner-Institute (University of Potsdam). In ten chapters we
>>>>> describe step by step the development of a ToDo-application and
>> thereby
>>>>> demonstrate the main parts of the sophisticated web framework Seaside.
>>>>> Since this is the first version we hope that you can help to improve
>> the
>>>>> quality by providing feedback.
>>>>>
>>>>> Have a look at:
>> http://www.swa.hpi.uni-potsdam.de/seaside/tutorial
>>>> Hi, excellent tutorial.
>>>>
>>>> I have a problem though.
>>>> I have added the method
>>>>
>>>> charSet
>>>>      ^ 'iso-8859-1'
>>>>
>>>> to StSession in order to correctly display characters in spanish (á, é,
>>>> etc).
>>>>
>>>> I had 4 task in my todo list but the accented characters showed as a
>>>> weird symbol with a question mark in it (�). So I added the said method.
>>>>   The text displayed correctly after that.
>>>> Then I added the 5 task and instead of my todo list all I got was a page
>>>> full of  weird question marks characters:
>>>>
>>>> <���!���D���O���C���T���Y���P���E���
>> ���h���t���m���l���
>>>> ���P���U���B���L���I���C���
>>>> ���"���-���/���/���W���3���C���/���/���D���T���D���
>>>> ���X���H���T���M���L��� ���1���.���0���
>>>> ���S���t���r���i���c���t���/���/���E���N���"���...
>>>>
>>>> Thinking this had something to do with the charSet method, I removed it.
>>>> Nothing. The same page full of weird characters.
>>>>
>>>> Questions:
>>>> Has someone had a problem like this? Is there a solution?
>>>>
>>>> How can I input accented characters in a form and have Seaside manage
>>>> them correctly?
>>>>
>>>> Seaside generate a default charset of utf8, but my seaside session
>>>> outputs á as � unless I manually change the encoding to iso-8859-1 in
>>>> the View -> char encoding menu of firefox. Is this the intended
>>>> behavior? My debian environment is all in utf8 encoding.
>>> How did you install Seaisde? With the installer or Universes? Do you
>>> have spanish characters in the source code as well?
>>  Sorry for not providing that information.
>>
>> I have squeak 3.9.8-2 installed using aptitude from
>>
>> deb     http://ftp.squeak.org/debian/ stable main
>>
>> the image from squeak is version 3.9.7067.1
>>
>> Later I downloaded the squeak-web image from Damien Cassou
>> sq3.10-7137web07.08.1.zip and that is the image I use for seaside learning.
>> The version of seaside in the squeak-web image is Seaside2.8a1-1r.428
>>
>> This is a snipet of my code with characters in spanish:
>> From StLoginComponent>>renderContentOn:
>>
>> renderContentOn: html
>>
>>     html div
>>         class: 'generic';
>>         with:[
>>              html heading: StToDoLibrary applicationName.
>>             html render: self messageComponent.
>>             html text: 'Ingrese con su email y contraseña (no use la
>> contraseña de su email real):'.
>>              html form:[
>>                 html textInput
>>                     on: #email of: self;
>>                     value: ''.
>>                 html space.
>>                 html passwordInput
>>                     callback:[:value | self password: (MD5
>> hashMessage: value) asInteger asString];
>>                     value: ''.
>>                 html submitButton
>>                     callback:[self validateLogin];
>>                     text: 'Login'.
>>                 html paragraph
>>                     with:[    html anchor
>>                                 callback:[self
>> registerUser];
>>                                 with: [html text:
>> 'Registrarse para ', StToDoLibrary applicationName.]]]].
>>
>> Where I use the character ñ (&ntilde; in html) and it is displayed, before I
>> added the charSet message, as �.
>
> Try running your session as charSet 'utf-8' (the default) but use
> WAKomEncoded39 instead of WAKom.

It works now. I have done, in a workspace:

WAKom stop

and then:

WAKomEncoded39 startOn: 8080

The characters are displayed ok now.

Thank you very much.
Miguel Cobá

>
> Cheers
> Philippe
>
>> Miguel Cobá
>>
>>
>>
>>
>>> Cheers
>>> Philippe
>>>
>>>> Again, good job.
>>>> Regards,
>>>> Miguel Cobá
>>>>
>>>>
>>>>> Regards
>>>>> Michael Perscheid
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>> _______________________________________________
>>> 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
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> 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