Code layout and request/response/rePOST handling

2 views
Skip to first unread message

Lorenzo Bolognini

unread,
Nov 1, 2005, 10:40:22 PM11/1/05
to cherryp...@googlegroups.com
Hi all,

as I started using CherryPy lately for some non-hello-world stuff I had
to come up with some sort of code layout (by that I mean a way to handle
request/responses/rePOSTing as well as directory structure --mine is
kinda railish). Along with this post you'll find a .zip file where I
basically sketched my way of doing things in CherryPy. It's a full
working demo (assuming you'll have Cheetah installed) of an (insecure!)
login screen.

I'm posting this here for two reasons:
- since I'd love to receive critics about it and see how you guys handle
things
- to show newbies (like myself) a way (that I personally like) to glue
things together so that they have to figure out less stuff when they get
started

And, yeah, I know there's FormEncode but I haven't got my head around it
yet ;-)

Thanks in advance,
Lorenzo


demo.zip
Reply all
Reply to author
Forward
0 new messages