> While obviously Wt is not appropriate for just any web application, I
> am always interested in things you feel are lacking (and would fit)...
> The one thing I think is lacking (and when using JWt, we sometimes
> complement the web application with one or two simple servlets), is to
> be able to simply configure a "resource" at a particular URL, with or
> without requiring a session to access it. Is that what you are looking
> for ?

I'm not entirely sure about what you mean by resource, but what I want 
is complete control over request types and their handling. Wt tends to 
use POST requests and other tricks that are unsuitable for implementing 
a website or a CMS with some dynamic content. This means sessionless 
connections (even though sessions are required once the user logs in), 
using mostly GET request to access content and moving to new URL 
(causing a reload) to provide proper linkability and history (Wt's 
implementation of this doesn't work that well, even though I can see 
that it's about the best that can be done while still avoiding reloads).

Just to be clear, linking a static file to some suburl is not what I am 
after. Linking dynamic content to any URL (including the root) and 
avoiding the Wt sessions and DOM for those pages and the users accessing 
them is more like it.

It is hard to say how well this kind of low level CGI could be 
integrated with Wt. The best way that I can see is having access to the 
CGI library used under Wt and being able to call Wt's high level 
routines (e.g. session creation) only when necessary.

> When looking around for a library to use in Wt, I did not find
> anything, and so I ported a perl implementation. I did consider using
> cgicc, but at the time it was GPL. In the meantime, it has changed to
> LGPL.

While GPL is not an issue for me (pretty much on the contrary), I can 
imagine what kind of CGI libraries were available at that time, if there 
don't seem to be good ones even today.

However, the Boost.CGI library (that is not actually a Boost library) 
suggested and developed by Darren Garvey seems to fit my needs.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to