About the Talk
April 10th, 2010 5:55 AM
Reston, VAReston, 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