Guys, I have very little time to blog these days, too much work, but let me do a complaint.
Since my colleague Gianugo talked me about it, I've always been a strong supporter of Maven2.
It is true that it is a kind of black magic.
It is true that it has a (very) poor dependencies conflict resolver.
But hey, it let you manage your build process with very little configuration effort, has a good convention over configuration approach, let you centralize your dependencies, has a wide community and ... is cool (should I have mentioned this as first?).
So, since I started to use it, I have to say it helped me very much in speeding up my build management process.
But please, guys: can someone tell me why there are tests that succeed when executed by my preferred IDE, and fail when executed by Maven2?
Weeks ago I've already discovered serious problems between Maven2 and static inner classes, but now I can't really find any workaround.
Some times ago my colleague Ugo Cei started blogging about the question: Goolge: evil or not?
Now it is my time: Maven2 : evil or not?
Showing posts with label Rant. Show all posts
Showing posts with label Rant. Show all posts
Friday, November 24, 2006
Wednesday, May 24, 2006
Google Web Toolkit: The Next Big Hype
Let me say something about Google (I don't put links here because everyone knows).
I love Google Search Engine.
I love Google Mail.
I love Google Chat.
I think all those people at Google are great in creating advanced (and cool) applications.
This is what I think, and this is what a lot of people also think.
Now, too bad, thanks to this kind of leadership, everything Google produces gets acclaimed by the majority like the next big thing, without a small crumb of criticism.
This is the case of Google Web Toolkit (GWT).
GWT is the new born at Google: a framework for developing Ajax applications in Java.
Let me quote its web site:
GWT drove people literally crazy.
But before going to GWT web site and start playing with the new, acclaimed, next big thing, because everyone will do and you cannot be cut off, please think ...
Developers spend 90% of their time in developing and maintaining business components.
It is not true that you, as a developer, spend 90% of your time working around subtle incompatabilities between web browsers and platforms.
Developers should spend (and actually do) most of their time in developing the application domain model and all the business logic and components.
With GWT, developers will spend a lot of time in developing also the whole presentation layer. This is because ...
GWT makes Separation of Concerns absolutely unfeasible.
If Separation of Concerns is applied, developers can focus on business logic and only limited presentation logic, because talented web designers will do all the hard job with HTML and alike.
With GWT, developers must write every single web page like it was a SWING window, and if you think it will not be an hard job because you are a very talented Java developers, please consider ...
Writing SWING-like interfaces is a lot more difficult than writing HTML-like interfaces.
If you have ever developed a Java SWING application, you know what I'm talking about.
Moreover, consider a web application with dozens and dozens of web pages ... you'll end up with dozens and dozens of Java classes whose only job is constructing a web page.
Ooops.
Did I say that those Java classes construct your web pages?
I've been wrong: they are actually compiled into HTML+Javascript code, and it is that HTML+Javascript which makes up your web page.
Yes, because ...
GWT automatically generates HTML and Javascript code from your Java classes.
Just one thing: if the GWT compiler has one or more bugs, generating so wrong code, how difficult would be to debug and detect those bugs in the automatically generated JavaScript code?
Now, I'm not condemning GWT: it can be more than good for little to medium ui-centric web applications where developers can focus on presentation logic.
This is obviously my opinion: and I'm inviting you to be judgemental and have your opinion without taking as gold all Google gives to you.
I love Google Search Engine.
I love Google Mail.
I love Google Chat.
I think all those people at Google are great in creating advanced (and cool) applications.
This is what I think, and this is what a lot of people also think.
Now, too bad, thanks to this kind of leadership, everything Google produces gets acclaimed by the majority like the next big thing, without a small crumb of criticism.
This is the case of Google Web Toolkit (GWT).
GWT is the new born at Google: a framework for developing Ajax applications in Java.
Let me quote its web site:
Google Web Toolkit - Build AJAX apps in the Java language
Google Web Toolkit (GWT) is a Java software development framework that makes writing AJAX applications like Google Maps and Gmail easy for developers who don't speak browser quirks as a second language. Writing dynamic web applications today is a tedious and error-prone process; you spend 90% of your time working around subtle incompatabilities between web browsers and platforms, and JavaScript's lack of modularity makes sharing, testing, and reusing AJAX components difficult and fragile.
GWT lets you avoid many of these headaches while offering your users the same dynamic, standards-compliant experience. You write your front end in the Java programming language, and the GWT compiler converts your Java classes to browser-compliant JavaScript and HTML.
What is Google Web Toolkit?
Google Web Toolkit (GWT) is a Java development framework that lets you escape the matrix of technologies that make writing AJAX applications so difficult and error prone. With GWT, you can develop and debug AJAX applications in the Java language using the Java development tools of your choice. When you deploy your application to production, the GWT compiler to translates your Java application to browser-compliant JavaScript and HTML.
Here's the GWT development cycle:
- Use your favorite Java IDE to write and debug an application in the Java language, using as many (or as few) GWT libraries as you find useful.
- Use GWT's Java-to-JavaScript compiler to distill your application into a set of JavaScript and HTML files that you can serve with any web server.
- Confirm that your application works in each browser that you want to support, which usually takes no additional work.
GWT drove people literally crazy.
But before going to GWT web site and start playing with the new, acclaimed, next big thing, because everyone will do and you cannot be cut off, please think ...
Developers spend 90% of their time in developing and maintaining business components.
It is not true that you, as a developer, spend 90% of your time working around subtle incompatabilities between web browsers and platforms.
Developers should spend (and actually do) most of their time in developing the application domain model and all the business logic and components.
With GWT, developers will spend a lot of time in developing also the whole presentation layer. This is because ...
GWT makes Separation of Concerns absolutely unfeasible.
If Separation of Concerns is applied, developers can focus on business logic and only limited presentation logic, because talented web designers will do all the hard job with HTML and alike.
With GWT, developers must write every single web page like it was a SWING window, and if you think it will not be an hard job because you are a very talented Java developers, please consider ...
Writing SWING-like interfaces is a lot more difficult than writing HTML-like interfaces.
If you have ever developed a Java SWING application, you know what I'm talking about.
Moreover, consider a web application with dozens and dozens of web pages ... you'll end up with dozens and dozens of Java classes whose only job is constructing a web page.
Ooops.
Did I say that those Java classes construct your web pages?
I've been wrong: they are actually compiled into HTML+Javascript code, and it is that HTML+Javascript which makes up your web page.
Yes, because ...
GWT automatically generates HTML and Javascript code from your Java classes.
Just one thing: if the GWT compiler has one or more bugs, generating so wrong code, how difficult would be to debug and detect those bugs in the automatically generated JavaScript code?
Now, I'm not condemning GWT: it can be more than good for little to medium ui-centric web applications where developers can focus on presentation logic.
This is obviously my opinion: and I'm inviting you to be judgemental and have your opinion without taking as gold all Google gives to you.
Tuesday, April 11, 2006
Is there some hope in Italy?
My blog friend Roni Burd recently blogged about his difficulties in founding money funds for going in United States and attending a Master in Software Engineering in the Carnegie Mellon college.
Roni comes from Argentina: its recent economic collapse left people savings very devaluated, and lowered people salaries to a mean, as Roni said, of about $ 18.000 per year for a good salary.
Italy situation is different in many aspects, but I have to say, Roni, that its economic situation is a disaster, and you are definitely not alone.
I know a lot of people here in Italy who studied/worked hard for years, and whose salary is near $ 18.000 per year, even lower.
Thanks, Mr. Silvio, thanks to you and all your cronies.
Now that Left seems to have won elections, maybe something will change.
Maybe.
I don't believe at all in our government, either Left or Right or whatever.
I don't believe in politicians ... maybe because I don't believe in humans ...
But I strongly know what is right and what is bad.
And Mr. Silvio Berlusconi is definitely bad for my country.
Good bye Mr. Silvio.
Good bye to you, your lies, your horses, your ghost horses.
Good bye.
Roni comes from Argentina: its recent economic collapse left people savings very devaluated, and lowered people salaries to a mean, as Roni said, of about $ 18.000 per year for a good salary.
Italy situation is different in many aspects, but I have to say, Roni, that its economic situation is a disaster, and you are definitely not alone.
I know a lot of people here in Italy who studied/worked hard for years, and whose salary is near $ 18.000 per year, even lower.
Thanks, Mr. Silvio, thanks to you and all your cronies.
Now that Left seems to have won elections, maybe something will change.
Maybe.
I don't believe at all in our government, either Left or Right or whatever.
I don't believe in politicians ... maybe because I don't believe in humans ...
But I strongly know what is right and what is bad.
And Mr. Silvio Berlusconi is definitely bad for my country.
Good bye Mr. Silvio.
Good bye to you, your lies, your horses, your ghost horses.
Good bye.
Subscribe to:
Posts (Atom)