Re: createing a transparent interface for serialization?

Also there are a lot of orm frameworks for dotnet part and I think even for C++

Simply search for orm+framework+c++
on google and you will end up with some results.

----- Original Message ----- From: "Tyler Littlefield" <tyler@xxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Friday, October 08, 2010 6:05 AM
Subject: Re: createing a transparent interface for serialization?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
- From what I can tell: hybe seems to be a library for Java; is there
something similar for c++?

On 10/6/2010 9:31 AM, Sina Bahram wrote:
Have you examined ORM solutions? Hibernate is very popular, for example.

Take care,
Sina


-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Tyler Littlefield
Sent: Wednesday, October 06, 2010 11:20 AM
To: programmingblind@xxxxxxxxxxxxx
Subject: createing a transparent interface for serialization?

Hello all,
I want to set up serialization of objects in my mud engine a bit differently than it currently is. Right now, Ijust write all the values to a file in binary form, then read them back in in the same order, but Iwant the user to be able to choose xml, binary, or any other sort of backend they want for serialization. So, Ihave a question. how should this be done? the idea would be for each object to call a function, without having to know what it
is storing.
I've thought my player file will look like this:
<player>
<name>ty</name>
<password>asdfghjklasdfghjkl</password>
</player>
so Isuppose Ican just do a key-value sort of setup where Isend the name and the value, and binary can ignore the name while XML does
not?
That being said though, I still need to set it up a bit differently from that, so any help is appriciated with suggestions and
ideas.

__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind




- -- Thanks,
Tyler Littlefield
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMrop4AAoJELDPyrppriJP2gQH/RNsNVfMTER4zDgIBtl/wNxE
LTh5SMxp7V2BvW+UBdJZKOpfpj9ImV+FgQWcbMso8V3k9S3qXziuc9kiBU6+vU86
94BO1jojl534EHHBSy1vblqHXSRaC5zpKRyiKZaPnEAwG7a2kHxwfgE+mPnbrXAR
q8Twxw4W3ZJx35DMzxPZ4A0rLFwO4hrnQaeRC+INlpqrgvkXu/vo5T9uvLnLdKW7
OA4v9yCVhmJp/rH+NRwXWjBZGSb5eAJiM8yXVhYLWviQBc1KogDP5UyP2xlgjGaw
QScJNjFVJ3XKK5/Y0Kk+OKVH77I8EzlsoAv2TuZqZKK7MIjLcCdWMFAK6ngBacg=
=9fMq
-----END PGP SIGNATURE-----
__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at http://www.freelists.org/list/programmingblind

Other related posts: