On Mon, Feb 17, 2014 at 10:59 PM, David Given <d...@cowlark.com> wrote:

> This sounds very much as if what you're actually looking for is a web
> servlet engine with libfossil bindings, rather than anything that's
> actually specific to Fossil.
>

Almost, except that i have no grand delusions about it being used for
everything. It's primarily:

a) a testing ground for the lib. Can it provide users the data they need
easily? Scriptability of a library is sort of a benchmark for me on its
usability/flexibility.

b) proof of concept. Until someone can actually "touch" libfossil, nobody
but me is going to be using it!

c) it's just fun to tinker with the script bindings.

i'm not looking to provide a universal solution to all WWW UI needs, just a
demo/proof-of-concept.

In which case I'd strongly urge that the best option here is to pick a
> third party servlet engine based on its own criteria rather than
> inventing yet another one --- they're harder than they look and there
> are too many as it is! (Particularly if you want something
> session-based; sessions are surprisingly hard to get right.)
>

Can you recommend one in C? i'm self-imposed bound to C here. i "might" be
convinced to write it in C++.

i actually have sessions support implemented in C already[1], but it's not
used here because i really don't want to have sessions in the db. Once
libfossil gets fossil authentication support, i wouldn't mind storing
non-anonymous/guest-user sessions (as a JSON object) in the repo, because
that number is bounded (manx = one per registered user). That's a ways down
the road, but it's not far out of reach (just not high on the priority
list).

A new demo, just uploaded :

http://fossil.wanderinghorse.net/repos/libfossil/cgidemo/index.cgi/manifest?version=1
http://fossil.wanderinghorse.net/repos/libfossil/cgidemo/index.cgi/manifest?version=trunk&baseline=1
http://fossil.wanderinghorse.net/repos/libfossil/cgidemo/index.cgi/manifest?showSrc=1


Good night!

[1] = http://fossil.wanderinghorse.net/wikis/cson/?page=cson_session

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to