Hi all,
First of all, congratulations for weblocks. I've spent most of the
last 10 years building server-side applications in Java. Once in a
while, I read Paul Graham's essays and books, and got interested in
Lisp. I started with the most available environment to me: emacs lisp.
I like the ideas proposed by weblocks. For me, it's a major step
forward. Probably I'm pretty tired of MVC frameworks, because such
pattern is not understood as an aid to better structure your
application, but the goal itself. That's why I've seen people trying
to convince themselves afterwards what they built was MVC-like.
Sorry for the preamble. I've just started to work with weblocks. I had
some problems installing sbcl and such, but I'm confident that would
become clearer to me once I have more experience developing in Lisp in
general.
I took a look at the tutorials and all online resources I've been able
to find. My first question is: Is there any kind of javadoc-like
approach for common-lisp? I'd like to know about what each of the pre-
existing widgets do and how to use them. I installed a tool called
'atdoc' but I haven't invested time in it yet.
Besides that, I started my application using simple-blog as template.
I'm a little embarrassed to ask this, but I don't know where the list
of users and posts are stored. I mean, the following code
(defun make-users-gridedit ()
(make-instance 'gridedit
:name 'users-grid
:data-class 'user
:view 'user-table-view
:widget-prefix-fn (lambda (&rest args)
(declare (ignore args))
(with-html (:h1 "Users")))
:item-data-view 'user-data-view
:item-form-view 'user-form-view))
prints the already existing users, but I don't know where such
information is stored. My best guess is that the :data-class 'user is
tied somehow to the persistence layer, and just reads the entries in
the associated table/store. Is it also stored in hunchentoot:*session*
somewhere?
Another important question to me: Are there any built-in log
mechanism? where and how do I write and read the logs? I started my
application with :debug t and still I see no difference.
One more thing. I hope I'm not declaring myself so stupid you've just
stopped reading :). When I try to stop my application, or reset the
sessions, I get an error saying hunchentoot:*acceptor* is not bound.
I'm using the latest version of weblocks. I let it go on and seems to
work, though.
Thank you very much in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---