[fw-general] Team Development

2010-08-06 Thread Paul
I was wondering if anyone had some good resources on the topic of working on a project with a team of php developers. In particular looking at the local setup for a developer. Should each developer have their own LAMP instance (probably using a VM)? Or is it better to have one centralized de

Re: [fw-general] Team Development

2010-08-06 Thread Hector Virgen
We have each developer set up their own dev environment on their local machine. At my previous company we shared a dev server and it was a daily occurence that someone would "kill dev" by running an unoptimized query or infinite loop. But each developer running their own dev instance is not withou

Re: [fw-general] Team Development

2010-08-06 Thread Paul
Right. Another issue with a centralized dev server, is using debugger tool to add breakpoints. In terms of every developer getting their own copy, how do you manage custom extensions. If we need to installed say an extensions and update a php.ini file, managing this across a team of develope

Re: [fw-general] Team Development

2010-08-06 Thread Paul
Not to mention, managing slightly different versions or say having some of your projects running on php5.2 and others on php5.3. On 8/6/2010 11:49 AM, Paul wrote: Right. Another issue with a centralized dev server, is using debugger tool to add breakpoints. In terms of every developer ge

Re: [fw-general] Team Development

2010-08-06 Thread Hector Virgen
We use Apache Maven to create builds and handle dependencies. It can automatically configure Apache for each project and probably PHP too (haven't tried this). It usually takes a little bit of time to set up each dev environment so we keep instructions posted on our internal wiki. Most of it is pr

Re: [fw-general] Team Development

2010-08-06 Thread Paul
I agree, one of the benefits of having the local environment is forcing your developers to understand apache and setting that up. Can you run two instances of Zend Server CE, one w/ php5.2 the other with php5.3? Also does Zend Server CE, offer a way (was looking through documentation yesterd

Re: [fw-general] Team Development

2010-08-06 Thread Paul
We currently use PHING, I have heard of Apache Maven, will look into this. On 8/6/2010 12:00 PM, Hector Virgen wrote: Apache Maven

Re: [fw-general] Team Development

2010-08-06 Thread Deborah Dalcin
Should also check out tortoise subversion. It's not without it's problems, but it's a pretty solid tool. On Fri, Aug 6, 2010 at 12:18 PM, Paul wrote: > We currently use PHING, I have heard of Apache Maven, will look into this. > > On 8/6/2010 12:00 PM, Hector Virgen wrote: > >> Apache Maven >>

Re: [fw-general] Team Development

2010-08-06 Thread Paul
Well Tortoise Subversion is just a svn client. I have that all sorted. The issue is where are the local copies stored. Centralized dev server or each developer local machine. Wanted to see most organizations do, and some best practices. On 8/6/2010 1:51 PM, Deborah Dalcin wrote: Should als

Re: [fw-general] Team Development

2010-08-06 Thread Matthew Weier O'Phinney
-- Paul wrote (on Friday, 06 August 2010, 12:15 PM -0400): > Can you run two instances of Zend Server CE, one w/ php5.2 the other with > php5.3? Yes. Zend Server has FastCGI enabled, so you can have mod_php with one version of PHP, and create FastCGI vhosts for running projects on other version

Re: [fw-general] Team Development

2010-08-06 Thread Paul
Thanks! That will makes our lives easier, as we are in the process of moving towards 5.3 (getting ready for ZF2!). So you recommend going with each developer having his/her own local stack rather than central dev server? Do you recommend VM for this to keep the environments similar? On 8/6/

Re: [fw-general] Team Development

2010-08-06 Thread Mike A
On 06/08/2010 19:14, Paul wrote: Well Tortoise Subversion is just a svn client. I have that all sorted. The issue is where are the local copies stored. Centralized dev server or each developer local machine. Wanted to see most organizations do, and some best practices. On 8/6/2010 1:51 PM

Re: [fw-general] Team Development

2010-08-06 Thread Paul
Very cool. Agree Jason, we should blog about these experiences. So surprised there is not more online about this. Anytime I find anything it is so Java-centric. I think it's so important for the PHP community to have our own perspective and identity. I don't want us to follow all of Java'

Re: [fw-general] Team Development

2010-08-06 Thread Paul
On 8/6/2010 2:57 PM, Mike A wrote: On 06/08/2010 19:14, Paul wrote: Well Tortoise Subversion is just a svn client. I have that all sorted. The issue is where are the local copies stored. Centralized dev server or each developer local machine. Wanted to see most organizations do, and some

[fw-general] Zend Framework 2.0.0dev1 Release

2010-08-06 Thread Matthew Weier O'Phinney
Yesterday, the Zend Framework team tagged the first development milestone of Zend Framework 2.0 (2.0.0dev1). It is immediately downloadable from the Zend Framework servers: * Zip package: http://framework.zend.com/releases/ZendFramework-2.0.0dev1/ZendFramework-2.0.0dev1.zip * tar.gz package

Re: [fw-general] Team Development

2010-08-06 Thread Matthew Weier O'Phinney
-- Paul wrote (on Friday, 06 August 2010, 02:59 PM -0400): > Thanks! That will makes our lives easier, as we are in the process > of moving towards 5.3 (getting ready for ZF2!). > > So you recommend going with each developer having his/her own local > stack rather than central dev server? > > D

Re: [fw-general] Team Development

2010-08-06 Thread Jason Austin
We worked in the single-dev-server environment for a long time, but in the last year have moved to our own local development stacks. So far, that has worked out a lot better and is far less error prone. The biggest problem that we have had is just the minor nuances that come with developing on an

[fw-general] setDestination in Zend_Form_Element_File

2010-08-06 Thread zensys
I try to upload a file to a directory using setDestination but the file ends op in /tmp, whatever I try. Here's my code: class forms_ImportForm extends Zend_Form { public function __construct($options = null) { parent::__construct($options); $this->setName('import');

Re: [fw-general] Team Development

2010-08-06 Thread Jason Austin
svn:externals saved our butts on a lot of that. We setup ZF as externals in our projects so every time a new instance of the project is checked out, the ZF library is local to the product in the htdocs folder. I realize lots of people like using a central ZF library, but keeping them as externals

[fw-general] Re: setDestination in Zend_Form_Element_File

2010-08-06 Thread ukanga
I think you need to invovle Zend_File_Transfer somewhere. Could you check this blog post http://ahsangill.wordpress.com/2009/02/17/zend-framework-file-upload-using-zend_form_element_file/, it helped me out when I had to do a file upload. Regards, Ukang'a Dickson On Fri, Aug 6, 2010 at 9:19 PM,

Fwd: Re: [fw-general] Zend Framework 2.0.0dev1 Release

2010-08-06 Thread Mike A
Documentation availability/plans? On 06/08/2010 20:24, Matthew Weier O'Phinney wrote: Yesterday, the Zend Framework team tagged the first development milestone of Zend Framework 2.0 (2.0.0dev1). It is immediately downloadable from the Zend Framework servers: * Zip package: http://fr

Re: Fwd: Re: [fw-general] Zend Framework 2.0.0dev1 Release

2010-08-06 Thread Matthew Weier O'Phinney
-- Mike A wrote (on Friday, 06 August 2010, 08:35 PM +0100): > Documentation availability/plans? (Evidently you CC'd me, so pardon the two replies.) Documentation will come at a later date, for a variety of reasons. First, this is a development snapshot -- a very, very early sneak peek at ZF2.

[fw-general] Zend_Navigation menu links rendering bug?

2010-08-06 Thread jiewmeng
i am having this scenario where when i goto a url like /posts/add, my menu items will all render posts/add. when i goto /posts its all right my http://pastebin.com/RfAfxkwE nav config -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Zend-Navigation-menu