Sorry for the stupid question, but what would the Controller code look
like for option #1? for CRUD

1) http://yoursite/articles/10/edit
2) http://yoursite/articles/edit/10
3) http://yoursite/articles/edit?id=10


1) http://yoursite/articles/10/edit
2) http://yoursite/articles/10/delete
3) http://yoursite/articles/10/create

The main reason that I am liking 2, then 3 is that I can see how
cherrypy easily maps the urls to functions edit, delete and create.


I am having a mind blank here, how would you code #1 without using
if clauses and one function?

Sorry for my confusion,
Mike

Reply via email to