Best ORM for Adobe Air / Flex

柔情痞子 提交于 2019-12-07 11:48:11

问题


I'm not sure what I'm missing here, but I can't find a reliable ORM for AIR.

The ones I find are not documented well and don't seem to have a solid following. Is a solid ORM non-existant at this point?

Ones I'm aware of:
http://flexorm.riaforge.org/
http://code.google.com/p/airorm/
http://code.google.com/p/air-activerecord/


回答1:


I Never used it but have a look at the Cairngorm Persistance Library :

http://sourceforge.net/adobe/cairngorm/wiki/HowtoUsetheCairngormPersistenceLibrary/

Looks like what you're looking for :

"The Persistence library eases the communication between an Adobe AIR application and an SQLite database. Both use different type systems (relational SQL versus object-oriented ActionScript). This Object Relational Mapping (ORM) library follows an iBATIS approach."




回答2:


Check out Flextrine at www.flextrine.com

This is a client/server Flex ORM solution that integrates with Doctrine 2.




回答3:


ORM frameworks are designed to help access a database. Since Flex has no direct access to a database, an ORM framework would be extremely limited.

I assume the projects you link to are for dealing with AIR and the embedded SQLLite database.

There are plugins for Flash Builder that will generate value objects based on the database you specify. Originally they were just for ColdFusion, but I think they've expanded to include other technologies. However, I would not consider these "code generators" the same as an ORM.




回答4:


Check out FxORM. It has nice documentation with examples if you follow the link.



来源:https://stackoverflow.com/questions/3299889/best-orm-for-adobe-air-flex

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!