Comment 5 for bug 31506

Revision history for this message
Brad Bollenbach (bradb) wrote : Re: [Bug 31506] Remove "are you sure" page from subscriptions

On 21-Feb-06, at 4:17 AM, David Allouche wrote:

> Public bug report changed:
> https://launchpad.net/malone/bugs/31506
>
> Comment:
> I understand that it's better to use POST requests rather than GET for
> operations that alter server state.
>
> It is possible to make a normal link send a POST request using
> JavaScript and XMLHttpRequest. See wikipedia for links to browser
> implementations: http://en.wikipedia.org/wiki/XMLHTTP#External_links
> This would allow degrading gracefully in the absence of
> XMLHttpRequest support in the browser.
>
> About using a button, if we choose to do that, the subscribe button
> should look exactly like the other nearby items, but I was unable to
> convince Firefox to make a button look exactly like a link (there was
> some extra padding). I guess the padding could be cancelled using
> hard-
> coded negative margins or such, but that would be too fragile and
> unportable.
>
> In summary, there seems to be no salute outside of XmlHttpRequest.

(Standard) Buttons are often hideous for this kind of thing; they
look ugly, and there's often not enough room for a button.

A POST link and/or a more aesthetically pleasing button design (with
rounded corners) would be a significant improvement to the one-click
user experience, IMHO.

Cheers,

--
Brad Bollenbach