如何使用异丙酚
我是 propel 新手,谁能解释一下它有什么用以及如何将任何框架与 propel 集成?
I am new to propel,any one can explain me about what is the use of it and how to integrate any framework with propel?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
好吧,因为有一个关于 Propel 的完整网站,充满了网站。 propelorm.org/wiki/Documentation/1.6" rel="nofollow">文档之类的,我敢打赌他们可以。
我认为你更大的问题是你可能想了解 ORM 是。简而言之,它是关系数据库和 OOP 框架之间的一种映射方式,但是 Wikipedia 有更多信息,因此您可能想从那里开始。
编辑
您在评论中提到您想将其与 CakePHP 结合起来。嗯,方法如下:除非您已经知道如何组合它们,否则不要这样做。 CakePHP 有自己的 ORM 系统,因此确实没有合理的用例同时拥有两者(遗留代码不是借口——只需选择一个!)。如果您正在使用 Cake,请使用 Cake 并欢欣鼓舞(您可以喝茶并跳过
或死亡
)!如果您正在使用 Propel,请使用 Propel 并前往某个地方。Well, since there is an entire website about Propel, full of documentation and the like, I'll bet they can.
You bigger question, I think, is that you probably want to understand what the purpose of an ORM is. In short, it is a way of mapping between a relational database and an OOP framework, but Wikipedia has far more information, so you might want to start there.
EDIT
You mentioned in a comment that you'd like to combine this with CakePHP. Well here's how: don't unless you already know how to combine them. CakePHP has its own ORM system, so there really is no justifiable use case for having both (legacy code is not excuse -- just choose one!). If you're using Cake, use Cake and rejoice (you can have tea and skip on the
or death
)! If you're using Propel, use Propel and go somewhere.对于这样的一般性问题,我建议您访问官方网站 - http://www.propelorm.org/
他们的文档出人意料地强大。
For such a general question, I'd point you to the official site - http://www.propelorm.org/
Their documentation is surprisingly robust.
您是否尝试过他们的网站?这是一个屏幕截图,这应该可以做到。 Google 的能力令人惊叹,不要害怕使用它。
Have you tried their website? Here is a screenshot, this should do it. it's amazing what Google is capable of, don't be afraid to use it.