No, actually SSP means Squeak Server Pages. My initials are SVP. Maybe I
could make it Squeak Volatile Pages (but then people might think it was
somehow related to memory management). Actually, a more accurate
description might be "streaming methods," but I chose SSP because of it's
similarity to JSP and ASP.
Yes, you can use it for those #printOn: methods. Kind of nice for that
actually...but, I wouldn't recommend it. It is an alternate syntax, and
therefore will increase the learning curve. For #printOn: methods (unless
they are large texts), I don't think it's a good tradeoff.
Debugging SSPs was one of life's nice little surprises. By plugging into
the existing parser framework, you get full debugging support just as one
would expect. The source code gets properly highlighted in the debugger. I
wrote SSP completely expecting not to have that ability, but was pleasantly
surprised. Very nice! Yea Squeak!
One nice enhancement for SSP would be to make a way to store the precompiled
SSP methods on disk for on-demand loading. That could reduce the amount of
string literals needed in memory. Maybe some of the ImageSegment stuff
could help. Something similar to a sources file could be created for
compiled methods.
- Stephen
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Gerardo Richarte
Sent: Tuesday, May 02, 2000 6:12 PM
To: [EMAIL PROTECTED]
Subject: Re: [pws] SSP (was: Webserver testing suite with docs)
Stephen Pair wrote:
(SSP is for you name?) (-: I just realized it!
See http://ssp-squeak.swiki.net for the code. Also, we've made a few more
enhancements that we using internally that I haven't had a chance to post
yet.
Thanks! Y knew the theory.. but now I understood it
So in theory SSP can be used for more that HTML, for example
for #printOn: messages...
What about debugging SSPs? how does the debugger handle them?
I'll go for my squeak latter, and better test it myself.
Streamed Bye!
Richie++
--
A390 1BBA 2C58 D679 5A71 - 86F9 404F 4B53 3944 C2D0
Investigacion y Desarrollo - CoreLabs - Core SDI
http://www.core-sdi.com