« Who wants to see Non Visual Components anyways. | Main | My Boring Base Value Object »

February 05, 2008

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341c046453ef00e550157e898833

Listed below are links to weblogs that reference dataProvider, setForm(), or whateva:

Comments

Brian Holmes

I forgot to add that to get everything working together I have the simple rule that you name your control the name of the property you want it to have. Notice there's no binding as well.

Ark

WHATEVER.
The word is WHATEVER.

Even if your intention was to be ironic/satirical/trendy/WHATEVER a topic like that just makes you look like a halfwit and discourages me (and probably most other people) from reading the actual post as it is likely it is also written in irritating teenage-speak.

Brian Holmes

@Ark, no need to be feisty.

Joeflash

@Ark: LOL, you've obviously never read Jesse Warden's blog...

I think the use of whateva here is akin to "etc." And dude, it's his blog, he can talk however he likes, sheesh. :)

@Brian: Yeah, I've encountered a few bugs like that on the list: things that you could very easily make workarounds for, but it would be nice if you didn't have to. There's a certain undefined line where customization becomes 'hackiness', and it's at that point that the SDk should be improved. Voted for that one too, btw: dataproviders for a Form would be cool, even though you could create a mediator to do the job just as well.

Brian Holmes

@Joeflash, I hear what you're saying about the hackiness / improvement thing and I totally agree. I think the issue is being able to set and get the data off a form easily and I was just trying to show one way I've been doing it. dataProvider is just a semantic. I could easily have called my set form method dataProvider. In most of my use cases the data can come from several different sources, grids, lists, tree etc. And semantically, to me at least, dataProvider insinuates there's only one source of data. My example was a simple form, but where what happens when you have hierarchal data. There's too many possibilities for the flex guys to accommodate for, at least at this point. I didn't mean I didn't vote for the bug because I didn't like the idea, I do like the idea and actually my demo was based off an implementation I built over a year ago. Thanks for the comment! I enjoy having these discussions in the hopes it'll make me better at my craft. I'm going to be posting more complex data forms soon, and my value object post was intended to help me segway into showing how you can get and set very complex data from multiple sources.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment