开发者

ORM for CodeIgniter 2.0 [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
开发者_运维技巧

Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.

Closed 6 years ago.

Improve this question

What are some recommended ORM's for CodeIgniter? I have heard of Data Mapper and Propel. What are some that people have used and would recommend?


CI comes bundled with an Active Record class -- which is confusing because the Active Record pattern is technically an ORM, however the class is not -- it is merely a query builder. With that said, for basic websites I'd highly suggest using it.

Which ORM to actually use with CI is more a matter of personal preference though, DataMapper is more of a basic ORM and was actually written specifically for CI, but it won't give you all of the functionality found in something like Doctrine which I tend to think is one of the most full featured ORM's for PHP.

Overall you'll likely want to try out a few and find out which one suits your needs the best, there is a lot of information about ORM's for PHP on the PHP Info page right here on StackOverflow.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜