Java is perhaps overkill for small web projects. You can ponder directing your time on Ruby and Python, to learn Rails and Django, maybe. PHP is always handy. Java-based websites appears that their time to delivery is always slow as compared to what they could have done using a scripting language. Another factor to consider is that if you want to pick up work looking after prevailing sites, you will need to be able to handle with PHP, because so many trivial shabby sites that need your care will be PHP-based and regularly monitored by PHP Developers.
Java VS PHP for web design
- Java isn’t overkill if you are more familiar with it, but Ruby on Rails is trendy and it might be true about making sites quickly. You might want to get it a shot. PHP does come in handy every once in a while too. It is probably a good idea to keen on top of popular technology.
- Java and PHP are the two most-frequented languages. Your java experience won’t go to waste, for two main reasons:
- Probabilities are it will benefit you write decent, healthy PHP. PHP is every so often looked down upon because it makes it truly easy to write unconditionally untenable code. But if you are coming more from a more organized environment and you apply your current greatest practices to your PHP development, you will be acceptable.
- Having Java at the equipped will be treasured when you start taking on larger, more JSP/servlet- suitable projects down the road.
- If it is small scale, PHP developers will server your purpose very well. But is also right that it is good for you to take good code structure lessons from using big-boy OO languages like Java.
- Just from the hosting stand point, you will find a lot more places that offer PHP than most other languages, and knowing PHP is a good skill in case you get any work updating or maintain existing sites- a whole lot of the web runs on PHP. PHP is really easy to learn.
- PHP is dead simple. And almost fun to code in. Hosting with Java inclines to be a little more classy and elite, while everyone does PHP and protect Java for places that will host things from their very own servers. PHP is just calm to sit down and bang out a bunch of code in no time. Java and the others have a lot more overhead, and while that is fine if you are going to build something big.
- Smaller clients will want a lot for $ 1-3 k and won’t know enough about the tech to care. PHP will allow you to whip up whatever is needed, and will run on 99% of the shared webhosts out there. You can do your work in a framework that enforces some sort of MVC. Java is better for larger teams consisting of experienced developers working on larger projects.
You must keep working with what you know best. There is absolutely nothing mistaken with doing JSP/Servlet work, and in fact your effort might be more valued or valuable that way, since it is less common but very well-thought of. And never forget: 95% of the clients won’t care what languages you use or if you are a Java or a PHP developer; as long as you fulfill their requirement.