<i id='ZErcb'><tr id='ZErcb'><dt id='ZErcb'><q id='ZErcb'><span id='ZErcb'><b id='ZErcb'><form id='ZErcb'><ins id='ZErcb'></ins><ul id='ZErcb'></ul><sub id='ZErcb'></sub></form><legend id='ZErcb'></legend><bdo id='ZErcb'><pre id='ZErcb'><center id='ZErcb'></center></pre></bdo></b><th id='ZErcb'></th></span></q></dt></tr></i><div id='ZErcb'><tfoot id='ZErcb'></tfoot><dl id='ZErcb'><fieldset id='ZErcb'></fieldset></dl></div>

    • <bdo id='ZErcb'></bdo><ul id='ZErcb'></ul>

      <legend id='ZErcb'><style id='ZErcb'><dir id='ZErcb'><q id='ZErcb'></q></dir></style></legend>

      1. <small id='ZErcb'></small><noframes id='ZErcb'>

      2. <tfoot id='ZErcb'></tfoot>

        PHP 最容易使用的 ORM 框架是什么?

        What is the easiest to use ORM framework for PHP?(PHP 最容易使用的 ORM 框架是什么?)
        • <tfoot id='slbqn'></tfoot>
            <tbody id='slbqn'></tbody>

          <legend id='slbqn'><style id='slbqn'><dir id='slbqn'><q id='slbqn'></q></dir></style></legend>
            <bdo id='slbqn'></bdo><ul id='slbqn'></ul>

                <small id='slbqn'></small><noframes id='slbqn'>

                  <i id='slbqn'><tr id='slbqn'><dt id='slbqn'><q id='slbqn'><span id='slbqn'><b id='slbqn'><form id='slbqn'><ins id='slbqn'></ins><ul id='slbqn'></ul><sub id='slbqn'></sub></form><legend id='slbqn'></legend><bdo id='slbqn'><pre id='slbqn'><center id='slbqn'></center></pre></bdo></b><th id='slbqn'></th></span></q></dt></tr></i><div id='slbqn'><tfoot id='slbqn'></tfoot><dl id='slbqn'><fieldset id='slbqn'></fieldset></dl></div>
                  本文介绍了PHP 最容易使用的 ORM 框架是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在寻找 Ruby 的 PHP 活动记录.一些非常简单的事情,我只需定义我的字段,扩展基本 ORM 类,然后我就可以免费获得 ACID 操作.我应该在不编写任何代码的情况下获得默认的 getter 和 setter,但是覆盖默认的 getter 或 setter 就像使用我想要的行为声明 get$fieldName 或 set$fieldName 函数一样简单.Symphony 让你为每个对象创建大约 5 个文件,并且据我所知,所有定义的对象总是加载.什么是更好的选择?为什么更好?你能在你的答案中举出简单的例子吗?

                  I'm looking for Ruby's Active record for PHP. Something that is so simple that I just define my fields, extend the base ORM class, and I get ACID operations for free. I should get default getters and setters without writing any code, but overriding a default getter or setter is as easy as declaring get$fieldName or set$fieldName functions with the behavior I want. Symphony makes you create about 5 files per object, and all defined objects always load as far as I can tell. What is a better alternative? Why is it better? Can you put simple examples in your answers please?

                  Doctrine 是除了 Symphony 之外我还研究过的另一个 ORM.您还需要创建描述数据结构的 yaml 文件.数据库已经定义了这些东西.什么只会读取我的表 defs 而不必在任何地方生成和存储配置文件?

                  Doctrine is another ORM I've looked at besides symphony . There also you need to create yaml files that describe your data structures. The database already defines this stuff. What will just read my table defs without having to generate and store config files everywhere?

                  推荐答案

                  Both CodeIgniter (http://codeigniter.com/user_guide/database/active_record.html) 及其 PHP5 仅 fork Kohana (http://docs.kohanaphp.com/libraries/orm) 包含 ActiveRecord 模式的实现.

                  Both CodeIgniter (http://codeigniter.com/user_guide/database/active_record.html) and its PHP5 only fork Kohana (http://docs.kohanaphp.com/libraries/orm) contain implementations of the ActiveRecord pattern.

                  这篇关于PHP 最容易使用的 ORM 框架是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                    <i id='gBo0T'><tr id='gBo0T'><dt id='gBo0T'><q id='gBo0T'><span id='gBo0T'><b id='gBo0T'><form id='gBo0T'><ins id='gBo0T'></ins><ul id='gBo0T'></ul><sub id='gBo0T'></sub></form><legend id='gBo0T'></legend><bdo id='gBo0T'><pre id='gBo0T'><center id='gBo0T'></center></pre></bdo></b><th id='gBo0T'></th></span></q></dt></tr></i><div id='gBo0T'><tfoot id='gBo0T'></tfoot><dl id='gBo0T'><fieldset id='gBo0T'></fieldset></dl></div>
                    <legend id='gBo0T'><style id='gBo0T'><dir id='gBo0T'><q id='gBo0T'></q></dir></style></legend>

                          <bdo id='gBo0T'></bdo><ul id='gBo0T'></ul>
                        • <small id='gBo0T'></small><noframes id='gBo0T'>

                          <tfoot id='gBo0T'></tfoot>

                              <tbody id='gBo0T'></tbody>