Web based game development, Java/JSP or PHP?

Web based game development, JSP or PHP?

Page 1 of 1

5 Replies - 5131 Views - Last Post: 30 May 2010 - 11:12 PM Rate Topic: -----

#1 Guest_Mak*


Reputation:

Web based game development, Java/JSP or PHP?

Posted 28 May 2010 - 12:26 AM

I am interested in web based game development, like Mafia wars.

My database would be MySQL
But what should i choose for my front end, Java/JSP or PHP?

Please suggest some Pros and cons of both?

Experienced professional web based game developers, please comment :)

Mak

Is This A Good Question/Topic? 0

Replies To: Web based game development, Java/JSP or PHP?

#2 ghqwerty  Icon User is offline

  • if($spareTime > 0){ $this->writeCode(); }
  • member icon

Reputation: 43
  • View blog
  • Posts: 903
  • Joined: 08-August 08

Re: Web based game development, Java/JSP or PHP?

Posted 28 May 2010 - 04:11 AM

personally i would choose to use php but add lots of ajax functionality.

i dont have much experience with jave so i cant comment much on that but php and ajax is very easy to pick up and with a good balance can be used to do just about anything you want it to
Was This Post Helpful? 0
  • +
  • -

#3 MakDeveloper  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 28-May 10

Re: Web based game development, Java/JSP or PHP?

Posted 28 May 2010 - 07:31 AM

If i use PHP then are there any good php frameworks? or should i just rely on PHP Ajax calls directly to database?
Was This Post Helpful? 0
  • +
  • -

#4 nick1200  Icon User is offline

  • Php Coder
  • member icon

Reputation: -19
  • View blog
  • Posts: 922
  • Joined: 21-March 09

Re: Web based game development, Java/JSP or PHP?

Posted 28 May 2010 - 01:06 PM

I have made a rpg in php
The whole site is made in php
and it all works fine and has a lot of users so yea
id pick php over java script if u mean java script
There are sites out there that are built in java there whole site
There are tools out there ( firebug )
That lets you tamper with java script

But if you know java go for java if you don't know php or java go for php

and when i say java i mean java not java script java script is the worse thing to build a game on seen has everything is stored on the users computer

Hope ive helped
Was This Post Helpful? 0
  • +
  • -

#5 MakDeveloper  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 28-May 10

Re: Web based game development, Java/JSP or PHP?

Posted 30 May 2010 - 11:06 PM

I have mostly worked on business web applications using Java/JSP/Struts/Ajax so i was wondering if i can use the same technology for game development also, or should i switch to PHP/Ajax, as learning it wont be a problem.

Also what database they use behind web based games like Mafia wars, as they have so many users, can MySQL handle such loads of users?
Was This Post Helpful? 0
  • +
  • -

#6 macosxnerd101  Icon User is offline

  • Self-Trained Economist
  • member icon




Reputation: 10805
  • View blog
  • Posts: 40,278
  • Joined: 27-December 08

Re: Web based game development, Java/JSP or PHP?

Posted 30 May 2010 - 11:12 PM

If you are really experienced with Java and J2EE technologies, then that might be the way to go. Having worked with PHP and seen a little of J2EE, I would say PHP will be a lot easier to work with as it abstracts so much that Java/J2EE does not. However, you also sacrifice a ton of freedom and control. The choice is yours, and if you have some familiarity with PHP, I would encourage that option because it is relatively easy to work in and doesn't take much to pick up if you are comfortable with Java.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1