我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Laravel 4使用Data Mapper?

Does anyone know if Laravel has some sort of library/plugin or tweak to use Data Mapper or to make Active Record behave like Data Mapper?.

I'm not a Laravel user,so perhaps Eloquent is using a mix of Active Record and Data Mapper and I'm not aware of that.

So, we can implement the Data Mapper pattern into Laravel using Doctrine;

Packagist: https://packagist.org/packages/atrauzzi/laravel-doctrine

Laravel Doc: http://bundles.laravel.com/bundle/doctrine

近期文章

  • Symfony2 - 测试文件夹
  • PHP在str_pad之后按变量排序
  • 在ASP页面上运行for循环
  • 如何使用PHP获取由哈希标记包围的匹配单词
  • <?php echo htmlentities($ _ SERVER ['PHP_SELF']); ?>以形式返回index.php
  • 调用文件以及其父目录来销毁自己?
  • 用户登录页面
  • 用复选框数组填写表单
  • Joomla FTP :: mkdir回复不好
  • 某些页面中的PHP会话错误[重复]
  • PHP POST标头不适用于子域
  • too long
  • ajax要求加载不在每个浏览器中运行的广告
  • HTTP referer是否始终在顶级域结束?
  • 将googlebot从我的ajax页面重定向到静态html页面
  • 数学运算后mongoDB奇怪的结果
  • 新闻稿使用ajax jQuery和xml作为数据库订阅表单
  • 如何将带有html的.text文件中的内容加载到使用php或javascript的div中
  • Ajax包含文件
  • PHP:在源代码中形成echo的id,但在链接中显示所有行的第一个id

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华