[Lispweb] Webactions with CL-SQL?

Friedrich Dominicus frido at q-software-solutions.de
Thu Aug 25 02:16:08 CDT 2005


Kevin Rosenberg <kevin at rosenberg.net> writes:

> Friedrich Dominicus wrote:
>> I'm wondering if anyone has used Webactions together with CL-SQL. 
>
> 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 ,-)
>
>> You can take my question a bit more general if you like. How to use
>> objects together with webactions? Is there a way to hand objects from
>> one "component" to another? 
>
> Typically, objects are just passed with subroutine calls. The UMLisp
> site preserves a fair number of objects between HTTP requests. They
> are kept in a cahce with expiration and are referred to by an ID
> number.
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:

(webaction-project "simpleproject"
		   :destination "site/"
		   :index "home"
		   :map
		   '(("home"   "pageone.clp")
		     ("second" "pagetwo.clp")))

As I understand this is one projects. Then I looked through the
examples but did not see that the handle objects between the diverse
requests therefor I was wondering how one did it. I was thinking
around this lines.


(let ((obj1 obj2 obj3)....
  (webaction....

)

So thinking about using closure around one web project. But I'm not sure
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..

Regards
Friedrich



More information about the lispweb mailing list