I like the idea of these filters, and I can definitely see how they 
could be useful. Having only looked at your examples and the doc you 
provided, though, I do have a couple of questions/suggestions.

One, according to the documentation, you set up filters in 
Application.config. Would it be possible to use them in a per-servlet 
way? In other words, instead of setting the filters per instance in the 
config file, could I define a filter chain in the __init__ or awake() of 
an application's base class (some SitePage)?

Two, although I'm sure I could figure it out by actually using the 
filters, you documentation does not quite tie all of the pieces together 
for me. For example, the first thing I though of when reading "The Code" 
section is "Where does the import go?" Where do I import the 
AuthorizerFilter that you set up in the config? I'd like to see a 
complete (but simple) example. I know that the docs are only 
preliminary, but that's my $.02USD.

All-in-all, though, good job. It looks like a really handy tool to have.

--John
>
>
>  2) Attached is the start of a tutorial/how-to style doc on using filters
>
> I'm attaching it in rough form to a) give a teaser for folks on this 
> list who want to try filters out, and b) get feedback on whether or 
> not this is a useful kind of doc.  I'll keep working on this one, but 
> if people are feeling like it's too simple, or would work better as 
> part of a general Webware tutorial, let me know.
>
> -Dan

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to