<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Rails vs Grails vs Django models</title>
	<atom:link href="http://www.peterkrantz.com/2009/rails-grails-django-models/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peterkrantz.com/2009/rails-grails-django-models/</link>
	<description>A blog about technology, visualization, music and unmanned vehicle experiments</description>
	<lastBuildDate>Fri, 12 Mar 2010 08:02:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: AkitaOnRails</title>
		<link>http://www.peterkrantz.com/2009/rails-grails-django-models/comment-page-1/#comment-2569</link>
		<dc:creator>AkitaOnRails</dc:creator>
		<pubDate>Wed, 24 Jun 2009 22:34:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterkrantz.com/?p=281#comment-2569</guid>
		<description>And although Active Record is the de facto Rails-way, it is not alone anymore. You can use Data Mapper and Sequel, albeit with small tweaks. Rails 3.0 will bring ORM agnosticism, so you&#039;re free to choose. Now, Active Record is still much easier specifically for green-field projects. It was not made for legacy integration. It was never a goal to reach more than 80% of the needs - remember Paretto ;-)</description>
		<content:encoded><![CDATA[<p>And although Active Record is the de facto Rails-way, it is not alone anymore. You can use Data Mapper and Sequel, albeit with small tweaks. Rails 3.0 will bring ORM agnosticism, so you&#8217;re free to choose. Now, Active Record is still much easier specifically for green-field projects. It was not made for legacy integration. It was never a goal to reach more than 80% of the needs &#8211; remember Paretto <img src='http://www.peterkrantz.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael Rosa Fu</title>
		<link>http://www.peterkrantz.com/2009/rails-grails-django-models/comment-page-1/#comment-2568</link>
		<dc:creator>Rafael Rosa Fu</dc:creator>
		<pubDate>Wed, 24 Jun 2009 22:12:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterkrantz.com/?p=281#comment-2568</guid>
		<description>Besides annotated models you can use DataMapper (http://datamapper.org/), created to be Merb&#039;s ORM, but can be used with Rails too. It uses a different pattern from ActiveRecord, and using it you would have something like:

&lt;pre&gt;&lt;code&gt;
class Organization
  include DataMapper::Resource

  property :id, Serial, :key =&gt; true
  property :name, String, :nullable =&gt; false
  property :url, String

  belongs_to :org_type
end
&lt;/code&gt;&lt;/pre&gt;

It&#039;s just beautiful, IMHO :) Rails integration isn&#039;t perfect, but I believe it will be seamless with Rails 3.0. It&#039;s worth a look.

Cheers</description>
		<content:encoded><![CDATA[<p>Besides annotated models you can use DataMapper (<a href="http://datamapper.org/" rel="nofollow">http://datamapper.org/</a>), created to be Merb&#8217;s ORM, but can be used with Rails too. It uses a different pattern from ActiveRecord, and using it you would have something like:</p>
<pre></pre>
<pre class="brush: plain;">DQpjbGFzcyBPcmdhbml6YXRpb24NCiAgaW5jbHVkZSBEYXRhTWFwcGVyOjpSZXNvdXJjZQ0KDQogIHByb3BlcnR5IDppZCwgU2VyaWFsLCA6a2V5ID0mZ3Q7IHRydWUNCiAgcHJvcGVydHkgOm5hbWUsIFN0cmluZywgOm51bGxhYmxlID0mZ3Q7IGZhbHNlDQogIHByb3BlcnR5IDp1cmwsIFN0cmluZw0KDQogIGJlbG9uZ3NfdG8gOm9yZ190eXBlDQplbmQNCg==</pre>
<p>It&#8217;s just beautiful, IMHO <img src='http://www.peterkrantz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Rails integration isn&#8217;t perfect, but I believe it will be seamless with Rails 3.0. It&#8217;s worth a look.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.peterkrantz.com/2009/rails-grails-django-models/comment-page-1/#comment-2567</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Wed, 24 Jun 2009 19:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.peterkrantz.com/?p=281#comment-2567</guid>
		<description>This can be done automatically for you with annotate models. http://pragdave.pragprog.com/pragdave/2006/02/annotate_models.html</description>
		<content:encoded><![CDATA[<p>This can be done automatically for you with annotate models. <a href="http://pragdave.pragprog.com/pragdave/2006/02/annotate_models.html" rel="nofollow">http://pragdave.pragprog.com/pragdave/2006/02/annotate_models.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
