Showing posts with label websites. Show all posts
Showing posts with label websites. Show all posts

Monday, February 27, 2012

PHP vs. JAVA, part 1

I thought I should give my perspective from someone who has built applications in both PHP AND JAVA.  (And I love both platforms).

In a nutshell:

PHP is easy to learn, is loosely typed, and you can build rapidly build a website with it using a variety of tools and platforms -- (i.e. WordPress, Joomla, Drupal, Zend, etc..).  However, PHP is limited only to building websites (although some of the these websites are very large, Facebook for example is powered by PHP).   PHP primarily is a scripting language that makes it easier to interact w/ a database (like mySQL or Oracle).   You can't use it to build an android app for example, or to build a fully functioning desktop application like you can in C# or Java.

Java, on the other hand is strongly typed, has many libraries, and is a general purpose language that can be used to build many things besides websites.  One of the most popular uses of Java today of course is in building Android applications. 

Stay tuned.