Ruby on Rails Tuesday, August 24, 2010

http://microformats.org/about

They're usually created with XML, but I think this still qualifies.
It's taking an established standard and extending its functionality
through convention.

is there a better term for what this is?

On Aug 24, 4:06 pm, Marnen Laibow-Koser <li...@ruby-forum.com> wrote:
> Adam Lassek wrote:
> > The name attribute of form fields created in the following format:
>
> > person[address][street_address]
>
> > is parsed into a nested hash that looks like:
>
> > { :person => { :address => { :street_address => "" } } }
>
> > That's a microformat.
>
> Not by any definition of that term that I'm familiar with.  It's just a
> hash. :)
>
> (For reference, the term "microformat" has only one meaning -- seehttp://en.wikipedia.org/wiki/Microformat-- and that wasn't it.  Using
> standard terminology helps to reduce misunderstandings.)
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> mar...@marnen.org
> --
> Posted viahttp://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment