[Lispweb] Webactions with CL-SQL?
Kevin Rosenberg
kevin at rosenberg.net
Thu Aug 25 05:06:24 CDT 2005
Friedrich Dominicus wrote:
> > Yes, http://meme.b9.com and http://umlisp.b9.com are based on CLSQL
> > and Webactions.
> I downloaded the later and hope to learn something useful ,-)
Sorry, the umlisp source code only has the SQL schema and API for the
UMLS, but not the code that drives the umlisp.b9.com web site.
> so you keep a separate hash-table which the objects? The assiciation
> is done with the session-id? I ask because in webactions they wrote:
Yes.
> (let ((obj1 obj2 obj3)....
> (webaction....
No, not really
> So thinking about using closure around one web project. But I'm not
Rather than a closure, it's typical to store objects in the session
object as Petter showed. In the case of the umlisp web site, the hash
table of object values keyed by object id is stored in the websession
object using the websession-variable accessor. The websession object
stores data for a session, so can you do stuff like stuff things like
the username, login time, shopping cart contents into that object.
> how bad this really is. I have tried to get my application going with
> UCW for more than 4 weeks now and I simply do not get it. Webactions
> seems to be much easier to understand and apply. I feel if you are not
> comfortable with something like UCW after 4 weeks work, then it can't
> be just my "lack" of understanding..
I haven't used UCW, so I can't effectively compare the two web
platforms.
--
Kevin Rosenberg
kevin at rosenberg.net
More information about the lispweb
mailing list