[development] Activeselect - AJAX select boxes
ber at webschuur.com
Sat Mar 18 11:10:22 UTC 2006
Op vrijdag 17 maart 2006 11:35, schreef Adrian Simmons:
> Without AJAX and JS the module works, with them it has *enhanced*
> functionality/usability etc.
> The key is that JS is used to enhance normal functionality, not replace it.
*This* is tha attitude! :)
AJAX is *not* there to be cool and nice, and in case of missing support, you
build something less nice.
No: you have something nice. And with some AJAX you add extra niceness.
It requires developers to thing the right way around too:
* buid something that works, and is full functional, with ordinary HTML and
* On top of that you add CSS
* On top of that JS to alter the DOM. (the J from AJAX)
* Make sure you do negative checks, to avoid broken support: not
if (in(unsupported.browsers) ) doNothing else doTheStuff; but
if (in(fully.supported.browsers) ) doTheStuff else doNothing
* On top of that you add asynchronous communication (the A and the X from
AJAX is then the icing. not the cake. that is the correct attitude IMO.
If one does not follow this attitude, you end up with the same crap we saw
four-or-five years ago, DHTML document.write("sorry your browser is not
supported, please visit microsoft.com for the latest browser, its free")
| Bèr Kessels | webschuur.com | website development |
| Jabber & Google Talk: ber at jabber.webschuur.com
| http://bler.webschuur.com | http://www.webschuur.com |
Hoe het naviatie blok te verbergen:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20060318/fd4823c4/attachment.pgp
More information about the development