PHP or Java?
Thursday, November 27th, 2008Many people just starting out in the web world have some experience with a programming language whether it be C# or C++ or Java or a scripting language like PHP or Python or Perl. There are a lot of options out there when choosing a language to write your website in. But to choose you should ask yourself a couple questions.
1. How much time do you want to spend setting up the site?
If you want to spend very little time setting up the configuration for the site you should avoid languages like Java or C#. Big object oriented languages will require at least a few days of configuring servers and files depending on what type of web framework you choose.
2. Does the code for the site need to be easily extensible?
If you plan to use the site as a platform to make a large company from you’ll need to make the site much larger over time as you add new clients and new features. Making a hulking site is easier to do with an object oriented language, maintaining it is easier as well. The time you spend configuring the site up front will be saved on the back end.
3. Do you have a dedicated server?
If you don’t have a dedicated server (those are costly) you won’t have the ability to just add whatever functionality you want to the server. Most shared servers come with PHP and Perl installed for you to use and some will have some form of Java or C# available, but chances are that you’ll want some feature that they don’t have installed and won’t install for you to use. If you don’t have a dedicated server you probably would be better off choosing a scripting language that is already installed.