Erik Swenson of Open Reports has created an Ajax Report Viewer: OpenReports Report Viewer.
The example uses YUI and YUI-EXT. Click to see the flash demo.
Erik Swenson of Open Reports has created an Ajax Report Viewer: OpenReports Report Viewer.
The example uses YUI and YUI-EXT. Click to see the flash demo.
The Dojo Toolkit has a new version 0.4.1 release.
We talked to Alex Russell about the release:
What is good about 0.4.1
It’s a stability and performance release so we recommend it for everyone who was already using 0.4.0. For those folks, it should be a very straightforward upgrade. The last major release added a lot of new features and in the intervening time we’ve had a chance to shake those things out a bit more. Notably:
Why should people upgrade?
If folks were holding out on 0.4.0, I think think they’ll be happy with the state of thing in 0.4.1.
What is next on the agenda?
We’re keeping the roadmap at:
http://trac.dojotoolkit.org/roadmap
What’s not outlined there right now is that we’ll be plugging the new data binding layer into the widget system and making changes to the template syntax to support that. This is exciting work and the culmination of a huge amount of background work by some very smart people.
Data binding will allow us to more quickly attach widgets to services and systems, and I’m excited that we’re in the home stretch for getting it done.
Justin Palmer has written about avoiding bloat in widgets with respect to Prototype.
Widgets walk a fine line between abstractions and implementations. Implementation, in this case, is a practical solution chosen to perform a given function. The problems with widgets occur when the widget author walks too far in one direction, or worse, walks an outward spiral covering both directions. Both choices lead to script bloat and complexity thats hard to manage. You no longer have a simple solution for a defined problem, you have a complex solution for a variety of problems. The good news is there are ways to avoid both the bloat and complexity.
He details the world of extending classes in JavaScript, and then gets to actsAsAspect, which lets you get AOP-y via before, after, and around advice.
As someone who has worked with AOP via AspectJ and other libraries, it makes me a bit queasy to consider this AOP. One of the key elements is the pointcut language, which is very primitive here.
I do like the conclusion though:
While this is a rather convoluted example, the premise is solid. When creating widgets, don’t over abstract, and avoid hacking when possible. Even though we jazzed up our widget in the end, it’s original purpose is still intact and we added no additional overhead to it. Those who want ”more cowbell” can get it by plugging-in the additional scripts.
cssdocs.org is a place launched by Pete Freitag that lets you:
Web Info & Tutorials is Hosted by Chaaban