Welcome Guest, Not a member yet? Register   Sign In
Using Zend Framework components in CI
#9

[eluser]fredwu[/eluser]
[quote author="mihailt" date="1229107610"]the main improvement is usage of Zend_Loader class over direct require_once call.[/quote]

From the Zend Framework user guide:

Quote: Zend_Loader vs. require_once()

The Zend_Loader methods are best used if the filename you need to load is variable. For example, if it is based on a parameter from user input or method argument. If you are loading a file or a class whose name is constant, there is no benefit to using Zend_Loader over using traditional PHP functions such as require_once().

I think it really depends on the usage to justify it as an 'improvement'. Smile


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



Theme © iAndrew 2016 - Forum software by © MyBB