PHP Vs JAVA - Who is best ? Why mobile apps require java , and why not php?

Discussion in 'PHP' started by balaji153, Jul 10, 2010.

  1. #1
    i already ask my question in the title itself...

    PHP Vs JAVA - Who is best ? Why mobile apps require java , and why not php?

    Java - JSP , J2EE , J2ME ,JDK and now mobile app development also using java.....

    Android , symbian .... every thing require java.

    Why not php i used for mobile development ??
     
    balaji153, Jul 10, 2010 IP
  2. Oxi

    Oxi Peon

    Messages:
    78
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    PHP is a web scripting language and can only be used in conjunction with a web browser.
    Java is a object oriented programming language and therefore like other mobile application languages such as python, c, c++, pascal and objective c you can develop an efficient application for the desired platform.
     
    Oxi, Jul 10, 2010 IP
  3. netload

    netload Member

    Messages:
    105
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #3
    PHP is object oriented language too.

    PHP has a lot of software requirements and has not user interface classes (PHP use html instead that). So, PHP is powerfull web-programing language, and Java is universal language.
     
    netload, Jul 10, 2010 IP
  4. balaji153

    balaji153 Peon

    Messages:
    96
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    why guys we can't make php into universal language
     
    balaji153, Jul 10, 2010 IP
  5. netload

    netload Member

    Messages:
    105
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #5
    Because it is foolishly.

    People ride in buses, carry cargo in trucks. For each task there is a solution.
     
    netload, Jul 10, 2010 IP
  6. balaji153

    balaji153 Peon

    Messages:
    96
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    but how come java is capable for all kind of solution ,, then why not php can
     
    balaji153, Jul 10, 2010 IP
  7. Rainulf

    Rainulf Active Member

    Messages:
    373
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    85
    #7
    Because Java has been around since forever, it's a very mature language. Besides, PHP is a scripting language - very different from Java, it's more limited than java.
     
    Rainulf, Jul 10, 2010 IP
  8. Oxi

    Oxi Peon

    Messages:
    78
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #8
    PHP does have OOP principles yes but not to the extent Java does...atleast not yet. Besides In my opinion PHP isnt a true programming language anyway....
     
    Oxi, Jul 10, 2010 IP