company-logo

Category

Ajax

jQuery 1.3: Good stuff, but the API browser's the real news

I’m as geeked about jQuery’s 1.3 release as the next developer. But I’m even more excited about the new API browser developed by Remy Sharp and available here. For as long as I’ve been a jQuery user – going on 18 months now – I’ve been frustrated by the slow speed and sometimes intermittent availability of the jQuery documentation site. Now we’ve got a blazing-fast API
Read More

jQuery 1.3: Plugins continue to migrate to the core

jQuery celebrated its third birthday Wednesday with the release of the brand-new 1.3 version. This latest release includes a bunch of cool new stuff which has already been discussed to death elsewhere. To me, however, the most interesting aspect of jQuery 1.3 is the movement of former plugin functionality to the core library. Live events are a new twist on the venerable, and indispensable, Live Query plugin, while th
Read More

2009 Prediction – The End of Ajax

It has been a good run, but Ajax the buzzword will dip below the radar in 2009. That’s not to say that we’ll all stop writing JavaScript and using XHR in the coming year — quite the contrary. Full 100% of web applications will incorporate Ajax technologies, we just will use the “Ajax” buzzword less and less, much as “HTML” became just another acronymic noun in the early days
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

Pimp my jQuery: Five plugins to replace the features Prototype and Scriptaculous users expect

Ajax pros, especially in the Rails world, often know the Prototype and Scriptaculous JavaScript libraries inside and out. When faced with the prospect of writing on top of the competing jQuery framework, they may quickly stumble upon seemingly missing features. The culprit? jQuery’s less-is-more approach, in which advanced or specialized features come via plugins instead of the core library. The greater relianc
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

The Hidden Power of Canvas

Whenever we have Flash versus DHTML discussions in the office, someone usually utters the words “you probably can’t do it, unless you used Canvas and some fancy JavaScript…” At times that can seem like a cop out, an admission of defeat in the face of the Flash arsenal of graphic effects. Somtimes, like today, it seems more like a visionary declaration of the power of Canvas. Check out Steven W
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

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