<?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></description>
	<lastBuildDate>Thu, 26 Jan 2012 09:31:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<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 ;-)</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:

[ruby]
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
[/ruby]

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 class="brush: ruby; title: ; notranslate">
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
</pre>
<p>It&#8217;s just beautiful, IMHO :) 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>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.peterkrantz.com @ 2012-02-09 07:27:52 -->
