Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Best way to store object in db

by tmharish (Friar)
on Mar 06, 2013 at 17:22 UTC ( #1022046=note: print w/replies, xml ) Need Help??


in reply to Best way to store object in db

Will not apply directly to your problem but Storable might be of interest.

Update:
Considering the hype around NoSQL unless you have specific need for a relational storage structure you might want to look at file storage.

Replies are listed 'Best First'.
Re^2: Best way to store object in db
by bessarabov (Acolyte) on Mar 06, 2013 at 18:19 UTC

    Thank you! I was thinking about Storable, but It does not suit me. I don't want to store the whole object, but only the parts that are necessary for its recreation. I also want to store version number in the serialized object to make it possible to change the internal format with backward compatibility.

    For now I have the task to store the MySQL, but I want to write the module so it serializes to some text that can be stored anywhere.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1022046]
help
Chatterbox?
[LanX]: met a guy from Aberdeen durin holidays, liked Scotsish accent a lot ... very phonetic
[LanX]: ... understood everything after mentally write down what he said.
[choroba]: Trainspotting?
[choroba]: Ouch, trailing commas in JSON :-(
[LanX]: ... though there seems to exist a taxation for the letter 't' in Northern Bri''ain ;-)
[LanX]: never seen trainspotting in OV ... :(
[karlgoethebier]: LanX

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2018-02-19 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (261 votes). Check out past polls.

    Notices?