Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 02-17-2013, 12:43 AM   #1
Beta Member
 
Join Date: Feb 2013
Location: Australia
Posts: 2
Default Where is Java these days?

Hi

I was just about to start a website in java, but it seems everyone is using php.... What's with that? Should I be switching over to PHP?
Is that better than Java for some reason?
This will be my first website. I have done a little java programming, but I do have some php books here. So, what to do? It's an e-commerce website.

Dave.
__________________

Bucephalus is offline   Reply With Quote
Old 02-17-2013, 08:39 AM   #2
Daemon Poster
 
dale's Avatar
 
Join Date: Mar 2012
Location: Taiwan
Posts: 1,008
Default Re: Where is Java these days?

It depends on what you are looking at, i.e., whether you are looking at big web projects or not. If you sample from smaller sites on-line where running Java itself is considered to be a sizeable resource overhead, then you are going to find a lot more PHP than Java.
__________________

__________________
distrACT -- an open community
● It helps to ask questions effectively
● Please join Server admins social group if you are into servers
dale is offline   Reply With Quote
Old 02-17-2013, 03:03 PM   #3
BSOD
 
Join Date: Feb 2013
Location: Parallel Universe
Posts: 313
Default Re: Where is Java these days?

if everyone switched to php, I would not write java anymore.

so i bloody hope not!
XPikachu is offline   Reply With Quote
Old 02-20-2013, 10:00 AM   #4
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: Where is Java these days?

Quote:
Originally Posted by Bucephalus View Post
Hi

I was just about to start a website in java, but it seems everyone is using php.... What's with that? Should I be switching over to PHP?
Is that better than Java for some reason?
This will be my first website. I have done a little java programming, but I do have some php books here. So, what to do? It's an e-commerce website.

Dave.
Actually, not everyone is using PHP at all - there's never been a more vast array of server side languages used. PHP actually seems (to me) to be used a bit less than it was a few years ago, with a lot of new contenders coming up (Django, Rails, ASP.NET, Spring Roo, etc.)

PHP is arguably easier than Java, but is a less rigid language (loosely typed.) Pick what you're most comfortable with or you want to learn. The one advantage PHP does have is that if you're planning to host it somewhere, PHP support is much wider (almost universal) amongst most hosts, whereas you may have to shop around a bit more to find equivalent Java hosting.

Of course, Java applets are fading fast and for most intents and purposes all but dead - but that's completely different from server side.
__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 02-20-2013, 06:02 PM   #5
BSOD
 
Join Date: Feb 2013
Location: Parallel Universe
Posts: 313
Default Re: Where is Java these days?

what i did was try to write some simple games where you connect atoms to make molecules.

i.e 2x H + 1x O=H2O

or C + Hx2 + O2=CH20

or H2 + O2=H2O2

XPikachu is offline   Reply With Quote
Old 02-20-2013, 06:37 PM   #6
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: Where is Java these days?

Quote:
Originally Posted by Pikachu View Post
what i did was try to write some simple games where you connect atoms to make molecules.

i.e 2x H + 1x O=H2O

or C + Hx2 + O2=CH20

or H2 + O2=H2O2

I believe you're talking about client side Java applets - very different from using Java as a server side technology, which is I believe what's being discussed here.
__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 02-20-2013, 06:44 PM   #7
BSOD
 
Join Date: Feb 2013
Location: Parallel Universe
Posts: 313
Default Re: Where is Java these days?

^^^correct, i dont use java as server side tech, just applets that are not relesed since i'm not good at debugging.
__________________

XPikachu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 05:15 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0