Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » File locking and Serialization
Re: File locking and Serialization [message #36240 is a reply to message #36237] Wed, 16 May 2012 09:33 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3362
Registered: August 2008
Senior Veteran
Hello Nixnixnix

AFAIK U++ serialization classes only touch the files when you call the Load... (for reading) and Store... (for writing) functions.

Personally I prefer Xmlize and Jsonize over Serialize because they are more robust to class changes and because it is very easy to check problems. If I do not want the user to read the file I just encrypt it. If it is too large I zip it (before encrypting it Smile).

Now, what happen if more than one user can access a ...lize file at the same time for reading and writing... IMHO you leave them at their fate.

I think in that case you should design a blocking system.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Custom array Jsonize
Next Topic: CParser: proposal of new functions
Goto Forum:
  


Current Time: Tue May 21 12:10:25 CEST 2024

Total time taken to generate the page: 0.02330 seconds