From: ruby rocks Date: 2012-04-04T06:37:49+09:00 Subject: Re: using hash as database? Secure databases with ruby? Hassan Schroeder wrote in post #1054884: > On Tue, Apr 3, 2012 at 1:14 PM, ruby rocks wrote: > >> Good point, but would it be fair enough for me to say that since I >> already have to use arrays and hashes in other areas, that it does not >> really produce additional complexity to use them as a sort of minimalist >> database system? > > No. While arrays and hashes are native objects, you are proposing > to create your own methods to read/write/search them (as well as, > apparently, decrypt/encrypt with every access) when you could just > use library methods created by people with much more experience > than you. > > Regardless, good luck! Okay it seems MySQL is the way to go then, but just want to confirm one thing to make absolutely sure: I am talking about client side data storage. The list of contacts and other information, is stored on the client itself, not on a remote server. Do you still think that using a MySQL database is appropriate for this? Last question I swear :) and then I will get back to work using MySQL instead of trying to write my own database system. -- Posted via http://www.ruby-forum.com/.