Java Vs PHP

Discussion in 'Programming' started by Mohammad Asif Ali Zaman, Mar 7, 2013.

?

Are you like this??????????

  1. Yes

    50.0%
  2. NO

    50.0%
  1. #1
    hi!guys
    Today i want to know from you how you guys compare java with PHP also what you think about these languages..?????????????????????????????
    According to my point of view java is purely object oriented programing language which have two type of application ..stand alone application as well as applet ...for applet application we need web browser for running the applet..also Java J Query,java script are mostly used in the web application .............and i think more than 5 billion devices are running java.............

    On the other hand PHP is server side scripting language and mostly used now a days in web development for creating and maintaining the dynamic pages..

    so what you thinks share here with the others and enhance their knowledge about that two awesome languages????????..............thanks for all you that read and reply me
     
  2. PhillipCJ

    PhillipCJ Greenhorn

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #2
    You know what the connection between java and javascript is? I'll tell you. None!
    They are 2 different languages, and the name similarity is purely coincidental.

    However, if you want to learn a programming language that will enable you to develop web applications, my recommendation is PHP or Ruby. .NET is awesome too, but financially speaking, it's out of reach for most programmers.
    Java is more suitable for standalone, desktop applications.
     
    PhillipCJ, Mar 7, 2013 IP
  3. Anonimista

    Anonimista Peon

    Messages:
    12
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    3
    #3
    Just curious, why do you say that .NET is out of reach for most programmers?
     
    Anonimista, Mar 7, 2013 IP
  4. Mohammad Asif Ali Zaman

    Mohammad Asif Ali Zaman Member

    Messages:
    86
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #4
    i think you can learn any programing language if and only if you have interest in it ..so i don't think that any one not learn programing language like .net or other p.L so keep learning today..thanks but i think java is all the time best language i suggest you go for java..thanks
     
  5. Samkk

    Samkk Peon

    Messages:
    19
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    3
    #5
    php 5.3 oop,useful daily.
     
    Samkk, Mar 8, 2013 IP
  6. Mohammad Asif Ali Zaman

    Mohammad Asif Ali Zaman Member

    Messages:
    86
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #6

    yes but only for webdevelopment...are you know????
     
  7. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #7
    Javascript isn't Java any more than hamburger is ham. jQuery is a Javascript library, not a language.
     
    Rukbat, Mar 8, 2013 IP
  8. Mohammad Asif Ali Zaman

    Mohammad Asif Ali Zaman Member

    Messages:
    86
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #8
    java-script is not java so why we call javascript..........will you explain??????????????
     
  9. Samkk

    Samkk Peon

    Messages:
    19
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    3
    #9
    Can't agree more as I am a web worker.:)
     
    Samkk, Mar 8, 2013 IP
  10. Mohammad Asif Ali Zaman

    Mohammad Asif Ali Zaman Member

    Messages:
    86
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #10
    yes you go with php
     
  11. JustinasV

    JustinasV Member

    Messages:
    7
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    33
    #11
    I will explain. Actually, even better, I will google it for you:


    JavaScript, was originally named Mocha, later it was renamed to LiveScript, and then to JavaScript.
    The LiveScript to JavaScript name change came because Netscape and Sun did a license agreement.
    The language was then submitted for standarization to the ECMA International Organization. By that time, Netscape didn't allow the use of the "JavaScript" name, so the standarized language is named ECMAScript.
    JavaScript isn't actually an open name. Now it's a trademark of Sun (now Oracle).
    There still a lot of confusion, some people still think that JavaScript, JScript, and ECMAScript are three different languages.
    ECMAScript is the "standards" name for the language.
    JavaScript is technically a "dialect" of ECMAScript, the Mozilla Foundation can use "JavaScript" as the name of their implementations (currently present on the Rhino and SpiderMonkey engines).
    In the early days, Microsoft decided also to do what Netscape was doing on their own browser, and they developed JScript, which is also an ECMAScript dialect, but was named in this way to avoid trademark issues.

    http://stackoverflow.com/questions/2018731/why-is-javascript-called-javascript-since-it-has-nothing-to-do-with-java
     
    JustinasV, Mar 9, 2013 IP
  12. PhillipCJ

    PhillipCJ Greenhorn

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #12
    Not because it is too complex or too difficult to learn, but because it is not feasible for a start-up freelancer.
    If you are a programmer at the stage of choosing a language to learn, chances are that you do not have thousands of dollars to spend on a MS Visual Studio license.
     
    PhillipCJ, Mar 9, 2013 IP
  13. Samkk

    Samkk Peon

    Messages:
    19
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    3
    #13
    M$ Office = a big gold cow forever

    Agree.M$ may consider to set a lower entry price for vs or msdn series.

    For newhand,it is free at dreamspark or get the vs express version.
    C# and VB must be learned, and they are useful for such aspx type servers in many companies here.
     
    Samkk, Mar 9, 2013 IP
  14. Mohammad Asif Ali Zaman

    Mohammad Asif Ali Zaman Member

    Messages:
    86
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #14
    i am not satisfied with your answer! because you tell us about the histroy so kindly some up your answer what you like most java or php
     
    Mohammad Asif Ali Zaman, Mar 11, 2013 IP
  15. Magina™

    Magina™ Active Member

    Messages:
    258
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #15
    @Mohammad Asif Ali ::

    Javascript is completely different in Java. That's the way it is,,

    Javascript is a scripting language while Java is an OOP programming language.

    Javascript was created by Netscape people while Java was founded by James Gosling.
     
    Magina™, Mar 13, 2013 IP
  16. JustinasV

    JustinasV Member

    Messages:
    7
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    33
    #16

    You asked to explain why we call javascript a "javascript", although it's not java. That was an explanation for you - they share some history and those past events led to these specific names.

    I wasn't meaning to tell you which one - PHP or Java - I prefer, because that kind of comment wouldn't add any value whatsoever. Both languages have different purposes and you choose them because of your personal preferences and objectives.
     
    JustinasV, Mar 14, 2013 IP
  17. c4cyber

    c4cyber Well-Known Member

    Messages:
    1,040
    Likes Received:
    27
    Best Answers:
    1
    Trophy Points:
    150
    #17
    why dont' you search for your self?
     
    c4cyber, Mar 17, 2013 IP
  18. nazrulbd

    nazrulbd Greenhorn

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #18
    The topic was "Java vs PHP"
    I just want to say,
    to get this answer we must know --->What is OOP language & scripting language?
    I am not discussing the details about it, coz it is not so hard to get the answer. After getting the answer I think your confusion among JAVA, PHP & Java Script will be clear.

    Now I will tell you if you want to be a programer, whatever Web base or Desktop base. If your choice is web base software someone may suggest you learning PHP, but if you know something about C/C++ then i think you will select C/C++ . Most of the concept of C/C++ can be applicable in PHP even Java.

    So I'll suggest you to learn C/C++ first then you may switch to PHP if you want to work on web apps.
    I think it will be the best decision for a beginner.
     
    nazrulbd, Mar 18, 2013 IP
  19. VanessaMeacham

    VanessaMeacham Member

    Messages:
    112
    Likes Received:
    0
    Best Answers:
    3
    Trophy Points:
    36
    #19
    Dear Mohammad ! why do you Prefer only java? There are Many Interesting Programming Languages.
     
    VanessaMeacham, Mar 20, 2013 IP
  20. tricks2

    tricks2 Active Member

    Messages:
    427
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #20
    I honestly suggest you,
    PHP and Java both languages are most important for now a days.
    Php is one of the best language for server side supports. It is not a just language, it is a golden language for web developers.
    Java is very important for mobile device supports, most of the embedded systems controlled and run by java.

    So learn java and PHP.
     
    tricks2, Mar 23, 2013 IP