CFMXでRuby on Rails風に・・・(その2)
前回のポストで宿題にしておいた
について、CDCDEVのメーリングリストをトレースしてみた。
やはり、Sean CorfieldがML上で多くコメントしている。
彼曰く、
Reactor caches database object instances (metadata, essentially, not actual application data).
Arf! and objectBreeze do not provide caching.
Arf! and objectBreeze introspect the database without needing an XML file.
Transfer and Reactor use an XML file to describe the database.
Model-Glue + ColdSpring + Arf! / Reactor
(Arf! for simple stuff, Reactor for more complex stuff)
obJectBreezeという新しいORMサブフレームワークもあるようだが、
一言でいうと、
Reactor:大規模向き、パーシスタント機能あり、DB定義にXML使用。
Arf!:小規模向き、パーシスタント機能なし、DB定義にXML不使用。
Brian Rinaldiのブログの記事:Arf, ObjectBreeze, Reactor and More!も
参考になると思います。
個人的には、
- Model-Glue - for presentation / event wiring
- ColdSpring - for model management
- Reactor - for persistence
を試してみようと思う。
早速、Doug HughesのサンプルコードにあるBLOGを試してみよう。
(ModelGlue+Reactor)
最近のコメント