Using Zend Framework components in CI |
[eluser]JoostV[/eluser]
Hi all, Fred Wu posted a good tutorial on using Zend Framework components in your CI app. He created a library that you only need to load if you're going to use it. This means no overhead until you actually call the class (unlike the hook used by Daniel Vecchiato -who is greatly admired nonetheless- that sets your include_path whether you use ZF or not) Zend Framework has component with great functionality, such as - API classes for use with numerous web services such as Flickr, GData, Twitter, etc - A great Caching class, that also does partial caching and function caching - Session and Auth classes - Feed parser class - Etc. A lot of these classes can be used stand-alone. After you've copied ZF and created the Zend library class, here's an example controller zendtest.php that uses Zend_Service_Flickr and Zend_Cache Code: <?php if (!defined('BASEPATH')) {exit('No direct script access allowed');} |
Messages In This Thread |
Using Zend Framework components in CI - by El Forum - 12-12-2008, 04:01 AM
Using Zend Framework components in CI - by El Forum - 12-12-2008, 04:10 AM
Using Zend Framework components in CI - by El Forum - 12-12-2008, 06:28 AM
Using Zend Framework components in CI - by El Forum - 12-12-2008, 06:37 AM
Using Zend Framework components in CI - by El Forum - 12-12-2008, 06:46 AM
Using Zend Framework components in CI - by El Forum - 12-12-2008, 07:57 AM
Using Zend Framework components in CI - by El Forum - 12-12-2008, 08:14 AM
Using Zend Framework components in CI - by El Forum - 12-13-2008, 11:17 PM
Using Zend Framework components in CI - by El Forum - 12-14-2008, 04:10 PM
Using Zend Framework components in CI - by El Forum - 12-15-2008, 02:59 AM
Using Zend Framework components in CI - by El Forum - 12-15-2008, 02:59 AM
Using Zend Framework components in CI - by El Forum - 12-15-2008, 04:31 AM
Using Zend Framework components in CI - by El Forum - 12-15-2008, 06:28 AM
Using Zend Framework components in CI - by El Forum - 12-15-2008, 08:14 AM
Using Zend Framework components in CI - by El Forum - 12-15-2008, 09:27 AM
|