Zend CRUD 数据映射器示例?
考虑到我们至少有两个与外键相关的表,任何人都可以指出或绘制一个关于 CRUD 操作的非常基本的数据映射器示例吗?
只是尝试遵循(并调整)快速入门指南,但到目前为止尚未成功,所以我想知道是否有人可以更好地解释使用数据映射器的 CRUD 应用程序。
Can anyone point or sketch a VERY BASIC data Mapper Example on CRUD operations, considering that, we have at least two tables related with a foreign key ?
Just trying to follow (and adapt) the quick-start guide with no success so far, so I was wondering if someone could explain a CRUD application using data mapper, better.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最近关注了这个,它在某种程度上非常棒:http://survivethedeepend.com/
还有其他一些人也给予了这一点作为灵感。然而,它并不完整,最大的问题是它没有涵盖如何通过非 ID 选择标准检索对象。
这个问题实际上就是我刚刚注册的原因。 :)
祝你好运,如果您找到良好且完整的资源,请告诉我!
I've recently followed along with this one which was great - up to a point: http://survivethedeepend.com/
And there's a few others out there that give this one a nod as inspiration. However, it's not complete and the biggest problem is that it doesn't cover how to retrieve objects by non-ID selection criteria.
That question is actually why I just signed up. :)
Good luck, please let me know if you find a good and complete resource!