#1
  1. A Change of Season
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Mar 2004
    Location
    Next Door
    Posts
    3,558
    Rep Power
    221

    What is it that php can do and Java canít?


    Hi;

    I don't really understand why so much effort to make PHP great when Java is already out there?

    What is it that php can do and Java canít?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jul 2003
    Posts
    4,473
    Rep Power
    653
    Java Swing is the biggest difference IMO.
    There are 10 kinds of people in the world. Those that understand binary and those that don't.
  4. #3
  5. Wiser? Not exactly.
    Devshed God 2nd Plane (6000 - 6499 posts)

    Join Date
    May 2001
    Location
    Bonita Springs, FL
    Posts
    6,276
    Rep Power
    4193
    C or C++ can pretty much do everything java can do, so w hy have Java?

    Different languages generally exist because they make certain things easier, not because there is something only they can do. PHP initially was designed specifically for web development with features that suit that purpose like being able to mix HTML and PHP together. Getting a PHP project up and running is easy and finding hosting for it is also easy so that makes it popular with new developers. As those developers become more skilled they will naturally want more features in the language to make things easier, thus the language evolves. It's only natural that as languages evolve their capabilities converge as well.

    Javascript has similarly evolved from being a pretty much browser-restricted DOM language. Now days it can do quite a bit of stuff that 10 years ago would have been unbelivable.

    I haven't really used Java in probably 10 years, so I don't know what it's like these days, but I remember trying to do anything web-based with it was a royal PITA at the time compared to the simplicity of PHP. On the other hand it was pretty good at desktop applications where as PHP-GTK was basically useless.
    Recycle your old CD's



    If I helped you out, show some love with some reputation, or tip with Bitcoins to 1N645HfYf63UbcvxajLKiSKpYHAq2Zxud

IMN logo majestic logo threadwatch logo seochat tools logo