[jsr-314-open] data payload for ajax calls

Dan Allen dan.j.allen at GMAIL.COM
Tue May 26 09:34:19 EDT 2009


>
> As for this change - changing the name of a returned object's property from
> "name" to "status" hardly seems like sufficient reason to break backward
> compatibility.  The only thing arguing in it's favor is that it would seem
> that less that a dozen people worldwide have used the API thus far - so it's
> probably now or never, at the least.
>
> If we're going to break backward compatibility, I suspect a more compelling
> rationale would be required.


Getting back on topic after the entertaining and obviously futile discussion
of backwards compatibility, I think in this case the property name "name" on
the data object of an Ajax callback is one that few people will understand.
Meaning at first look (or a look after a period of rest) they will think,
"name of what". I believe strongly that the payload API will be more well
received if the property name is "status".

-Dan

-- 
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action

http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://in.relation.to/Bloggers/Dan

NOTE: While I make a strong effort to keep up with my email on a daily
basis, personal or other work matters can sometimes keep me away
from my email. If you contact me, but don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters.  Please don't hesitate to resend a message if
you feel that it did not reach my attention.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jsr-314-open-mirror/attachments/20090526/003bf783/attachment.html 


More information about the jsr-314-open-mirror mailing list