RE: Java vs PHP

Here's my own perspective regarding Pak adiwirasta's post: "Java vs PHP".

  1. PHP has shorter learning curves than Java
  2. PHP has more support for web-development, since PHP was created for building web application.
  3. Java is intended for general purpose language, so it has more tools and library to support it.
  4. PHP has OOP, but Java do it better.
  5. PHP is lack of threading support.
  6. PHP is more scalable than java, since requirements are cheap, and resource is scattered, while Java, is more corporate minded, with support and stuff.

As a matter of choice, it depends on the subject. If I working on a simple CRUD web-application, I choose PHP. But if my job require concurrency support, I'll do it in Java. And if I were asked to choose between PHP or Java for my work? I can't choose. My company use both.

4 Comments

  1. gravatar
    tukang ketik said:

    waw... sampai dibahas di blog sendiri juga... salam kenal nih...

    Mar 30, 09:44 | Reply
  2. gravatar
    rizal said:

    yang penting lak RTFM :D

    Apr 24, 05:12 | Reply
  3. gravatar
    adit203 said:

    Hello, I'm a newbie in opensource until i realize it's risk for company's finance I have eksisting hospital software with vb-sql server if i do a migration to open source, what is your recomendation for programming & database? thank you

    Sep 20, 11:04 | Reply
  4. gravatar
    ferdhie said:

    Dear adit203 Personally I'm so glad that you decided to step into open source sides. For a painless migration from VB-SQL to open-source, you can try Gambas. Very2 resembles VB. http://gambas.sourceforge.net/ For database solution, you could use Postgre or MySQL, as both is most likely reliable and popular open-source database server. http://www.postgresql.org/ http://www.mysql.com/

    Sep 22, 11:55 | Reply

Add Comment