anyone know both php and java?

chvs2000

New member
I am java developer learning php. From an overview of php i feel java is more elegant approach with mvc framework and orm tools. I feel like developing with php means writing the entire code jsps.

is that true?
 
I know both very well, and I think PHP uses less code to do the same thing. I hear that interpreters are much faster than JVMs as well. MVC is what makes Java better for enterprise systems, because it's easier to combine forces. If you ask which one is better, most people will say, "PHP for web" and "Java for business."
 
PHP is a very Flexible language which also makes it very dangerous. It's very easy to think it's a very shallow language that you have mastered after doing a few scripts.

But in reality it can be very complex and deep. I've heard a lot of people complain about the lack of structure in php. If that's your concerned and you're interested in using an MVC style you should look into using a PHP framework

Personally i like cakephp ( cakephp.org), they use and MVC model and have modeled a lot of their concepts after ruby on rails.
 
Back
Top