When *not to* use AJAX Cuando * no * a usar AJAX
An example of wrong usage of AJAX aka XmlHttpRequest based web applications - Un ejemplo de mal uso de AJAX alias XMLHttpRequest web basados en aplicaciones -- TinkingTeam Corporate Website TinkingTeam sitio web corporativo . Here the menu content is dynamically fetched using Ajax. Aquí el menú de contenido es descabellada dinámicamente usando Ajax.
This is bad because: Esto es malo porque:
- Search engines like google cannot see it. Los motores de búsqueda como google no puede verlo.
- Users cannot bookmark the pages. Los usuarios no pueden marcar las páginas.
- It doesn’t indicate anything is happening, which can be bothering over slow connections. En ella no se indica lo que está ocurriendo, lo que puede molestar más conexiones lentas. This can be remedied by an “in progress” message like GMail. Esto puede ser subsanado por una "en curso" como mensaje de GMail.
The first two points reminds me of Los dos primeros puntos me recuerda Flash only pages Flash sólo las páginas .
Ajax is good for dynamic content update within a page. Ajax es bueno para actualizar el contenido dinámico dentro de una página. It should not be used to replace the page paradigm of web documents. No debe utilizarse en sustitución del paradigma de la página web de documentos.
Filed under Filed under Google , Headline News Headline News , Technology Tecnología , Web , Web Services Web Services | |
| |
RSS 2.0 RSS 2,0 | |
Email this Article Enviar artículo
You may also like to read También puede leer |




April 19th, 2005 at 4:40 am 19 de abril de 2005, a las 4:40 am
Everything you said applies. Todo lo que usted dice se aplica. But the worst part of that implementation, if you as me, is that the back button is destroyed. Pero la peor parte de esa aplicación, si usted como yo, es que el botón "back" es destruido. 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. Haga clic en un elemento de menú ver una página, haga click en volver para ver la página yo sólo y en poof, me sacudió fuera de su sitio y volver a donde yo estaba antes. (Or, nothing at all happens, if I arrived via bookmark.) (O bien, nada ocurre, si me llegó a través de marcador.)
No matter what web designers may or may not believe when they put together a page, users use the back button all the time. No importa lo que los diseñadores pueden o no creer cuando se ponen juntos una página, los usuarios utilizar el botón "back" de todo el tiempo. Especially on slow connections. Especialmente en conexiones lentas. Anything that breaks its function should be done with EXTREME caution. Cualquier cosa que rompe su función debe hacerse con extrema precaución.
April 19th, 2005 at 5:19 am 19 de abril de 2005, a las 5:19 am
I agree. Estoy de acuerdo. Back button is very integral to the web experience. Botón Atrás es muy integral para la experiencia web. Users have become accustomed to it. Los usuarios se han acostumbrado a ella.
April 23rd, 2005 at 4:28 am 23 de abril de 2005, a las 4:28 am
unless of course, you’re building an intranet application to replace chunks of say lotus, access, php-groupware etc.. a menos por supuesto, es como construir una aplicación intranet para sustituir trozos de loto decir, el acceso, php-groupware, etc. 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. que en caso de que la zanja el botón Atrás del todo porque no quiere que sus usuarios a pensar que es en realidad 'sólo' una página web, y usa ajax cuando tiene sentido.
if ajax breaks the back button, you aren’t required to ditch ajax.. ajax si se rompe el botón "back", que no están obligados a zanja ajax .. you could also ditch the back button. puede también zanja el botón "back". of course, for most apps, this is completely inapplicable and would be very bad form. por supuesto, para la mayoría de aplicaciones, esto es totalmente inaplicable y sería muy mala forma.
May 9th, 2005 at 9:23 am 9 de mayo de 2005, a las 9:23 am
Ajax and weblogs Ajax y los weblogs
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). Si usted echa un vistazo a la página principal de kottke.org, verás que hay un menú desplegable en la parte superior del contenido de la columna (a la izquierda). 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… Cuando el cursor encima del menú, usted presenta una lista de opciones de lo que aparezca en esa columna y cuando usted haga clic en…
May 9th, 2005 at 10:48 am 9 de mayo de 2005, a las 10:48 am
[...] explains the technique here in a helpful walkthrough. [...] Explica la técnica aquí en una útil guía. UPDATE: He also links to nice post how not to use AJAX. UPDATE: También enlaces a nice post cómo no usar AJAX. This entry was posted [...] Esta entrada fue publicada [...]
May 11th, 2005 at 8:22 am Mayo 11, 2005 a las 8:22 am
Geez … it also appears to use synchronous ajax loading, freezing my browser when the site isn’t responding quickly enough. Geez… que también parece ajax uso sincrónico de carga, la congelación de mi navegador cuando el sitio no responde con suficiente rapidez.
This is terrible! Esto es terrible!
May 15th, 2005 at 6:58 pm 15 de mayo de 2005, a las 6:58 pm
Yeah, synchronous loading defeates the entire purpose. Sí, sincrónico carga defeates todo el fin. It’s posisbly even worse than the traditional method as your browser freezes. Es posisbly incluso peor que el método tradicional como el navegador se congela. You may as well reload the entire page. Es posible que así como recargar la página entera.
It’ll be the next tech abused by bad clients and bad developers. Será la próxima tecnología de abusos de clientes y mala mala desarrolladores.
October 8th, 2005 at 1:48 am Octubre 8, 2005 a las 1:48 am
If you decide that you want to make a Web application, and not just a static Web page… Si usted decide que quiere hacer una aplicación Web, y no sólo una página web… 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. Usted puede hacer su mejor para asegurarse de que los usuarios aprovechar al máximo la experiencia siguiendo algunas prácticas comunes.
June 16th, 2007 at 4:17 am El 16 de junio de 2007, a las 4:17 am
hi, i found a full ajax website, and the back button works : hi, i encontrado un sitio web completo ajax, y el botón "back" de las obras: http://itbreaks.net
February 13th, 2008 at 3:20 am 13 de febrero de 2008 en 3:20 am
yeah … Sí…
But Using ajax i can make my grid wrk like Excel … [cant have dreamt of that without ajax ] El uso de ajax, pero puedo hacer mi red wrk como Excel… [peralte han soñado de que sin ajax]