Re: Moving forward with Serialization.

2012-09-06 Thread Tom Christie
Thanks Piotr, > But when serializing also Field is saved with data so it's not so clean. I'm not sure whether it's an issue or not. As with Django's form fields, the fields are copied off of base_fields, so saving state isn't necessarily a problem. I'd agree that it's possibly not the cleanes

Re: Moving forward with Serialization.

2012-09-01 Thread Piotr Grabowski
W dniu 31.08.2012 10:25, Tom Christie pisze: > I personally think that Forms are already the place that should handle (de)serialisation. They already serialise to HTML: why should they not be able to serialise to other stream types? Conceptually I agree. As it happens django-serializers is pe

Re: Moving forward with Serialization.

2012-08-31 Thread Tom Christie
> Do you know Colander? I do now. Thanks, that's very similar, and looks well done. > I personally think that Forms are already the place that should handle (de)serialisation. They already serialise to HTML: why should they not be able to serialise to other stream types? Conceptually I agree.

Re: Moving forward with Serialization.

2012-08-28 Thread schinckel
Not sure that I phrased the last bit right: I think my repose framework is a step in the right direction, but even so I think it probably doesn't do things the right way. Matt. On Wednesday, August 29, 2012 2:57:35 PM UTC+9:30, schinckel wrote: > > Hi Tom, > > I've knocked around ideas of my o

Re: Moving forward with Serialization.

2012-08-28 Thread schinckel
Hi Tom, I've knocked around ideas of my own (internally, and on #django) related to serialisation: it's something I've had lots to think about, since until recently, most of my django work was in JSON apis. I personally think that Forms are already the place that should handle (de)serialisatio

Re: Moving forward with Serialization.

2012-08-28 Thread Dirley
Do you know Colander? https://github.com/Pylons/colander - D 2012/8/28 Tom Christie > Hi all, > > During Piotr's GSOC addressing customizable serialization I've been > continued to work on my own implementation. > I've now got what feels to me to be a natural conclusion of the design, > whi

Moving forward with Serialization.

2012-08-28 Thread Tom Christie
Hi all, During Piotr's GSOC addressing customizable serialization I've been continued to work on my own implementation. I've now got what feels to me to be a natural conclusion of the design, which is the 'forms' branch of the 'django-serializers'