1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

PHP or Java?

Discussion in 'Programming' started by charlesbrown678, Feb 9, 2012.

  1. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #61
    @CodeBeast is giving me so many wtf moments it's making my head spin. And now he thinks Apache is written in Java. How bizarre can you get?
    SEMrush
     
    drhowarddrfine, Feb 26, 2012 IP
    SEMrush
  2. CodeBeast

    CodeBeast Well-Known Member

    Messages:
    462
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    105
    #62
    isn't apache tomcat a pure java server? :)
     
    CodeBeast, Feb 26, 2012 IP
  3. sarahk

    sarahk iTamer Staff

    Messages:
    26,435
    Likes Received:
    3,956
    Best Answers:
    111
    Trophy Points:
    665
    #63
    Big corporate systems like PeopleSoft use Java (or did back when I had a regular job) so it must have something going for it. I used to get so frustrated because to do the same job in VBA (also used by PeopleSoft) or PHP (not used at all) would take a handful of lines of code while the java gave us all sorts of versioning and migration problems.

    I suspect that few of us are sufficiently experienced in both systems to be able to give a rational review. For all that CodeBeast may be making unpopular comments it does atleast sound like s/he's thought about it.

    These 2 add nothing to the discussion.

     
    sarahk, Feb 26, 2012 IP
  4. peterpaul877

    peterpaul877 Member

    Messages:
    37
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #64
    Java is the best because it have more security feature than PHP.
     
    peterpaul877, Feb 27, 2012 IP
  5. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #65
    Apache is written in C. Tomcat is a server that runs a Java environment. It's not the same thing as Apache. How deep the Java code goes, I'm not sure.
     
    drhowarddrfine, Feb 27, 2012 IP
  6. opsftw

    opsftw Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #66
    ..How is php and java comparable in any way shape or form? or do you mean JavaScript? because Java is very different from JavaScript.......
     
    opsftw, Mar 9, 2012 IP
  7. Ardolix

    Ardolix Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #67
    Agree, maybe JSP.
     
    Ardolix, Mar 9, 2012 IP
  8. opsftw

    opsftw Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #68
    Haha yeah I was about to say.. kind-of a large difference there...:confused:
     
    opsftw, Mar 9, 2012 IP
  9. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #69
    Ha Ha..yes...yes..hahahahahhahaha. lolololol :D:eek:;)
     
    drhowarddrfine, Mar 10, 2012 IP
  10. DSKANK888

    DSKANK888 Active Member

    Messages:
    155
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #70
    They both have different purpose. Yes JAVA is good for standalone desktop applications and large Enterprise solutions. Whereas PHP is a web optimised server side scripting language, which is intended to work with web technologies such as HTML/CSS/Javascript.

    Many developers from a traditional background learn a full blown lanaguage such as JAVA or C, then add scripting languages like PHP, ASP, or Python to their bow.

     
    DSKANK888, Mar 10, 2012 IP
  11. RobertStev

    RobertStev Peon

    Messages:
    92
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #71
    both are good use what you like
     
    RobertStev, Mar 10, 2012 IP
  12. deMiracles

    deMiracles Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #72
    Java & PHP are fine .

    if u want web development go to PHP else Java :D
     
    deMiracles, Mar 10, 2012 IP
  13. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #73
    Yes PHP is the best! Or go with Java. It's the best!
     
    drhowarddrfine, Mar 11, 2012 IP
  14. mical

    mical Greenhorn

    Messages:
    63
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    18
    #74
    java is the best language
     
    mical, Mar 14, 2012 IP
    CodeBeast likes this.
  15. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #75
    This is the best comment and I agree. PHP is the best language!
     
    drhowarddrfine, Mar 14, 2012 IP
  16. andolasoft

    andolasoft Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #76
    * I think Java is more of an industry standard, whereas PHP seems to be popular among hackers and hobbyists.
    * Java provides better separation of layers - key for testability. PHP has all the code embedded in the page, so you have to run it through a browser to test if database connections work (for instance).
    Java is more scalable.
    * More folks know Java and it's easier to qualify someone's Java skills. How do you test someone knows PHP? Is there a certification?
    * More for-profit organizations use it.
    * Java has a much wider range of application. It's also much harder to learn. If you know perl, you can pick up PHP in no time anyway.
     
    andolasoft, Mar 20, 2012 IP
  17. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,562
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #77
    No its not. Depends on the script.

    Facebook, Wordpress, this site, most others.

    A lot are ASP/.NET based. Very, very few are Java.


    Code and script are the same thing. There is a difference between scripts and programs, but Java Server Pages are made of scripts as well, or "scriplets" as they are known.

    Apache TomCat is. The widely used Apache server is written in C.

    Also the clients don't need JRE to run websites using Java ServerPages since all the Java is being processed on the server and is just outputting HTML.
     
    blueparukia, Mar 20, 2012 IP
  18. QualityBacklink

    QualityBacklink Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #78
    I think Jave is the best!
     
    QualityBacklink, Mar 21, 2012 IP
  19. princealone

    princealone Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #79
    PHP is different from JAVA as java is a platfor independent language and it is not very easy to learn u have to stugle a lot but once u got th e language then it rocks
     
    princealone, Mar 23, 2012 IP
  20. regenesis

    regenesis Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #80
    For App development i would suggest you to go with JAVA. :)
     
    regenesis, Mar 26, 2012 IP