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.

Which is best?

Discussion in 'PHP' started by mukulpom, Nov 8, 2011.

  1. #1
    Who is best, HTML or PHP or Java?
     
    mukulpom, Nov 8, 2011 IP
  2. mfscripts

    mfscripts Banned

    Messages:
    319
    Likes Received:
    4
    Best Answers:
    8
    Trophy Points:
    90
    Digital Goods:
    3
    #2
    They all serve different purposes and hence are project dependant. i.e.

    "which is best for creating a formatted newsletter?" - HTML
    "which is best for building a web based eccommerce application?" - PHP
    "which is best for a cross platform GUI app?" - Java

    It really depends on it's purpose. If it's for dynamic web based development then PHP is the one to look at.
     
    mfscripts, Nov 9, 2011 IP
  3. proactiv3

    proactiv3 Peon

    Messages:
    55
    Likes Received:
    7
    Best Answers:
    4
    Trophy Points:
    0
    #3
    HTML is a markup language. Comparing HTML to PHP or Java is just plain wrong.

    The purpose of HTML\CSS is to tell the browser how to correctly render some information. It isn't capable of preforming any kind of logic, it's sole purpose is to place and style the elements correctly on your browser.

    PHP is a scripting language developed specifically to create applications for the Web. It has a small learning curve, it doesn't enforce object orientation (although currently supports), it's open, it has a great community and it's widely supported by (virtually) every web hosting company out there.

    For all the reasons pointed before it has rightfully become one of (if not the) most popular languages for web development.

    Java is "all round purpose", object oriented language. It's portable (as any application that you write in JAVA will run on top the Java Virtual Machine), it's well documented and it's widespread.

    "Out of the box" it enforces the programmer to have a deep understanding of the object orientation paradigm and IMO clearly has this paradigm better consolidated when compared to PHP. Therefore it has a steeper learning curve and that's why you (usually) don't see anybody taking on a 200 hour project and charging $200 for it (as you do when you find those "pseudo PHP programmers").

    So HTML\CSS has a purpose of his own - if you want to develop something for the web, even though you might just want to program (and not make things neat and pretty), sooner or later you'll need to know some (or a lot) HTML\CSS. The good part is that in its core, it's a very, very, very simple markup language.


    As for PHP vs Java there isn't a "better" language. It depends of the project, it depends on you as a programmer, ...

    Based solely on my opinion and from what I discuss with friends and co-workers, as far as remuneration goes - it exists a large consensus that it's absurdly easier to charge more for an hour of programming in Java or C# when compared to an hour of programming in PHP.

    And also based purely on my experience a good programmer that starts with PHP, sooner or latter "jumps" tries out another language. Personally I got in touch with C (Operating Systems course), C++ (Algorithms and data structures course), Java (Introduction to programming, Object oriented programming, Concurrent and distributed programming) and ASP.NET (Distributed Information Systems).

    To jump from that to PHP was a breeze. To take the opposite path I recon that would be a lot tougher...
     
    proactiv3, Nov 9, 2011 IP
  4. mukulpom

    mukulpom Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thanks for u help. U give me a lot information about this.
     
    mukulpom, Nov 18, 2011 IP
  5. fortunesfromhome

    fortunesfromhome Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you cannot compare them they all have different uses ! I would utilise all 3 !
     
    fortunesfromhome, Nov 25, 2011 IP
  6. mike30

    mike30 Well-Known Member

    Messages:
    883
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    140
    #6
    What is best???

    The best will be you if you learn those three languages ;) lol

    ~Mike
     
    mike30, Nov 28, 2011 IP
  7. rajmeetbhullar

    rajmeetbhullar Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    You must go for java , Java is very wide and their is great scope , all big projects are under taken in java So start learning Java and make a good command over it
     
    rajmeetbhullar, Dec 13, 2011 IP
  8. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #8
    For a website, HTML is the content of the page. PHP is the code that runs on the server to create the page. Javascript (which is a totally different language than Java) is the code that runs in the browser, after the page has been sent to the user.

    Which is better, tires, gasoline or steering wheels? That's the nature of your question. To make a web page work you need all 3.
     
    Rukbat, Dec 15, 2011 IP
  9. webmaster4321

    webmaster4321 Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Been doing much research on that myself. W/out getting into too much detail, learn PHP. It's most likely the best choice long term.
     
    webmaster4321, Dec 19, 2011 IP
  10. Irfi0009

    Irfi0009 Banned

    Messages:
    17,584
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    48
    #10
    of course PHP is best,
     
    Irfi0009, Dec 21, 2011 IP
  11. kabbs

    kabbs Member

    Messages:
    171
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    38
    #11
    You can't say which is best.
    All have different purposes and where they work best.
    For good SEO,Content programming and ranking ,HTML will do well.

    PHP on the other hand helps very well at ecommerce sites

    And Java will do at cross platform/applications.

    The chioce is yours.
     
    kabbs, Dec 21, 2011 IP
  12. jhony king

    jhony king Member

    Messages:
    460
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    38
    #12
    All are best but I like PHP very much....:)
     
    jhony king, Dec 28, 2011 IP
  13. pipsoup

    pipsoup Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    HTML is mandantory as you alway need html to make websites.
    In the past Java is good but now you should use php
     
    pipsoup, Dec 30, 2011 IP
  14. xmax555

    xmax555 Greenhorn

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #14
    If you are a software developer, go for Java - better DB support, more and better development tools, decent programming language. Otherwise, PHP might be better to start with. I personally prefer ASP.NET:)
     
    xmax555, Jan 24, 2012 IP
  15. hallianonline

    hallianonline Active Member

    Messages:
    104
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #15
    As in mu opinion HTML, PHP and javascript
    all are connected with each other to enhance a web page
     
    hallianonline, Jan 25, 2012 IP
  16. BharatBhati

    BharatBhati Peon

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    I think that PHP is one of the best technology for developing the web based application. Because it is available completely free on the Internet and Opensource product so that you have to not required to purchase license for it by making it's use.

    Also it can support all the necessary feature which are required for making dynamic web application.
     
    BharatBhati, Jan 25, 2012 IP
  17. xixilee

    xixilee Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    For me , USA is the best:)
     
    xixilee, Feb 8, 2012 IP
  18. xmax555

    xmax555 Greenhorn

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #18
    Is it Open Source?:)
     
    xmax555, Feb 17, 2012 IP
  19. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #19
    Is what open source? PHP is a program and it's open source. HTML and Javascript are languages - there's no "source" to be open. (Whether the Javascript interpreter in any particular web browser is open source depends on whether the browser itself is open source.)
     
    Rukbat, Feb 17, 2012 IP
  20. xmax555

    xmax555 Greenhorn

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #20
    Sorry Rukbat, it was a reply to xixilee's joke
     
    xmax555, Feb 17, 2012 IP