Hi Frederico,
in order to get an impression how the web stuff works, have a look at the projects/ directory in the subversion repository (http://bknr.net/trac/browser/trunk/projects/quickhoney). Unfortunately, many of the projects have regressed.
The quickhoney project works off the current trunk version. If you want to give it a try, load the :quickhoney system and evaluate (quickhoney::startup). To make your life easier, please check out the complete trunk from subversion and add all thirdparty/ directories to your asdf:*central-registry* (see src/make-core.lisp for a function that does that automatically).
The "bos" project is another customer project that I maintain, but it is deployed off a branch and I don't know if it works off the trunk. It is the project that I put most work into, so you may want to look at it to get some idea how the web environment is used.
There is a "hello-web" project that is meant to be a template for new projects, but I have not maintained it in a while and it does not currently work.
One thing that I regret having done is that I used to import framework packages into my application. This makes it much harder to study source code, as the symbols do not immediately reflect the package that they're coming from. I've moved away from that practice a few years ago, but in the projects directory, you'll have to learn which of the symbols are actually from the framework packages.
Cheers, Hans
On Wed, Jun 2, 2010 at 19:10, Frederico Muñoz fsmunoz@gmail.com wrote:
Hello,
While working on the XML impex component I had a look around the web part of BKNR (which is the least documented). What would be the best project to use as a starting point? One would think that hello-web would be it, however I have been unable to to past hunchentoot internal errors, perhaps because the code doesn't reflect the current API. The same things happens with quickhoney, which is a bit stranger since I think that this one is more recent.
Any advice welcome. As my previous message regarding XML impex I'm not looking for hand-holding or fixes (which is why I don't even post any concrete errors), merely a general pointer to where to start: this and that is a bit old, you would liekly be more lucky with that other one (or even forget about it, at this stage it would not be trivial to give any sort of indication).
PS: My motivation is only that since I like the datastore component (with the indices, and now the XML impex) it would not be surprising if the rest is also something that I could use. However one can always use the datastore with other frameworks (e.g. weblocks, which seems to have some traction from what I've read, and uses cl-prevalence and Elephant as typical datastores - adding an example for the bknr datastore would be trivial).
bknr-devel mailing list bknr-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/bknr-devel