kshchepanovskyi / protostuff-googlecode-exported

Automatically exported from code.google.com/p/protostuff
Apache License 2.0
0 stars 1 forks source link

Protostuff for JodaTime #130

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi!

I enjoy very much Protobuff, and Protostuff make it easy.
But I don't understand why Protobuff doesn't support DateTime, so every 
application are using different date serialization (it was also this kind of 
mess with Corba..)

I started a "Protostuff Schema" to serialize JodaDate:
https://github.com/grozeille/jodatime-protostuff

Advantages: 
- you don't car about how it is serialized, let's this schema do it for you.
- if every body are using the same schema, it's a good point for 
interoperability

You can see that I did a specific implementation, to be compatible with .Net: 
http://code.google.com/p/protobuf-net/
My main point was "Interoperability", even if there's a better way to serialize 
the date, this way is compatible with Java and .Net

I don't know how to put it on maven central, and I think it's a better idea to 
give it to the Protostuff community.
What do you think about that?

I also did a Spring Rest Converter for Protobuff format using Protostuff, but 
unfortunately I did it in my office, so it's "closed source".
I did it for both "java spring rest" server, and "spring.net rest client API".
Do you think that I can do it again and give it to Protostuff community?
The .Net part was already re-implemented by a friend working for Spring.Net: 
https://github.com/bbaia/Spring.Http.Converters.Protobuf-net

Regards

(By the way, if you migrate to Github, all that stuff could be in a module 
called "protostuff-contrib" or something..)

Original issue reported on code.google.com by mathias....@gmail.com on 8 Aug 2012 at 6:22

GoogleCodeExporter commented 9 years ago
I came across this last year.  Good job on making it work on both sides.
protostuff-contrib module seems like a good idea (whether its in github or 
googlecode).

If in googlecode, I could just simply give people write access if they are 
willing to maintain their contribs.

Original comment by david.yu...@gmail.com on 8 Aug 2012 at 3:08