Below you will find pages that utilize the taxonomy term “Zend Framework”
Posts
Zend Framework 2.0 的一點筆記AutoLoader HelperBroker
此筆記心得:
AutoLoader改變:
require_once 'Zend/Loader/StandardAutoloader.php';
$loader = new Zend\Loader\StandardAutoloader();
$loader->registerNamespace('ZFDebug', __DIR__ . '/../library/ZFDebug')
->registerPrefix('Phly_', __DIR__ . '/../library/Phly');
$loader->register();
Posts
Zend Framework 2.0 體驗~
Zend Framework 2.0 使用前請先參觀ZF2 wiki 安裝方式 前往GIT 作clone 動作取得整個程式. 使用方式 依照正常使用方式 zf create project test1….etc 設定檔與ZF1 不同之處 resources.db.adapter = "pdo_mysql" resources.db.params.host =
Posts
Zend Framework 以sub domain 為基準 routes
以Zend Framework 建置專案大部分的 routes:
http://www.test.tw/module/controller/action
例如:
http://www.test.tw/index/main/frontpage
則:
module 為 index
controller 為 main
action 為 frontpage
Posts
Doctrine 入門(一)
準備
依照之前整合的 Zend Framework 1.11.0 and Doctrine 1.2.3 and Smarty 3.0.4 環境,來做學習與測試.
更改index.php
application.ini 環境
;Doctrine
autoloaderNamespaces[] = "Doctrine_"
pluginPaths.ZendX_Doctrine_Application_Resource = "ZendX/Application/Resource"
resources.doctrine.debug = 1
resources.doctrine.paths.models_path = APPLICATION_PATH "/../models"
resources.doctrine.connections.orm1.dsn.adapter = mysql
resources.doctrine.connections.orm1.dsn.user = "user"
resources.doctrine.connections.orm1.dsn.pass = "password"
resources.doctrine.connections.orm1.dsn.hostspec = "localhost"
resources.doctrine.connections.orm1.dsn.database = "orm1_sd_idv_tw"
Posts
Zend Framework 1.11.0 and Doctrine 1.2.3 and Smarty 3.0.4
懶惰許久~~ 趕快來補一下功課.
這篇主要介紹 Zend Framework 1.11.0 and Doctrine 1.2.3 and Smarty 3.0.4 的結合方式.
Doctrine 1.2.3 跟 Zend Framework 1.11.0 結合主要參考 http://pastie.org/481633 http://pastie.org/481635 使用.
目錄結構:[
]1
Posts
Zend Framework multidb 不好用我自己來 Mudb
源由 Zend Framework 的 multidb 有用過因該知道,只是可以把多跟資料庫加入連結 要用時候在拿出其中之一DB來用. 有做過大型連結資料庫的使用著因該深有同感. 你們常做的
Posts
Zend Framework + Smarty3 整合應用
承上篇 Zend Framework + Smarty2 + Smarty3 整合應用 我曾說過:之前有使用過ZFDebug 感受到整合便利性 所以對之前整合不甚滿意. 來看看最新版本~ 將附件內的Smarty
Posts
Zend Framework + Smarty2 + Smarty3 整合應用
在你開始閱讀前請先前往鐵神:Smarty 2 整合到 Zend Framework 1.10 閱讀完畢並了解. 之前有使用過ZFDebug 感受到整合便利性,於是在整合Sarmty 時想
Posts
Zend Famework 1.10.3 + ZFDebug
對基本架構不了解可先前往 鐵神: http://www.jaceju.net/blog/?p=1077 此架構為快速架構起始專案的設定 application.ini 內容 [production] phpSettings.display_startup_errors = 0 phpSettings.display_errors = 0 includePaths.library = APPLICATION_PATH "/../library" bootstrap.path = APPLICATION_PATH "/Bootstrap.php" bootstrap.class = "Bootstrap" appnamespace = "Application" resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" resources.frontController.params.displayExceptions = 0 ;resources.frontController.noViewRenderer = 1 autoloadernamespaces[] = "ZFDebug" ;Stand Databse
Posts
改造 ZF架構呼叫檔案方式
[ ][1] (點圖看大圖) 加了自己的 loadfiles class 改掉ZF LOADER 內的 static function loadFile 的 include 改為我的loadfiles class. 有看過原圖的人會發現大不同了. 原架構的ZF執行狀況[ ][2] *
Posts
Zend Framework(一)
Zend Framework 屁話:寫這些東西是一方面紀錄,並希望再寫完文章時成功開發一個專案. Zend Framework 我認為他是眾多”工具”的一個代表. 工具不就