Sunday, October 11, 2009

[Rails] Re: XML into database

jhaagmans wrote:
>> I would suggest that XML or YAML in the DB is the wrong approach. �I
>> understand that you want flexibility without needing to change the
>> schema, so why not consider a document database such as CouchDB? �It
>> sounds like this is really what you're looking for.
>
> Nope, I'm really looking for XML in a MySQL db.

Why? From your description, it sounds like a schemaless database like
CouchDB is ideal here. Why do you specifically need XML?

> I hoped there was
> something like REXML to read XML from a database, but I can't find it.

If you use YAML, there's Rails' serialize method. But it's still a
pretty bad idea.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
--
Posted via http://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
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate