> So I would like to ask if someone could give a pointer to some more PSP
> example code or even documentation. In particular I would like to receive
> examples on
> * how to use sessions with PSP,
> * how to save and retrieve data from that session object in PSP
> * any code using "custom" "Can"s with PSP
PSP is automatically coverted into servlets via a fairly
straightforward inversion process; normal text in the PSP file gets
turned into res.write() calls, and stuff in <% %> turns directly into
code. I recommend going to a few example PSP pages (there should be
some linked from the Examples context) and looking in
Webware/WebKit/Cache/PSP to familiarize yourself with the
transformation. Once you understand that, you just need information
on using sessions and Cans in servlets; see CountVisits and SecurePage
in Webware/WebKit/Examples for sessions. I don't know where to look
for Can examples.
> I have looked over WebWare every when and then in the past few weeks, loosel
> planning to use it on a web site of the slightly more complex type. Trying t
> create some more or less simple examples I promptly ran into problems.
> as well as advice on whether custom Can objects would be a "proper" way to
> store and retrieve data used in a session from a MySQL database or if there
> are methods that are more tailored to use for that purpose.
I think you should check out MiddleKit, which I confess I don't know
much about right now.
> with kind regards,
> Webware-discuss mailing list