Lunar-Gang
04-18-2010, 08:22 PM
Hello Programmers !
Everybody knows how to save data to disk. Text/bin data can be saved from programs outputs to file streams or databases. Even webpages can use scripts like Javascript or VBscript to save data to your local machine. No matter what programming languages is used it can be done.
You can even dump arrays to files. but what about objects ? An object is an instance derived from a class, with a specific properties and methods. In my entire programming life I've never encountered a situation in wich you can save this instance to disk and retrieve it from disk !
Any body has an article or some resource of how to save objects to files ?
Everybody knows how to save data to disk. Text/bin data can be saved from programs outputs to file streams or databases. Even webpages can use scripts like Javascript or VBscript to save data to your local machine. No matter what programming languages is used it can be done.
You can even dump arrays to files. but what about objects ? An object is an instance derived from a class, with a specific properties and methods. In my entire programming life I've never encountered a situation in wich you can save this instance to disk and retrieve it from disk !
Any body has an article or some resource of how to save objects to files ?
