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

<tfoot id='W1MJI'></tfoot>

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

    1. <i id='W1MJI'><tr id='W1MJI'><dt id='W1MJI'><q id='W1MJI'><span id='W1MJI'><b id='W1MJI'><form id='W1MJI'><ins id='W1MJI'></ins><ul id='W1MJI'></ul><sub id='W1MJI'></sub></form><legend id='W1MJI'></legend><bdo id='W1MJI'><pre id='W1MJI'><center id='W1MJI'></center></pre></bdo></b><th id='W1MJI'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='W1MJI'><tfoot id='W1MJI'></tfoot><dl id='W1MJI'><fieldset id='W1MJI'></fieldset></dl></div>
    2. <legend id='W1MJI'><style id='W1MJI'><dir id='W1MJI'><q id='W1MJI'></q></dir></style></legend>
        <bdo id='W1MJI'></bdo><ul id='W1MJI'></ul>
      1. 從 Zend Framework 1 到 2 的逐步遷移

        Step by step migration from Zend Framework 1 to 2(從 Zend Framework 1 到 2 的逐步遷移)
      2. <i id='vxdPj'><tr id='vxdPj'><dt id='vxdPj'><q id='vxdPj'><span id='vxdPj'><b id='vxdPj'><form id='vxdPj'><ins id='vxdPj'></ins><ul id='vxdPj'></ul><sub id='vxdPj'></sub></form><legend id='vxdPj'></legend><bdo id='vxdPj'><pre id='vxdPj'><center id='vxdPj'></center></pre></bdo></b><th id='vxdPj'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='vxdPj'><tfoot id='vxdPj'></tfoot><dl id='vxdPj'><fieldset id='vxdPj'></fieldset></dl></div>
        <legend id='vxdPj'><style id='vxdPj'><dir id='vxdPj'><q id='vxdPj'></q></dir></style></legend>
            <tbody id='vxdPj'></tbody>

              <bdo id='vxdPj'></bdo><ul id='vxdPj'></ul>
              <tfoot id='vxdPj'></tfoot>

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

                1. 本文介紹了從 Zend Framework 1 到 2 的逐步遷移的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我必須將應用程序從 Zend Framework 1.12.0 遷移到版本 2.似乎有 尚無遷移指南.我已經研究了 ZF2 編碼約定,并采用了依賴注入 (ZendDi) 和 PHP 5.3 命名空間.我的目標是將我的 ZF1 應用程序重構為 ZF2 模塊.

                  I have to migrate an application from Zend Framework 1.12.0 to version 2. There seem to be no migration guides yet. I have already studied ZF2 coding conventions and I adopted dependency injection (ZendDi) and PHP 5.3 namespaces. My goal is to refactor my ZF1 application into a ZF2 module.

                  問題:是否有可能在每個步驟之后使用至少部分工作的應用程序避免大量重構步驟?如果是,步驟是什么?

                  Question: Is it possible to proceed step-by-step with an at least partly working application after every step and avoid huge refactoring steps? If yes, what are the steps?

                  這是我對這種分步遷移的想法,但我不知道我是否在每一步都得到了一個工作應用程序:

                  Here's my idea of such a step-by-step migration, but I don't know if I end up with a working application after every step:

                  1. 首先設置 ZF2 骨架應用程序
                  2. 設置新模塊(MyApp)并重新組織我的 ZF1 應用程序的內容到 MyApp 模塊文件夾結構中.然后通過從 ZF2 AbstractActionController 擴展它來設置非常基本的配置和引導和遷移 IndexController.模型 (Zend_Db) 和視圖 (Zend_View) 將在稍后遷移.這里的目標是讓 IndexController::indexAction 沒有太多依賴項.
                  3. 設置更多配置和引導(路由、翻譯、區域設置、緩存、Db、Acl、ViewHelpers 等).我想先設置這些組件的 ZF1 版本,然后再逐個遷移.
                  4. 使用 ZendDi 或 使用 ServiceManager.
                  5. 通過使舊的 phing 腳本與新的目錄結構一起工作來設置自動部署.
                  6. 將視圖(包括助手)和表單遷移到 ZF2.
                  7. 遷移模型(從 Zend_Db 到 ZF2 ZendDb 或到 Doctrine).
                  8. 一一遷移其他 ZF1 組件(翻譯、區域設置、緩存、Acl 等).
                  9. 重構康復和長假.
                  1. Start by setting up the ZF2 Skeleton Application
                  2. Set up a new module (MyApp) and reorganize the contents of my ZF1 application into the MyApp module folder structure. Then set up very basic configuration and bootstrapping and migrate the IndexController by extending it from the ZF2 AbstractActionController. The models (Zend_Db) and views (Zend_View) will be migrated later. The goal here is to have a working IndexController::indexAction which doesn't have many dependencies.
                  3. Set up more configuration and bootstrapping (Routing, Translate, Locale, Cache, Db, Acl, ViewHelpers, ...). I'd like to set up the ZF1 versions of these components first and migrate them later one by one.
                  4. Migrate the other controllers and set up dependency injection into the controllers either with ZendDi or by using the ServiceManager.
                  5. Set up automatic deployment by making the old phing scripts work with the new directory structure.
                  6. Migrate the views (including helpers) and forms to ZF2.
                  7. Migrate the models (from Zend_Db either to ZF2 ZendDb or to Doctrine).
                  8. Migrate other ZF1 components one by one (Translate, Locale, Cache, Acl, ...).
                  9. Refactoring rehab and long holiday.

                  但是,只有當某些 ZF2 組件與 ZF1 組件一起工作時,我才會在每一步之后都有一個 workin 應用程序.我不知道它是否是例如可以將 ZF1 視圖(和視圖助手)與 ZF2 控制器一起使用.

                  However, I will have a workin application after every step only if certain ZF2 components work together with ZF1 components. I have no idea if it's e.g. possible to use ZF1 views (and view helpers) with ZF2 controllers.

                  推薦答案

                  從 Zend Framework 1 遷移

                  本指南旨在提供從 Zend Framework 1 遷移到 Zend Framework 2 的工具和策略.沒有適用于每個項目的單一解決方案,也沒有任何工具可以使流程自動化.

                  This guide is intended to provide tools and strategies for migrating from Zend Framework 1 to Zend Framework 2. There is no single solution that will work for every project, nor any tools to automate the process.

                  在本指南中,我們將介紹以下內容:

                  In this guide, we will cover the following:

                  1. 用于為代碼命名空間的工具.
                  2. 用于在 Zend Framework 1 應用程序中使用 Zend Framework 2 的工具.
                  3. 并行運行 Zend Framework 2 和 Zend Framework 1 的策略.
                  4. 使代碼更易于遷移的策略,主要側重于域邏輯和 MVC 層的清晰分離.
                  5. 遷移 MVC 層的策略.
                  6. 遷移域層的策略.

                  http://framework.zend.com/manual/2.1/en/migration/overview.html

                  這篇關于從 Zend Framework 1 到 2 的逐步遷移的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 找不到驅動程序)

                2. <small id='PBjAl'></small><noframes id='PBjAl'>

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

                    <tbody id='PBjAl'></tbody>
                  <legend id='PBjAl'><style id='PBjAl'><dir id='PBjAl'><q id='PBjAl'></q></dir></style></legend>

                      1. <tfoot id='PBjAl'></tfoot>

                            <bdo id='PBjAl'></bdo><ul id='PBjAl'></ul>
                            主站蜘蛛池模板: 国产91在线播放 | 成人影院一区二区三区 | 亚洲精品影院 | 亚洲国产一区二区视频 | 超碰导航 | 精品国产一区二区在线 | 一级少妇女片 | 日韩在线小视频 | 韩日精品视频 | 精品久久久久一区二区国产 | 91综合在线观看 | 欧美日韩1区2区3区 欧美久久一区 | 狠狠操av| 午夜免费看视频 | 亚洲精品国产电影 | 欧美一级黄色免费看 | 日韩免费福利视频 | 乱码av午夜噜噜噜噜动漫 | av国产在线观看 | 九九九视频在线观看 | 国产精品久久久久国产a级 欧美日韩国产免费 | 久久国产精品一区二区三区 | 亚洲精品视频免费观看 | 国产免费xxx | 久久首页 | 中文字幕1区 | 欧美激情一区二区三区 | 中文字字幕在线中文乱码范文 | 亚洲三级国产 | 久久久婷| 欧美成人免费 | 欧产日产国产精品99 | 亚洲 欧美 综合 | 国产精品一区一区三区 | 国产99久久精品一区二区300 | 亚洲精品乱码久久久久v最新版 | 午夜影院在线观看视频 | 男人天堂免费在线 | 久久久久亚洲精品 | 久久久久久蜜桃一区二区 | 亚洲欧洲精品一区 |