robert mena wrote:
> 
> I am assuming that there is
> no problem mixing non-namespace (such as the ZF 1.x) with my own classes
> that will use namespaces.
> 

For the most part, there are no problems.
You'll have to understand namespaces, autoloading, and include path setup to
read between the lines as you go through the ZF documentation since none of
it explains how to do anything with namespaces.

For instance,

The manual depicts:
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"

But if you've namespaced your bootstrap and put it in your library path, you
would need to use:

bootstrap.path  = SOURCE_PATH "/library/my/bootstrap/Bootstrap.php"
bootstrap.class = "my\bootstrap\Bootstrap"

BTW, "my" is just used as an example. I never use "my" as an actual
package/namespace in any project. I mention this because I've noticed that
some developers have taken this literally and deploy with library/my. Fine
if this is really what they want but I think some believe it is a standard
or something.


-----
--
Wil Moore III

Why is Bottom-posting better than Top-posting:
http://www.caliburn.nl/topposting.html
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Help-with-development-of-high-traffic-application-replication-media-management-with-ZF-tp2295544p2297928.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to