What do you think which language is best for dynamic webpage PHP or Java? And why.. Please suggest me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 12

What do you think which language is best for dynamic webpage PHP or Java? And why.. Please suggest me

24th May 2018, 12:49 PM
Creative Coder
Creative Coder - avatar
8 Answers
+ 18
I prefer PHP. It is simpler and faster to develop websites with PHP. Java is too slow for this purpose.
24th May 2018, 3:30 PM
Igor Makarsky
Igor Makarsky - avatar
+ 7
PHP as it is mostly used in making webpages. Java is mostly used for android development.
24th May 2018, 12:53 PM
☇☇The Flash☇☇
☇☇The Flash☇☇ - avatar
+ 4
Really it just depends on what the website is used for and what it's doing. Which part of it is dynamic and what's the overall purpose of the site? Java can do really amazing things in regards to web applications, and PHP is certainly capable of loading in dynamic content. Personally, I'd go with something like NodeJS. It performs and scales much better. It should be able to accomplish whatever you're trying to accomplish.
24th May 2018, 2:01 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 4
you can also use python for backend its a great choice to go with python ... but i prefer php ..
24th May 2018, 4:34 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 2
Well, recently java is now under complete open source maintained by Oracle, Google, IBM, SAP and community. this is the point you may consider to guarantee performance and the future of the language development. spring framework/java actively developed by pivotal, offers convinient over configuration. The framework is great for agile and microservices also support Reactive programming. Developing web app is now easy in java.
25th May 2018, 2:30 AM
Radityo Perwianto
Radityo Perwianto - avatar
+ 1
anisha I think PHP will be a right choice
24th May 2018, 3:43 PM
suraj verma
suraj verma - avatar
+ 1
while talking about php and java for web development php is better choice as it is made for same task. (but you can considered javascript too if server-side or client-side doesn't differ you.js makes your page load faster as the code runs in client devices)
24th May 2018, 4:25 PM
sudeep niroula
sudeep niroula - avatar
0
Java is a programing language . It's use for develop android application and other software. Php is a scripting language . So it's good and fast for develop website etc. Because scripting language are run to browser.
15th May 2019, 5:29 AM
Harendra Singh Negi
Harendra Singh Negi - avatar