newbie question ...

7 messages Options
Embed this post
Permalink
johBrauer

newbie question ...

Reply Threaded More More options
Print post
Permalink
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
Randal L. Schwartz

Re: newbie question ...

Reply Threaded More More options
Print post
Permalink
>>>>> "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
Lukas Renggli

Re: newbie question ...

Reply Threaded More More options
Print post
Permalink
In reply to this post by johBrauer
#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
johBrauer

Slime for VisualWorks

Reply Threaded More More options
Print post
Permalink
In reply to this post by johBrauer
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
Michael Lucas-Smith-3

Re: Slime for VisualWorks

Reply Threaded More More options
Print post
Permalink
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
Victor-67

Re: Re: Slime for VisualWorks

Reply Threaded More More options
Print post
Permalink
In reply to this post by johBrauer
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
Stan Shepherd

Re: Re: Slime for VisualWorks

Reply Threaded More More options
Print post
Permalink
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