久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

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

      <tfoot id='NNKar'></tfoot>
    1. <legend id='NNKar'><style id='NNKar'><dir id='NNKar'><q id='NNKar'></q></dir></style></legend>

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

        如何結合zend框架和Codeigniter?

        How to combine zend framework and Codeigniter?(如何結合zend框架和Codeigniter?)

            <tbody id='agaGP'></tbody>
          1. <tfoot id='agaGP'></tfoot>
          2. <i id='agaGP'><tr id='agaGP'><dt id='agaGP'><q id='agaGP'><span id='agaGP'><b id='agaGP'><form id='agaGP'><ins id='agaGP'></ins><ul id='agaGP'></ul><sub id='agaGP'></sub></form><legend id='agaGP'></legend><bdo id='agaGP'><pre id='agaGP'><center id='agaGP'></center></pre></bdo></b><th id='agaGP'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='agaGP'><tfoot id='agaGP'></tfoot><dl id='agaGP'><fieldset id='agaGP'></fieldset></dl></div>

                <bdo id='agaGP'></bdo><ul id='agaGP'></ul>

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

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

                • 本文介紹了如何結合zend框架和Codeigniter?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  如何結合zend框架和Codeigniter?

                  How to combine zend framework and Codeigniter ?

                  我有兩個應用程序,一個是 Zend,另一個是 codeigniter,是否可以將這兩個框架合并到一個項目中?如果是這樣,如何將兩個框架結合起來,這個文件結構是什么?

                  I have two applications, one is zend and other one is codeigniter, is it possible to combine the two framework in to one project ? If so, How to combine the two framework and what are the files structure for this ?

                  謝謝你的幫助.

                  推薦答案

                  當然有可能.

                  我曾參與過一個項目,其中我們同時擁有 Zend 和 CodeIgniter.

                  I have worked on one project where we had Zend + CodeIgniter both.

                  這是您需要做的:

                  1. 將您的 Zend 文件夾(庫)復制粘貼到 CodeIgniter 庫中,反之亦然,將 CodeIgniter 庫復制到 zend 庫文件夾中.

                  1. Copy paste your Zend folder (library) into Library of CodeIgniter OR viceversa copy CodeIgniter library into zend library folder.

                  2. 如果在 codeigniter 中,使用 $this->load->library('Zend', '{anything here}')或在 Zend 中使用 autoloader

                  2. If in codeigniter, call it using $this->load->library('Zend', '{anything here}') or in Zend use autoloader

                  您將面臨的問題(我面臨的):

                  Issues you WILL face (which I faced):

                  1. 身份驗證

                  Zend 使用使用 $_SESSION 的 Zend Auth 命名空間.而 CI 不使用 $_SESSION 但它有自己的內置系統.使用 Zend 并(假設您的整個應用程序僅在同一個域中)查看它存儲的身份信息,直接通過 CI 檢查 $_SESSION 并分配 CI cookie.這是我發生了什么并檢查解決方案.

                  Zend uses Zend Auth Namespace which uses $_SESSION . Whereas CI does not use $_SESSION but, has it's own built in system. Use Zend and (assuming your entire app is on same domain only) see what it stores for identity, check for that $_SESSION directly via CI and assign CI cookies. Here is what happened with me and check the solution.

                  1. 安全和表單

                  CI 和 Zend 都有不同的 Forms 庫,不要在加載 Zend 庫的類中使用 Form of CI(在 CI 下),記住這是一個經驗法則.因此,您需要制定如何實施它的戰略,Zend on CI 或 CI on Zend.不要在 CI 表單中使用 Zend 的驗證器(我知道沒有人會這樣做,但是一旦我這樣做了,那么任何人都可以這樣做!不要這樣做).使用相同的安全庫,您將用于表單的庫

                  Both CI and Zend have different libraries for Forms, do not use Form of CI in the class which loads Zend Library (under CI), just remember this as a thumb-rule. So, you need to strategize how you will implement it, Zend on CI or CI on Zend. Do not use validators of Zend in CI forms (I know no one will do it but, once I did, so anyone can do it! DONT DO IT). Use same library of security which library you will use for forms

                  就我個人而言,我的項目做得很好(經過大量研究),它是:Zend 上的 CI,我必須在其中使用 Zend Auth.

                  Personally, my project did great (ofc after lot of research), it was : CI on Zend, where I HAD to use Zend Auth.

                  有問題嗎?:)

                  這篇關于如何結合zend框架和Codeigniter?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Deadlock exception code for PHP, MySQL PDOException?(PHP、MySQL PDOException 的死鎖異常代碼?)
                  PHP PDO MySQL scrollable cursor doesn#39;t work(PHP PDO MySQL 可滾動游標不起作用)
                  PHP PDO ODBC connection(PHP PDO ODBC 連接)
                  Using PDO::FETCH_CLASS with Magic Methods(使用 PDO::FETCH_CLASS 和魔術方法)
                  php pdo get only one value from mysql; value that equals to variable(php pdo 只從 mysql 獲取一個值;等于變量的值)
                  MSSQL PDO could not find driver(MSSQL PDO 找不到驅動程序)

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

                • <tfoot id='uaPrR'></tfoot>

                  1. <legend id='uaPrR'><style id='uaPrR'><dir id='uaPrR'><q id='uaPrR'></q></dir></style></legend>
                      <i id='uaPrR'><tr id='uaPrR'><dt id='uaPrR'><q id='uaPrR'><span id='uaPrR'><b id='uaPrR'><form id='uaPrR'><ins id='uaPrR'></ins><ul id='uaPrR'></ul><sub id='uaPrR'></sub></form><legend id='uaPrR'></legend><bdo id='uaPrR'><pre id='uaPrR'><center id='uaPrR'></center></pre></bdo></b><th id='uaPrR'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='uaPrR'><tfoot id='uaPrR'></tfoot><dl id='uaPrR'><fieldset id='uaPrR'></fieldset></dl></div>
                        • <bdo id='uaPrR'></bdo><ul id='uaPrR'></ul>
                            <tbody id='uaPrR'></tbody>

                          • 主站蜘蛛池模板: 亚洲精品福利在线 | 国产成人综合亚洲欧美94在线 | 精品国产一区二区三区久久影院 | 精品免费视频 | 精品国产乱码久久久久久图片 | 欧美激情综合色综合啪啪五月 | 高清国产一区二区 | 自拍偷拍亚洲一区 | 欧美成人精品 | 一级做a爰片久久毛片免费看 | 99视频免费在线观看 | 一区二区三区国产精品 | 午夜a级理论片915影院 | 国产毛片视频 | 欧美精品99 | 夜夜精品浪潮av一区二区三区 | 国产亚洲二区 | 国内精品久久久久久影视8 最新黄色在线观看 | 国产精品免费在线 | 国产精品色 | 999观看免费高清www | 黄色精品视频网站 | 久久久www成人免费无遮挡大片 | 欧美在线视频免费 | com.国产 | 欧洲亚洲精品久久久久 | 成人自拍视频网站 | 日韩精品在线免费观看视频 | 99re热这里只有精品视频 | 黄色免费看| 欧美性久久久 | a毛片| 99精品欧美一区二区蜜桃免费 | 性xxxxx| 日本精品视频在线 | 日韩精品亚洲专区在线观看 | 91综合网 | 久久尤物免费一区二区三区 | 中文字幕av在线一二三区 | 涩色视频在线观看 | 久久久美女 |