[Twisted-web] CorePost 0.0.7 - all about content types

Jacek Furmankiewicz jacek99 at gmail.com
Fri Sep 30 09:18:53 EDT 2011

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
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....


On Fri, Sep 30, 2011 at 9:08 AM, Jacek Furmankiewicz <jacek99 at gmail.com>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 <glyph at twistedmatrix.com
> > 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
>> Twisted-web at twistedmatrix.com
>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20110930/894f172d/attachment.htm 

More information about the Twisted-web mailing list