News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Location, Location, Location
June 02, 2009 @ 09:39:03

In a new tutorial on the Zend Developer Zone, Sam reminds us that, sometimes, it's all about "Location, Location, Location" with Zend Framework applications.

I was having a conversation with a client recently on the topic of best practices. He asked me: "Where should I put the Zend Framework source code?" This is an excellent question that can not only be applied to Zend Framework, but to similar frameworks also. The question has in fact two answers in my opinion, which answer is right for you depends on how you answer this question.

He answers the question by asking a question of his own - is ZF part of your application or of your environment? There's (basically) two different paths to follow here and that question is the branching point. If its in the app, he recommends keeping it closely tied and in the "/library" of the app. If not, then it's recommended to place it out where multiple applications could get to it.

There's also third option, hybrid of the two that allows you to both keep the application split off on the backend but closely tied in deployment.

0 comments voice your opinion now!
library zendframework location


blog comments powered by Disqus

Similar Posts

Stijn Leenknegt's Blog: [PHP6] function-return-array idea!

Padraic Brady's Blog: The Mysteries Of Asynchronous Processing With PHP - Part 2 (CLI applications)

Eran Galperin's Blog: Profiling queries with Zend_Db and optimizing them by hand

Zend Developer Zone: PHP: Performance, Scalability, and Web Services Podcast

The Credence Blog: PHP frameworks - Which one is Most Suitable for you?


Community Events





Don't see your event here?
Let us know!


laravel deployment podcast community symfony update bugfix language api interview opinion library framework series release tips zendserver package introduction install

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework