I don’t have an opinion for now but do have some thoughts instead. We use Pecan in Ironic. I could say that it’s pretty nice when one needs to make something simple but requires some manual job to be done in more or less sophisticated cases. On the other hand we have that the Pecan team is quire agile and open to other developers so we were able to merge our patches without any problems.
However, if there is a framework that fits Nailgun's needs without being patched, that may be easier for us to just use it. There’s a political side of the question as well but I’d rather touch it only if both Flask and Pecan have the same pros and cons. - romcheg > On 03 Dec 2014, at 14:22, Przemyslaw Kaminski <[email protected]> wrote: > > Yeah, didn't notice that. Honestly, I'd prefer both to be accessible as > instance attributes just like in [1] but it's more of taste I guess. > > [1] > http://tornado.readthedocs.org/en/latest/web.html#tornado.web.RequestHandler.request > > <http://tornado.readthedocs.org/en/latest/web.html#tornado.web.RequestHandler.request> > > P. > > On 12/03/2014 02:03 PM, Sebastian Kalinowski wrote: >> >> 2014-12-03 13:47 GMT+01:00 Igor Kalnitsky <[email protected] >> <mailto:[email protected]>>: >> > I don't like that Flask uses a global request object [3]. >> >> Przemyslaw, actually Pecan does use global objects too. BTW, what's >> wrong with global objects? They are thread-safe in both Pecan and >> Flask. >> >> To be fair, Pecan could also pass request and response explicit to method [1] >> >> [1] http://pecan.readthedocs.org/en/latest/contextlocals.html >> <http://pecan.readthedocs.org/en/latest/contextlocals.html> >> >> >> _______________________________________________ >> OpenStack-dev mailing list >> [email protected] <mailto:[email protected]> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev> > > _______________________________________________ > OpenStack-dev mailing list > [email protected] > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
