Dan Farino About MySpace’s Architecture
Dan Farino talks about the system architecture and the challenges faced when building a very large online community. Dan explains how a .NET product scales on hundreds of servers.
Tracking change and innovation in the enterprise software development community
Posted by Rob Thornton on Mar 30, 2007 08:00 AM
Geertjan is integrating Groovy support into NetBeans 6.0 and is impressed with the ease of writing Swing code in Groovy. He questions whether a Matisse-like GUI builder is necessary for Groovy. Danno Ferrin responds that layout, specifically GroupLayout is the reason.
Geertjan begins by throwing up a very simple UI and suggesting some simple pseudocode that most people, regardless of programming skill and experience, would be able to come up with. He then shows that you can take his pseudocode and paste it into a Groovy context, add a few lines to load the SwingBuilder, and get the simple UI expected. He then states:
Given how easy this all is in Groovy, I wonder whether the Groovy community even needs a Matisse-like GUI Builder. It all seems pretty intuitive, and with syntax coloring and code completion, plus maybe one or two other fun things (such as the Navigator shown above), coding Swing in Groovy is going to be a breeze.
Mike A quickly commented that the example is very simple and doesn't discuss actions, events, data binding, etc. Danno Ferrin says that layout is the key piece missing from the example.
Geertjan's sample is deceptively simple. Why the widgets are nicely centered and separated is because the default layout of a Panel is FlowLayout. This is only really useful for simple GUI demonstrations and nested button panels anyway. What if you are doing an address form where the labels are all left aligned and the text fields all need to fill the same width (which is for most to the right edge of the form), except for the checkbox on row 4 for suite number.
His example is more complicated than shown here and he ends with the point that layout code is hard to write and that visual designers, such as Matisse, make the problem a lot easier to handle.
Hibernate without Database Bottlenecks
The Agile Business Analyst: Skills and Techniques needed for Agile
Agile Projects: Five Ways to Fail When You Scale
Rich Internet Applications Project Portal
Webcast: Applying lean thinking to the governance of software development
Groovy need a GUI builder.
But in my opinion, the point is that today people don't want to waste time building GUI and not if the code is simple or not..
Felipe, you're right, not many will like to "waste time" coding UIs, but the truth is that there will be cases where generating a panel dynamically will be easier with something like Groovy's closures and builders.
PS: did you study at ITESM ?
Agree with you.. groovy can help a lot when building dynamic GUI stuff
I did not study at ITESM.
I have yet to see a GUI builder that built a decent looking UI. Anyone who uses such a tool probably doesn't care about how their UIs look. Besides, in most cases a good coder can hand build a good UI in roughly the same time as someone futzing with a builder tool.
NetBeans Matisse?
A good coder with a good UI builder can build much more faster than a good coder without...
As a frequent user of Apple's Interface Builder I really can't believe why people are questioning the need for a GUI builder. Writing GUI code is just booooring. Good coders won't even think about wasting their time with writing GUI code unless they have to because of the lack of good tools. I really wonder why there isn't any GUI builder for Java that catches up with Interface Builder or even the old Delphi GUI builder.
We need more that drag & drop forms. We need higher abstraction: ui-pattern validation, use case validation, easy control integration, etc.
I'm really looking forward what these guys from Himalia are doing for Visual Studio right now. I think they will move to the Java platform when if pass the alpha version ;)
At least, their technology is platform independent...
Really, I think they are in the right direction, nowadays UI building is obsolote and doesn't scale.
Dan Farino talks about the system architecture and the challenges faced when building a very large online community. Dan explains how a .NET product scales on hundreds of servers.
Bernd Mathiske discusses Maxine VM, Java compatibility, swapping major VM components, research areas, Object handling, code examples, optimizing compiler, snippets, bytecode generation, JNI and JIT.
Joe Armstrong speaks on various aspects of the Erlang language, presenting its roots, how it compares with other languages and why it has become popular these days.
The java double-check singleton pattern is not thread safe and can’t be fixed. In this article, Dr. Alexey Yakubovich provides an implementation of the Singleton pattern that he claims is thread-safe.
Diana and Jim talk about patterns observed in CTOs' activity. CTOs emerge as real people caring for other people in their organization, and are put under a lot of pressure and constraints.
Cloud computing feels like a tomorrow technology. Simon Thurman shows how developers can use Biztalk to create an Internet Service Bus which can be deployed locally or in the cloud.
InfoQ takes a look at the JavaFX preview build and talks to Sun Staff Engineer Joshua Marinacci about the upcoming version 1 release expected this autumn.
Jeff Sutherland, co-creator of Scrum, and Guido Schoonheim, CTO of Xebia, present an actual case of reaching hyper-productivity with a large distributed team using XP and Scrum.
7 comments
Reply