开发者

Rails 3: DataMapper instead of ActiveRecord

After all the hussle about Rails 3, can I, after all, painlessly use开发者_如何学编程 DataMapper without almost changing my ActiveRecord code so that I could run my Rails at GAE without any bother?


Well, you still have to add the properties for DataMapper, and a bunch of code in the gems you are using might not be ORM-agnostic. And you have to change your queries to the DM syntax (which is IMO more beautiful than the AR one), or you can use some of the old AR ones by using the gem dm-ar-finders. And what's GAE?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜