There are several programming languages with which you could code for web, desktop, mobile platforms – C#, Java, Python, C++ and so on. If you know different Programming Languages, the chosen one should be the most appropriate for the problem you are solving. Some languages put a lot of abstractions and are good for high level logic and stuff, other access the hardware and flip the bits directly with the most efficiency and speed. Other separation that is starting to disappear is between Object Orientated Languages and Functional ones. With each new version every language is starting to look like every other – with Object Orientated APIs, with functional features like lambda functions, optional variables and parameters, extensions and so on.
The second filter when choosing a programming language should be the one that you know best and with which you are most productive. It is good idea to know different languages and have in the bag different approaches, but at the end of the day your business logic awaits you and you should be fast in implementing it. Several people I know are language gurus and enthusiasts and are a little bit closed to using other languages than others. With the presence of Frameworks and APIs for every case and platform this probably is not a big deal or show-stopper and you could probably live with one language.
Component-oriented frameworks – Component based frameworks can be found everywhere – on the server, on the client, on the desktop and on mobile platforms. My first personal touch with it, and the experience of my colleagues, was twenty years ago – with Borland Software. Then it got integrated in Microsoft Visual Studio. So some open source project grabbed it, because it is a concept and not a private technology.
Today, especially as a Java Developer, you have a lot of choices for component-oriented frameworks. The most famous ones and the ones that I have touched are – JSF, Apache Wicket, Google Web Toolkit and Vaadin. The last two are already integrated into my Database Application Generator Tool.
Another characteristic you could choose from when thinking of programming framework for the web is selecting a client-centric vs server-centric vs somewhere in the middle framework.
10 years ago a read an article from twitter that showed in a benchmark that the server rendering of html was the fastest, because when using client framework where the browser first loads the script and then the information and at the third step – visualizes the content, instead of in the first step – show the content – with some server-centric framework.
Another benefit is that server generated html is index-able better by the Search Engines. This plus is probably fading away because today, the spiders are clever and they act very much like a browser. The focus has transitioned from code, to speed (in term of responsiveness of the site, and the user experience.
A cons of server generated html – if generated manually and not by some framework – it is not so testable. Also if an application is coded in client-centric mode instead of server, some code and data caching and other optimizations could be applied.