Zend Framework Forum

Go Back   Zend Framework Forum > Zend Framework Extensions, Integration with third party > Integration with Third party tools

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-11-2009, 09:48 AM
thp thp is offline
Junior Member
 
Join Date: Jun 2009
Posts: 4
Default ZF + Dwoo teplate engine

I'm 2 days into using Zend framework and I just wanted to know whether anyone has successfully integrated Dwoo with version 1.8?

I seem to be able to find a tonne of information on integrating ZF with templating engines and third party tools, but they are all very old articles, don't seem to work very well with 1.8 or very poorly written docs.

Any help would be appreciated. Cheers.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-11-2009, 12:24 PM
Senior Member
 
Join Date: Sep 2008
Location: Croatia
Posts: 356
Send a message via MSN to Eugen
Default

1.8 is newest version of framework and it will take some time for 3th party code will be available (along with tutorials).

But you can always break the ice and publish your implementation
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-12-2009, 12:13 PM
thp thp is offline
Junior Member
 
Join Date: Jun 2009
Posts: 4
Default

I'll give it a go this weekend - but it won't be graceful, ha ha
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-22-2009, 03:13 PM
mdx mdx is offline
Junior Member
 
Join Date: Jul 2009
Posts: 1
Default

I deleted Dwoo autoloader, and used Zend_Loader.

in Bootstrap.php:
[PHP]
protected function _initAutoload(){

$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->setFallbackAutoloader(true);
$autoloader->registerNamespace(array('My_'));

$resourceLoader = new Zend_Loader_Autoloader_Resource(array(
'basePath' => APPLICATION_PATH,
'namespace' => '',
));
$resourceLoader->addResourceTypes(
array(
'model' => array(
'path' => 'models',
'namespace' => 'Model',
),
'dwoo' => array(
'path' => '../library/dwoo',
'namespace' => 'Dwoo',
)
)
);
}
[/PHP]

Now i put dwoo directly in library.

it really works.
Attached Images
File Type: jpg dwoo.jpg (9.2 KB, 6 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT. The time now is 12:15 PM.


Designed by: Miner Skinz Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0