Why GWT (google web toolkits) is the way? GWT is the way of what? Why do I have to mention "it makes sense"?
Nowadays, almost everyone in the world knows what desktop applications are because owning a computer for an individual is already not so hard as 20 years ago. Especially in developed Countries, most people carries laptop computers to work, to go to school and even for travelling. As internet becomes faster and covers more places, laptop computers seem to become a little bit overabundant and too heavy to carry everywhere; Because people already can do basic daily work via the internet, such as word documents, pictures storing, and watch videos and so on. Besides these, the powerful internet search engines provides internet users with world wide information based on their own interests. Thank to those powerful web browsers. Then Netbooks came into play with their slower but smaller processors, smaller hard drive storage, and smaller memory space than most laptops. Why is that good? Because you won't need that much storage and memory space if the only thing you will need is just a web browser most importantly.
As Ajax based web applications get more popular, more and more previous desktop application programmer started to be interested in web applications. However, the only programming language web browsers are able to understand currently is Javascript. A single threaded, non-object oriented programming language (it does allow scripters to create "object" but it is very far away from what the real OO principles can benefit). Here the question comes in, how web applications programmers can make easily reusable and maintainable code as they could with desktop applications? How can a web application become as efficient as a desktop application to the developers? (Don't get me wrong on this question. I know most server-side programming languages are object oriented.)
GWT is tool to allow OO principles to be applied. It allows web developers program the front end of a web app in Java. Instead of compiling Java code to Java byte code, it compiles to JavaScript. It is not only easy for programmers to apply OO principles for highly reusable and maintainable programming design, but also easy to debug.
Let's think this way. If Object Oriented Programming has been a very valuable thing to replace Procedure Oriented programming, then it should be applied to web programming as well. So far, GWT is the tool letting you do it; therefore, GWT is the way for web programming. If people usually say 'Using Object Oriented Principle to program makes more sense than using procedure oriented', then GWT makes more sense for web programming.
No comments:
Post a Comment