And once I reach 0.1 with all of these features, I will post some blog entries about this together with PyPy benchmarks...so that people don't think Javascript / Node.js is your only option when it comes to async I/O web frameworks :-)
BTW, is there any progress on getting Twisted to install under PyPy in the near future? I know you guys have been looking into it.... Thanks! Jacek On Fri, Sep 30, 2011 at 9:08 AM, Jacek Furmankiewicz <[email protected]>wrote: > Depends. pyaml is very forgiving in terms of what you feed to it, but > json.dumps() only really seems to > accept list/dict without complaining. > > I will keep refining this. One shortcoming is that it does not serialize > Python classes (json.dumps() says they're not JSON serializable). > I will probably need to write a custom marshaller that uses a class's > __dict__ to convert it to a dict (including traversing the whole > object graph). > > XML does not work either yet, could not find a library that does > dict/list/class conversion to XML. Will need to write one myself too. > But all the underlying plumbing in terms of content routing is there. > > Once I am done with all of this I will have a serious look at AMPoule to > get that out-of-the-box multi-core support. > > So the next release 0.0.8 should finish all the content type stuff and then > for 0.0.9 should start looking at AMPoule. > > Jacek > > On Thu, Sep 29, 2011 at 11:22 PM, Glyph Lefkowitz <[email protected] > > wrote: > >> >> On Sep 29, 2011, at 5:49 PM, Jacek Furmankiewicz wrote: >> >> CorePost 0.0.7, the REST microframework built on top of twisted.web is >> out. >> >> >> Congrats on another quick release, Jacek! >> >> It seems like your first example doesn't really need the 'dumps' calls - >> your other features will automatically serialize those objects, right? >> >> I love the automatic MIME-type negotiation on output. Very cool. >> >> -glyph >> >> _______________________________________________ >> Twisted-web mailing list >> [email protected] >> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web >> >> >
_______________________________________________ Twisted-web mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
