PDA

View Full Version : wizard controller



sjivan
9 Nov 2006, 1:49 PM
First off I must say that I'm extremely impressed by this work and stumbled upon it by chance. I've been using Dojo for a while, and while I'm fairly content with it, my Dojo based UI just feels fairly sluggish. And several other users also feel the same.

When I looked a YUI the lack of basic widgets like tabs made it a no brainier that it wasn't yet powerful enough to support the kind of UI I had in mind. This was until I found the YUI extension library.

I'm going to start migrating portions of my app from using Dojo to YUI / YUI extensions starting with the event libraries, (Dojo) ContentPane, Dialog and Tabs since the Dojo widget library and the AOP event framework are the suspect candidates for the slugishness. I'll continue using other Dojo functionality like the io.bind for Ajax calls and async file uploads. I'm hoping the YUI ext and Dojo can coexist without conflicts.

YUI Extension provides a lot of functionality similar to Dojo widgets and I'm hoping the migrating to it will not only result in a better programming model, but in a more responsive UI.

As I make progress in the migration process, I'm sure I'll have questions like "how do I accomplish this Dojo functionality in YUI" but the one thing that jumps out immediately is the lack of a wizard widget in YUI ext. You can see an example of the Dojo wizard here : http://archive.dojotoolkit.org/nightly/tests/widget/test_Wizard.html

I guess this can be glued together using a few ContentPane's (I'm not sure what's term YUI ext uses for ContentPane) but it would be nice to have a wizard widget which provides an API of when next / prev buttons are activated, validation hooks etc.

Are they any plans to build a wizard controller in YUI Ext?

Thanks,
Sanjiv

jack.slocum
9 Nov 2006, 4:33 PM
I just added it to the list. It should be easy and it will be included soon.

On a side note, I went to that page you sent and it locked up my browser for about 5-10 seconds while it loaded. That is terrible.

sjivan
10 Nov 2006, 11:07 AM
I believe that's because the Dojo widget "requires" are synchronous to ensure the relevant javascript is loaded before the page processed for the relevant widgets.

One can build a custom dojo.js file such that the libraries used are all pulled in into one dojo.js but that requires some additional work.

Gotta say I much prefer you online custom build maker.

Looking forward to getting onboard YUI Ext!

Sanjiv