{"id":285,"date":"2009-03-14T12:39:58","date_gmt":"2009-03-14T20:39:58","guid":{"rendered":"http:\/\/jaredrobinson.com\/blog\/?p=285"},"modified":"2009-03-14T12:39:58","modified_gmt":"2009-03-14T20:39:58","slug":"mwrc-paul-sadauskas-writing-adapters-for-datamapper","status":"publish","type":"post","link":"https:\/\/jaredrobinson.com\/blog\/mwrc-paul-sadauskas-writing-adapters-for-datamapper\/","title":{"rendered":"mwrc: Paul Sadauskas: Writing Adapters for DataMapper"},"content":{"rendered":"<p>Paul Sadauskas: Writing Adapters for DataMapper<\/p>\n<p>What is DataMapper?<\/p>\n<p>&#8211; A lightweight, modular Ruby ORM with<br \/>\n &#8211; lazy loading<br \/>\n &#8211; strategic eager loading<br \/>\n &#8211; plugins (types, migrations, validations, timestamps, sweatshop, is-list, is-searchable, is-versioned, etc.)<br \/>\n &#8211; adaptors (heap, YAML files, REST-ful web services, CouchDB, Sphinx, Netflix, etc.)<br \/>\n &#8211; and it&#8217;s better than ActiveRecord<\/p>\n<p>The goal of the adapter API is to make it as easy as possible to write one. He<br \/>\nthen showed how to do it. How do I know my adaptor works? Run the tests that<br \/>\nare provided.<\/p>\n<p>Q: What about supporting &#8220;join&#8221;? That&#8217;s a good question. Currently, not all<br \/>\nadaptors support it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Paul Sadauskas: Writing Adapters for DataMapper What is DataMapper? &#8211; A lightweight, modular Ruby ORM with &#8211; lazy loading &#8211; strategic eager loading &#8211; plugins (types, migrations, validations, timestamps, sweatshop, is-list, is-searchable, is-versioned, etc.) &#8211; adaptors (heap, YAML files, REST-ful web services, CouchDB, Sphinx, Netflix, etc.) &#8211; and it&#8217;s better than ActiveRecord The goal of &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/jaredrobinson.com\/blog\/mwrc-paul-sadauskas-writing-adapters-for-datamapper\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;mwrc: Paul Sadauskas: Writing Adapters for DataMapper&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[20,21],"class_list":["post-285","post","type-post","status-publish","format-standard","hentry","category-programming","tag-mtnwestrubyconf","tag-mwrc"],"_links":{"self":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/posts\/285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/comments?post=285"}],"version-history":[{"count":1,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/posts\/285\/revisions"}],"predecessor-version":[{"id":286,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/posts\/285\/revisions\/286"}],"wp:attachment":[{"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/media?parent=285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/categories?post=285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jaredrobinson.com\/blog\/wp-json\/wp\/v2\/tags?post=285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}