: ) wonderful world ( :

basic ucw

Posted in lisp by grault on November 24th, 2007

As I’ve already been to hunchentoot land, and that kind of web programming isn’t that easy, I decided to travel to the kingdom of ucw. I managed to start the server by just loading start.lisp file. Afterwards I felt the need to connect to its slime server as it is shown by the introductory hello-world.mov movie. The case is, that video is out of date and start.lisp (the easy way to become able to benefit from this all) doesn’t start slime for you. One has to call explicitly ucw:start-swank in the REPL remaining after start.lisp. This required hard work, I had to perform several greps to find out who and when calls swank:create-server. Finally every piece of information started serving me later on this tutorial movie. Oh, there’s a second good to know thingy here, render-on doesn’t exist any more, use render instead.

Some kind of high level overview of ucw’s terms as far as I understood. Components are entities encapsulating all the pieces you want to use from the point of view of a web page. One has to defmethod render methods, which are projections of components to the space of HTML (note definition of projection here). Actions can modify components and redirect the flow to them. (AFAIK)

2 Responses to 'basic ucw'

Subscribe to comments with RSS or TrackBack to 'basic ucw'.

  1. Vagif Verdi said, on November 30th, 2007 at November 30, 2007 - 12:43 am

    Try Weblocks http://common-lisp.net/project/cl-weblocks/
    It is a component web framework on hunchentoot, similar to ucw.

  2. grault said, on December 1st, 2007 at December 1, 2007 - 2:42 am

    I’ll give it a try… Thx.

Leave a Reply