Anand, thanks for keeping webpy on the move!

> - We haven't got the form API is right. I've always extended form class,
> overwritten some important methods, etc, whenever I've tried to use it. This
> needs to be improved.

The form API's greatest shortcoming is, in my opinion, that it generates awful
looking forms. :) I wonder if it in general has uses outside of rapid
prototyping, because in other cases users would make their own forms.

I suggest splitting the creation and evaluation of forms into parts that could
easily be used independently. For example by making my own form in a template,
but having it checked by the form module. If evaluating forms would follow the
HTML5 form specifications, it would be really useful to support the
functionality in browsers that cannot do it natively. (And anyway you have to
evaluate the submitted forms on the server.) -- Maybe just by giving the form
elements in HTML some special names, with a _ in front or some other 
"namespace".

> - Sessions. This another part of web.py that I'm not happy about. May be this
>  should have been an extension instead of core part of web.py. I'm not really
> sure what to do about this.

Sessions should transparently work in debug mode and have the option to set
expiration dates in the browser. Apart from these points, as a user I am very
happy with them.

I wonder if making them into a separate module and how far that would go, but I
think sessions are a core functionality of serverside web frameworks. Things
that can be done without sessions usually can be done completely on the client 
:)

> Please let me know your thoughts about this.
> 
> If there are any parts of web.py that you think need to be improved, or an API
> is not right, please let me know. 

I haven't been able to send UTF8 encoded emails with webpy. That would be great,
just to call the method and not having to care about the encoding.


Again, thanks and best greetings,
Dragan

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to webpy+unsubscr...@googlegroups.com.
To post to this group, send email to webpy@googlegroups.com.
Visit this group at http://groups.google.com/group/webpy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to