Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Which is better for web development Java or PHP ?

user-image
Question added by Yousef Sawalha , Software Development Director (SaaS Cloud Solutions) , Talentera
Date Posted: 2013/06/15
sathish balachandran
by sathish balachandran , Technology

depending on the requirements it wil change.
HP is always good for creating small medium level web sites.
Java is robust compared to PHP and its used for developing websites with such requirements.

Maroof Ahmad
by Maroof Ahmad , Project Lead , Tech Mahindra

Java is better for large scale application, PHP is okay for small applications.

Deleted user
by Deleted user

Really depending on requirements and target.
If you are developing for business or personal use.
I would not recommend Java-based web development for personal websites.
Why? It is resource intensive and too complicated for the purpose.
Imagine developing classes and maintaining correct relationships between them, interfaces and any other view based technology.
If java is used, the requirement mainly should be MVC based design and implementation.
On the other hand, from my experience, PHP is very quick (and that doesn't mean dirty) and straight-forward.
Although a developer can choose to create the classes and use OOPs concepts, if the job is small and an interim solution, then why go through the whole development cycle to support a fix?!.
There is no really best...it all depends on requirements.
Nevertheless, in business environment where critical data and operation at stake, Java could be praised for security (although JVM has had its issues).

Deleted user
by Deleted user

What starts in PHP ends in Java

Deleted user
by Deleted user

Java is equally good because most of the fancy features are done on the front-end with JavaScript. Java web development frameworks such as GWT (Google Web Toolkit), Spring and Play! are very solid.With that said, Java is a little bit more difficult to develop small applications quickly.  The learning curve for Java EE is notoriously quite steep.  I find PHP and Node.js Express to be much easier to learn for web application development. The static typing in Java allows larger web applications to become more manageable.

Mohamad Deek
by Mohamad Deek , Team Lead | Senior Software Developer , Switch Technology

Having on the right skills, any web application can be done in both. But generally it depends on the client's requirements and current IT infrastructure. Personally I find PHP easier, and straight to the point.

Sameer Mohammed ali
by Sameer Mohammed ali , IT Engineer , KMC Holding

IT depends on the requirement.
Java is Large Scale Application and PHP is Suitable for Smaller Application.IF Client Require is Large Scale Application then they can go for Java. 
IF the Client Requires small Application only then they can go for PHP.

Awwab Ahmed
by Awwab Ahmed , Web-Developer, Graphic-Designer. , Conobio

Java has some rich features while compare to php, 

But most of the developer prefer, templates work done, plugins, Wordpress, joomla ,drupal are on Php.  

Yusuf Abdulrahman
by Yusuf Abdulrahman , Ict Manager , ABUTH

Java is hard but good while php is easier and better

Mohammad Ahmad Siddiqui
by Mohammad Ahmad Siddiqui , Sr.Software Engineer , GSPANN Technologies Inc

Hey, Its depended on client requirement large application using java or small application using php.

Shiny James
by Shiny James , Web Designer And Developer , Emirates secretarial services

Java is better for web development.

More Questions Like This