jhaagmans wrote: > Hi, > > I've already talked about this in another topic, but I've found > another approach. > > We have some complex definitions and structures in our database and > I'd like to make it possible to simplify adding items to the > application. I'd like to do that using XML. Using XML we'll define a > few common item structures that can be used as a template for new > items. But I don't want to actually store physical XML-files on the > server, I want to store the XML in a database. Now my question is: how > to do that? I know how to store it, but I don't know how to read it. [...]
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. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

