C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

C++ serialization libraries & related problems

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated)
View previous topic :: View next topic  
Author Message
Florian Preknya
Guest





PostPosted: Fri Nov 19, 2004 4:57 pm    Post subject: C++ serialization libraries & related problems Reply with quote



I am looking a C++ serialization library for adding serialization
support for the application framework I am developing. The framework is
somehow based on the MVC pattern, and the serialization support must
cover all the entities: models, views, and permit custom, user defined
objects to become persistent.
I found some very nice serialization projects:
- boost 1.32.0 comes with a serialization library
- GenSerial (on SourceForge, presented in CUJ, september 2004)
- s11n.net
- XParam
etc.
I had to choose one of these serialization libraries, and I'm now
comparing them. I'll appreciate if you could share any experience with
any of the open source serialization libraries. Any comments,
suggestions or observations would be appreciated.

As an extra, my application framework code is based heavily on
templates, and type safety was a goal of the framework. I am aware that
on deserialization, one problem is related to codebase completion: all
the types must exist, so I must force some template instantiations. Some
of the serialization libraries presented above give some help in this
sense. A second problem is related on reconstructing the type
information of the deserialized objects: the views knows about their
specific model, so I have to rely on a scalable double dispatch method
to recover the model and view types before attaching the views to their
model. I found interesting (and maybe useful) the last chapter of A.
Alexandrescu book (Modern C++ Design) that discuss about multimethods.
Also, any ideas about these things are very welcomed.

Thanks,
Florian Preknya


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.