newbie question ...

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

newbie question ...

jb
Hi,

can somebody explain me the difference between

html text: 'a text'

and

html render: 'a text'

Gruß
Joh.



Staatlich anerkannte private Fachhochschule
NORDAKADEMIE
Gemeinnützige Aktiengesellschaft
Köllner Chaussee 11
25337 Elmshorn

Vorstand:
Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand)

Vorsitzender des Aufsichtsrats:
Dr. h.c. Hans-Heinrich Bruns

Sitz:
Elmshorn, Amtsgericht Elmshorn, HRB 1682

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

Re: newbie question ...

Randal L. Schwartz
>>>>> "Johannes" == Johannes Brauer <[hidden email]> writes:

Johannes> Hi,
Johannes> can somebody explain me the difference between

Johannes> html text: 'a text'

Johannes> and

Johannes> html render: 'a text'

The latter takes a lot more steps:

  html render: 'a text'

sends:

  'a text' renderOn: html

which is found in String, and then sends:

  html text: 'a text'

:-)

So, if you don't mind going slower, you can take the long route if you want.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[hidden email]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: newbie question ...

Lukas Renggli
In reply to this post by jb
#render: is the default and does a double-dispatch through #renderOn:
of the argument. It should be preferred in almost all situations.

#text: converts the argument to a string, it is rarely used.

Cheers,
Lukas

On Sunday, September 6, 2009, Dr. Johannes Brauer
<[hidden email]> wrote:

> Hi,
>
> can somebody explain me the difference between
>
> html text: 'a text'
>
> and
>
> html render: 'a text'
>
> Gruß
> Joh.
>
>
>
> Staatlich anerkannte private Fachhochschule
> NORDAKADEMIE
> Gemeinnützige Aktiengesellschaft
> Köllner Chaussee 11
> 25337 Elmshorn
>
> Vorstand:
> Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand)
>
> Vorsitzender des Aufsichtsrats:
> Dr. h.c. Hans-Heinrich Bruns
>
> Sitz:
> Elmshorn, Amtsgericht Elmshorn, HRB 1682
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>

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

Slime for VisualWorks

jb
In reply to this post by jb
Hi,

is there a Slime package for VisualWorks anywhere?

Johannes


Staatlich anerkannte private Fachhochschule
NORDAKADEMIE
Gemeinnützige Aktiengesellschaft
Köllner Chaussee 11
25337 Elmshorn

Vorstand:
Prof. Dr. Georg Plate (Vorsitzender), Dipl.-Ing. Jörg Meier (stellv. Vorstand)

Vorsitzender des Aufsichtsrats:
Dr. h.c. Hans-Heinrich Bruns

Sitz:
Elmshorn, Amtsgericht Elmshorn, HRB 1682

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

Re: Slime for VisualWorks

Michael Lucas-Smith-3
Dr. Johannes Brauer wrote:
> Hi,
>
> is there a Slime package for VisualWorks anywhere?
Nope. I pondered porting it a few months ago, but it has a few prereqs
that seemed like it'd take a bit more effort than it was worth.
It'd be cool if someone ported it.

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

Re: Re: Slime for VisualWorks

Victor-67
In reply to this post by jb
Can somebody describe what Slime is, what it does for you?

Thanks,
Victor

=====================================


Oct 17, 2009 06:12:28 PM, [hidden email] wrote:

===========================================

Dr. Johannes Brauer wrote:
> Hi,
>
> is there a Slime package for VisualWorks anywhere?
Nope. I pondered porting it a few months ago, but it has a few prereqs
that seemed like it'd take a bit more effort than it was worth.
It'd be cool if someone ported it.

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: Re: Slime for VisualWorks

Stan Shepherd
Victor, Slime is a really handy tool for checking your Seaside code. It works with SmallLint, which does the same for code generally.

See http://www.lukas-renggli.ch/blog/slime

...Stan

Victor-67 wrote
Can somebody describe what Slime is, what it does for you?

Thanks,
Victor

=====================================


Oct 17, 2009 06:12:28 PM, seaside@lists.squeakfoundation.org wrote:

===========================================

Dr. Johannes Brauer wrote:
> Hi,
>
> is there a Slime package for VisualWorks anywhere?
Nope. I pondered porting it a few months ago, but it has a few prereqs
that seemed like it'd take a bit more effort than it was worth.
It'd be cool if someone ported it.

Michael
_______________________________________________
seaside mailing list
seaside@lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
seaside mailing list
seaside@lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside