Doctrine 2.0准备使用? [英] Doctrine 2.0 ready for use?

查看:130
本文介绍了Doctrine 2.0准备使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开展一个小型项目(一个学校主题部门的标记跟踪软件 - 具有sqlite DB的PHP前端),并决定使用ORM。

I'm working on a small project (some mark tracking software for a school subject department - PHP frontend with a sqlite DB) and have decided to use ORM.

我看过RedBeanPHP,但是看起来我的喜好有点太限制了。因此,我决定给予教义。

I've taken a look at RedBeanPHP but it seemed a bit too limited for my liking. As such, I've decided to give Doctrine a go.

我以前在ORM中的唯一经验是.NET中的LINQ to SQL。无论如何,我想知道是否应该开始使用Doctrine 2.0(目前是beta版),或者我应该花些时间学习1.2。

My only prior experience with ORM is LINQ to SQL in .NET. Anyway, I was wondering if I should get started with Doctrine 2.0 (which is in beta at the moment) or if I should take sometime to learn 1.2.

我是寻找那些对两者都很舒适的人的反馈,更重要的是,我想知道Doctrine 2.0文档的完整程度。有没有足够的信息在网站上有一个新的Doctrine(和相当新的ORM)起步和运行2.0或者是新版本的文档仍然相当缺乏?

I'm looking for feedback from those who are comfortable with both, and more importantly, I'd like to know how complete the Doctrine 2.0 documentation is. Is there enough information on the website for somebody new to Doctrine (and quite new to ORM) to get up and running with 2.0 or is the documentation for the new version still quite lacking?

推荐答案

Doctrine 2是DataMapper ORM,而1.2是Active Record。我会去2.0;文档很棒

Doctrine 2 is a DataMapper ORM whereas 1.2 is Active Record. I would go with 2.0; the documentation is great

这篇关于Doctrine 2.0准备使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆