When *not to* use AJAX Quando * non * usare AJAX
An example of wrong usage of AJAX aka XmlHttpRequest based web applications - Un esempio di uso sbagliato di AJAX aka XmlHttpRequest web basati su applicazioni -- TinkingTeam Corporate Website TinkingTeam sito web aziendale . Here the menu content is dynamically fetched using Ajax. Qui il contenuto del menu è dinamicamente caricata usando Ajax.
This is bad because: Questo è male perché:
- Search engines like google cannot see it. Motori di ricerca come Google non può vederlo.
- Users cannot bookmark the pages. Gli utenti non possono segnalibro le pagine.
- It doesn’t indicate anything is happening, which can be bothering over slow connections. Esso non indica qualcosa sta accadendo, che può essere preoccuparsi più di connessioni lente. This can be remedied by an “in progress” message like GMail. Questo può essere colmata da un "in corso" messaggio come Gmail.
The first two points reminds me of I primi due punti mi ricorda Flash only pages Solo le pagine in flash .
Ajax is good for dynamic content update within a page. Ajax è buono per il contenuto dinamico aggiornamento all'interno di una pagina. It should not be used to replace the page paradigm of web documents. Non dovrebbe essere usato per sostituire il paradigma della pagina web documenti.
Filed under Elencato sotto Google , Headline News Headline News , Technology Tecnologia , Web , Web Services Servizi Web | |
| |
RSS 2.0 RSS 2,0 | |
Email this Article Invia questo articolo
You may also like to read Si può anche leggere come |





April 19th, 2005 at 4:40 am 19 aprile 2005 a 4:40 am
Everything you said applies. Tutto ciò che ha detto si applica. But the worst part of that implementation, if you as me, is that the back button is destroyed. Ma la parte peggiore di attuazione che, se voi come me, è che il pulsante Indietro è distrutto. Click a menu item view a page, hit back to view the page I was just on and poof, I’m whisked off their site and back to wherever I was before. Fare clic su una voce di menu visualizzare una pagina, premete indietro per visualizzare la pagina mi è stato appena poof e, sto whisked off loro sito e torna a ovunque sono stato prima. (Or, nothing at all happens, if I arrived via bookmark.) (Oppure, nulla accade, se mi è arrivata via segnalibro.)
No matter what web designers may or may not believe when they put together a page, users use the back button all the time. Non importa quale web designer può o non può credere quando mettere insieme una pagina, gli utenti che utilizza il pulsante indietro per tutto il tempo. Especially on slow connections. In particolare sulle connessioni lente. Anything that breaks its function should be done with EXTREME caution. Tutto ciò che rompe la sua funzione dovrebbe essere fatto con estrema cautela.
April 19th, 2005 at 5:19 am 19 aprile 2005 a 5:19 am
I agree. Sono d'accordo. Back button is very integral to the web experience. Torna pulsante è molto integrante del web. Users have become accustomed to it. Gli utenti si sono abituati ad essa.
April 23rd, 2005 at 4:28 am 23 aprile 2005 a 4:28 am
unless of course, you’re building an intranet application to replace chunks of say lotus, access, php-groupware etc.. a meno che, ovviamente, si sta costruendo una rete Intranet applicazione di sostituire porzioni di dire di loto, l'accesso, php-groupware ecc. in which case you ditch the back button entirely because you don’t want your users to think that it is in fact ‘just’ a web page, and you use ajax whereever makes sense. nel qual caso la fossa pulsante Indietro del tutto perché non si desidera gli utenti a pensare che in realtà è 'solo' una pagina web, e si usa ajax ovunque un senso.
if ajax breaks the back button, you aren’t required to ditch ajax.. ajax se si rompe il pulsante Indietro, non siete tenuti a fossa ajax .. you could also ditch the back button. si potrebbe anche fossa sul pulsante Indietro. of course, for most apps, this is completely inapplicable and would be very bad form. naturalmente, per la maggior parte delle applicazioni questo è completamente inutile e sarebbe molto cattiva forma.
May 9th, 2005 at 9:23 am 9 maggio 2005 a 9:23 am
Ajax and weblogs Ajax e weblog
If you take a look at the front page of kottke.org, you’ll notice a pulldown at the top of the content column (on the left). Se si dà un'occhiata alla prima pagina di kottke.org, potrai notare un menu a discesa nella parte superiore della colonna di contenuto (a sinistra). When you mouse over the menu, you’re presented with a list of choices of what to display in that column and when you click on… Quando si mouse sul menu, sei presentato con un elenco di scelte di ciò che per visualizzare in colonna e che quando fai clic su…
May 9th, 2005 at 10:48 am 9 maggio 2005 a 10:48 am
[...] explains the technique here in a helpful walkthrough. [...] Spiega la tecnica qui in una utile guida. UPDATE: He also links to nice post how not to use AJAX. AGGIORNAMENTO: Egli ha anche collegamenti a bella posta come non utilizzare la tecnologia AJAX. This entry was posted [...] Questa voce è stato postato [...]
May 11th, 2005 at 8:22 am 11 maggio 2005 alle 8:22 am
Geez … it also appears to use synchronous ajax loading, freezing my browser when the site isn’t responding quickly enough. Geez… appare anche di utilizzare ajax carico sincrono, il congelamento mio browser quando il sito non risponde abbastanza velocemente.
This is terrible! Questo è terribile!
May 15th, 2005 at 6:58 pm 15 maggio 2005 a 6:58 pm
Yeah, synchronous loading defeates the entire purpose. Yeah, sincrona defeates carico l'intero fine. It’s posisbly even worse than the traditional method as your browser freezes. Posisbly è anche peggio che il metodo tradizionale come il tuo browser si blocca. You may as well reload the entire page. Si può anche ricaricare l'intera pagina.
It’ll be the next tech abused by bad clients and bad developers. Sarà il prossimo tech abusato di cattivo clienti e sviluppatori di cattivo.
October 8th, 2005 at 1:48 am 8 ottobre 2005 a 1:48 am
If you decide that you want to make a Web application, and not just a static Web page… Se si decide che si desidera fare una applicazione Web, e non solo una pagina Web statica… http://tom.gilki.org/programming/javascript/Login/
You can do your best to ensure that you users get the best experience by following some common practices. Si può fare il tuo meglio per assicurare che gli utenti la migliore esperienza di seguito alcune pratiche comuni.
June 16th, 2007 at 4:17 am 16 giugno 2007 alle 4:17 am
hi, i found a full ajax website, and the back button works : ciao, ho trovato un sito web completo ajax, e il pulsante indietro per lavori: http://itbreaks.net
February 13th, 2008 at 3:20 am 13 febbraio 2008 a 3:20 am
yeah … Yeah…
But Using ajax i can make my grid wrk like Excel … [cant have dreamt of that without ajax ] Utilizzo di ajax, ma posso fare la mia rete wrk come Excel… [cant hanno sognato che senza ajax]