I need to know whether there is a way to write each Zend_Action in a separate file and include in the Zend_Controller.
(this is because I’m getting SVN conflicts always because me and my team are working in the same controller and tries to commit.)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As mentioned in my comment, you shouldn’t be having conflict problems. Conflicts should only occur when the same part of a file is edited differently by different authors. This is a good thing otherwise, how would you know which version to use?
To directly answer your question, the only approach would be to make your includes inside the action method bodies, eg
I would not advise this approach. Instead, sort out why you’re having conflict issues.