How to clone git to a server?

What is the best configuration for a PHP/MySQL platform and Git version control and a suitable framework that developers only access to some parts of some projects?

  • Actually I'm searching for a configuration in a small office with at least 10 developers, platform is PHP/MySQL and version control is Git and framework maybe CodeIgniter or any other suggested , the concept is for large projects each developer only access to some parts of each project and can develop and test that part and not clone whole source code, but a manager can access to all parts of all project and can have a test on them, finally all could be cloned to a live server.

  • Answer:

    You are describing a modular project when you refer to particular developers only working on specific parts, Codeigniter is not the framework you want to use. While Codeigniter doesn't support modules out of the box, you can hack support for them into your Codeigniter app using Modular Extensions HMVC. But my advice would be to use something more modern as the company behind Codeigniter are looking for a fee owner and have yet to find one to take on the project... My advice would be to consider Laravel, Kohana or FuelPHP. I used to religiously use Codeigniter but now I use Kohana. Any of the ones I recommended support a HMVC modular application from the start. Once you have your framework, build out each piece of functionality as a module. Think of modules as separate apps within your main app. You would then allow particular developers to access whatever modules you want them working on. These frameworks also have support for unit testing your code and modules. So once a developer pushes their code, you could have automated testing setup and keep things nice and efficient.

Dwayne Charrington at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.