From: Brandon Weaver Date: 2013-05-21T00:53:53+09:00 Subject: Re: new, with an idea, and not sure what to learn next --047d7b672198cb678204dd285695 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Read and meditate on Object Oriented Design, ActiveRecord / Rails (railscasts/codeschool), and Data Normalization. OO will give you an idea of how to structure things for a Ruby program, Rails is the web framework that has some crazy power, and normalized data is database concepts to help you make things more efficient. On May 20, 2013 9:23 AM, "Robert Klemme" wrote= : > > > > On Mon, May 20, 2013 at 3:47 PM, wrote: > >> Am 20.05.2013 03:34, schrieb Dami=E1n M. Gonz=E1lez: >> >> What's even better than the solution provided by the above person is to >>> learn to use Marshal. Marshal is a class of Ruby Source Code, you even >>> don't have to include it. With Marshal you can save data in binary form >>> in files with whatever name you want to use. >>> >> >> Am I the "above person"? :) >> >> What I especially like about e.g. YAML::Store is that the files are >> human readable and _not_ binary. >> > > Well, but even reading a Marshal file isn't too hard: just fire up IRB > read the file and use p or pp to print out interesting parts. You can ev= en > iterate through the structure etc. > > Kind regards > > robert > > -- > remember.guy do |as, often| as.you_can - without end > http://blog.rubybestpractices.com/ > --047d7b672198cb678204dd285695 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Read and meditate on Object Oriented Design, ActiveRecord / = Rails (railscasts/codeschool), and Data Normalization.

OO will give you an idea of how to structure things for a Ru= by program, Rails is the web framework that has some crazy power, and norma= lized data is database concepts to help you make things more efficient.

On May 20, 2013 9:23 AM, "Robert Klemme&quo= t; <shortcutter@googlemail= .com> wrote:



On Mon, May 20, 2013 at 3:47 PM, <sto.mar@web.de> wrot= e:
Am 20.05.2013 03:34, schrieb Dami=E1n M. Gonz=E1lez:

What's even better than the solution provided by the above person is to=
learn to use Marshal. Marshal is a class of Ruby Source Code, you even
don't have to include it. With Marshal you can save data in binary form=
in files with whatever name you want to use.

Am I the "above person"? =A0:)

What I especially like about e.g. YAML::Store is that the files are
human readable and _not_ binary.

Well, but even reading a Marshal file isn't too hard: = just fire up IRB read the file and use p or pp to print out interesting par= ts. =A0You can even iterate through the structure etc.

Kind regard= s

robe= rt

--
remember.guy do |as, often| as.yo= u_can - without end
http://blo= g.rubybestpractices.com/
--047d7b672198cb678204dd285695--