On Tue, Jul 27, 2010 at 12:32 PM, Ralph Janke <span dir="ltr"><<a href="mailto:txwikinger@ubuntu.com">txwikinger@ubuntu.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I am not sure what the resistance against javascript in general is.<br></blockquote><div><ul><li>It can slow down things significantly, because code is being executed browser side. Some code parses the entire DOM of the HTML document and do things with it. Some code polls remote servers constantly for information, ...etc.<br>
</li><li>It can be a vector for security attacks (Cross Site Scripting).</li><li>It can be a hindrance to accessibility.</li><li>It can be an obstacle to content getting properly indexed in search engines.</li></ul>It is bad design to make it mandatory. Optimal case is to make it enhance the user experience (AJAX for lookups, type in a few letters and a list comes down and you can pick, ...etc.), but also make it degrade gracefully. By this, I mean that you get a site that is still usable, but perhaps not as convenient as the javascript version.<br>
<br>Google's Gmail for example has an HTML version. Yahoo's Mail claims that you can use Classic without Javascript, but you still have to enable Javascript. Bad design.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
javascript allows to let certain parts of the code being executed in the client instead of the server. This allows a smoother user experience (i.e. not every user interaction requires a new page being rendered). Do you need this for every application - no. However, it can increase the usability, to allow i.e. auto-completion of your input.</blockquote>
<div><br>Agreed.<br><br>The issue is to make such features mandatory, and not degrade gracefully. <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5"><br>
<br>
<br>
On 07/26/2010 11:38 PM, Chris Frey wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Mon, Jul 26, 2010 at 10:06:39PM -0400, Khalid Baheyeldin wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<a href="http://duckduckgo.com/" target="_blank">http://duckduckgo.com/</a><br>
<br>
</blockquote>
I tried searching using the front page... and was dismayed to find that<br>
it requires Javascript.<br>
<br>
A search engine should never require Javascript. It's not that hard a job.<br>
<br>
- Chris<br>
<br>
<br>
_______________________________________________<br>
<a href="http://kwlug-disc_kwlug.org" target="_blank">kwlug-disc_kwlug.org</a> mailing list<br>
<a href="http://kwlug-disc_kwlug.org" target="_blank">kwlug-disc_kwlug.org</a>@<a href="http://kwlug.org" target="_blank">kwlug.org</a><br>
<a href="http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org" target="_blank">http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
<br>
</blockquote>
<br>
<br>
_______________________________________________<br>
<a href="http://kwlug-disc_kwlug.org" target="_blank">kwlug-disc_kwlug.org</a> mailing list<br>
<a href="http://kwlug-disc_kwlug.org" target="_blank">kwlug-disc_kwlug.org</a>@<a href="http://kwlug.org" target="_blank">kwlug.org</a><br>
<a href="http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org" target="_blank">http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>
Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. -- Leonardo da Vinci<br>