company-logo

Tag

GWT

IT Mill Toolkit 5 out of Beta

With the release of IT Mill Toolkit 5.3.0, the server-side RIA framework is now ready for production. I announced the initial release of 5.0 back in December of 2007. Since that time, IT Mill 5 has gone through several revisions and the release of GWT 1.5 (which means you can use Java 5 now on both the client and the server). As a reminder, server-side RIA frameworks let you write your app completely in the server an
Read More

PureMVC, Spanning the Platform Spectrum?

At Pathfinder we do a fair amount of desktop style development — iPhone/Cocoa, WebForms, Swing — and web application development — Grails, Rails, JSP, ASP.NET, etc., etc.. In the last two years we, like a lot of other software development shops, have experienced a convergence in our efforts. The web is coming to the desktop in the form of Air and the Desktop is coming to the web in the form of RIA&#
Read More

GWT and the Discipline of MVC

When you’re developing a desktop or GWT application you’re going to go through a bunch of iterations, tweaking the UI, adding components, etc. Sometimes in all of that work it is very tempting to take a shortcut and update a view directly from a controller (label.setText(model.messsageString)). That way lies madness. Before long you’ve got your view code strewn across the length and breadth of your
Read More

GWTQuery – JQuery-like Syntax in GWT

Many times open source projects are mute — they have insufficient documentation. Good technical blogs can function as a sort of ad-hoc documentation. That’s what I’ve tried to do, most recently with my series of posts on GWT and OpenSocial. Vinay, over at Web Technology I/O, often does the same. He’s got a great post about Ray Cromwell’s GwtQuery (JQuery-like syntax in GWT) and how to ma
Read More

GWT, Gadgets and OpenSocial, Part 2

Note: It is assumed that you know your way around GWT and Eclipse for purposes of this tutorial. While developing OpenSocial applications can be a bit tricky, getting set up to develop can be a real pain in the neck. For this installment of OpenSocial and GWT, I’m going to go through the basics of setting up a simple Hello World gadget with iGoogle. We’ll get into the details of signing up for other OpenS
Read More

Chess Game Viewer in GWT

It’s not quite done (the game notation looks like crap in IE), but I thought I’d give a taste of my latest labor of love, a chess game viewer in GWT. This is the sort of thing that is usually implemented as a Java Applet. A few others have already built chess viewers in GWT, but as they say in Full Metal Jacket, “this one is mine.” As I blogged a few weeks ago, I ported the Java chess library
Read More

GWT, Gadgets and OpenSocial

I’ve been developing with GWT, OpenSocial and Orkut, using the gwt-google-apis project on Google Code (specifically the gadgets subproject). It’s a nice enough api that makes it relatively painless to build gadgets in GWT. This is a bit different from Didier’s gOpenSocial library, which was an early success at building OpenSocial gadgets with GWT. But the google gadget library isn’t really qui
Read More

JSONWrapper now on Google Code

The JSON utility library for GWT that I blogged about last week is now up on google code. To recap, the idea is that you can write code like this JSONValue root = JSONParser.parse(json); JSONWrapper obj = new JSONWrapper(root); String result = obj.get("map").get(1).stringValue(); when dealing with JSONValue objects. As it’s only one class, you could just include it in your source tree as code instead of using t
Read More

Making GWT JSON not Quite so Painful

I’ve been using GWT to resurface interfaces of a variety of legacy applications — J2EE, PHP, Rails — and more often than not that means working with JSON returned from the server. One thing that I’ve found is that GWT’s JSON support is kind of chatty. That is, you have to write a bunch of code like this: JSONValue root = JSONParser.parse(json); JSONObject obj = root.isObject(); if (obj !
Read More

GWT Tutorial – Building A Model

Shalk Neethling has written up a nice, streamlined tutorial on how to build a model in GWT using the GWTx project’s support for java.beans.PropertyChangeSupport. The basic idea here is that while the browser is the View and the server side is the Model and Controller in MVC, you really should structure your browser side code as an MVC itself where only the Model interacts with the server. Well worth a read.
Read More