4 ms·
This does almost everything (and sending it to another class is pretty trivial): http://flask.pocoo.org/docs/0.10/quickstart/ http://flask.pocoo.org/docs/0.10/q
by raverbashing 12y ago
This does almost everything (and sending it to another class is pretty trivial): http://flask.pocoo.org/docs/0.10/quickstart/ http://flask.pocoo.org/docs/0.10/quickstart/
- AndrewDucker 12y agoYup. And by the time you've done all of that, it's not vastly smaller than the code in the original example. (Also, your setup is spread across every class registering itself, rather than in one central XML file that tells you all of your routing.)
- raverbashing 12y agoNo, it's usually done in a separate file containing all the routing (in most Python frameworks) And no unreadable and overcomplicated XML for configuration, thank you very much