2015年5月17日

symfony2-不同bundle的entity的一对多关系

摘要: 重点:其实和普通一个bundle中一样,只是把entity地址写全就行。例子:表commentone (多方)表shopone(一方)在Userbundle中的Commentone实体对应关系在Adminbundle中的Shopone实体对应关系在controller中使用:数据库结果:表shopo... 阅读全文

posted @ 2015-05-17 18:47 joelike 阅读(311) 评论(0) 推荐(0)

symfony2 关于是否需要建立多bundle

摘要: http://blog.danielribeiro.org/yes-you-can-have-low-coupling-in-a-symfony-standard-edition-application/这是作者一年使用后分享的经验http://stackoverflow.com/questions... 阅读全文

posted @ 2015-05-17 10:26 joelike 阅读(123) 评论(0) 推荐(0)

导航