We are occasionally in a position to take over PHP based projects, but as we are a Java-house we are searching for ways to turn a PHP-project (or codebase) into a Java-project.
The approaches we came up to work in a mixed Java/PHP context are :
- PHP in frontend and Java in backend with separate front (PHP+JavaScript) and back (Java+SQL) teams
- using both technologies in a Java webapp, for example via Quercus with one or multiple teams
- migrating everything to Java
We haven't tried any of these approaches as we've been lucky enough to have enough Java-only projects to work on.
Do you see other approaches, or have you tried any of the described approaches?