. Updated Daily. Editions SDA India   SDA Indonesia
JAX Asia 2008 - Conference for Enterprise Java, SOA, Spring, Web Services, Ajax, Agile and more
BUSINESS ENTERPRISE SOLUTIONS ARCHITECTURE INFORMATION SECURITY WIRELESS & MOBILITY DATA & STORAGE DEVELOPMENT HARDWARE













News

Thursday, 12 April 2007

Article: Learn to Package Zend Framework in Symfony Plugin

 

 

Dave Dash minimizes the Zend Search Lucene tutorial and presents the bits and pieces to you. He had packaged the Zend Framework into a Symfony plugin.

He gives you the following command to obtain it:

svn export http://svn.symfony-project.com/plugins/sfZendPlugin

He informs you that Symfony has a Zend Framework Bridge which let’s you to autoload the framework by adding the following to settings.yml:

.settings:
zend_lib_dir: %SF_ROOT_DIR%/plugins/sfZendPlugin/lib
autoloading_functions:
- [sfZendFrameworkBridge, autoload]


After setting this up, he defines sf_zend_lib_dir in your plugin’s lib directory. Then, he says to autoload the bridge framework.

He adds that after the setting is done all the Zend classes will be available and auto-loaded from elsewhere in your code.

 
 
print save email comment

print

save

email

comment

 
 

Search SDA Asia

Free eNewsletter

SDA Asia Magazine Free Download
 
 
 
Copyright @ 2008 SDA Asia Magazine - All Right Reserved Privacy Policy | Terms of Use