Main Content

Ruby and the XML Database

About the Talk

April 10, 2010 5:55 AM

Reston, VA

Reston, VA

Ruby provides a variety of powerful tools (Builder, LibXML, ReXML, etc.) for creating and parsing XML data. Unfortunately, this power doesn't translate to the databases we typically use for storing our XML data. These databases simply weren't designed to handle XML and therefore it becomes very cumbersome (at best) to manage our XML storage with these tools. This mismatch of capabilities can cripple our ability to work effectively with our XML data within Ruby. This talk focuses on removing that capability mismatch by combining Ruby with an XML database. An important part of this integration is ensuring that the tools and frameworks that we currently use, such as Rails, continue to be usable. During this talk we will present extensive code samples as we explore:

  • What is an XML database?
  • How does an xml database enhance my existing Ruby xml capabilities?
  • How do we connect to an XML database from Ruby?
  • Integration with Rails
  • The use of ActiveModel for compatibility with Rails 3.0

Ratings and Recommendations

Avg. Rating

Average based
on 4 ratings

comments powered by Disqus