<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Custom events as API end points for key bindings and more</title>
	<atom:link href="http://ajaxian.com/archives/custom-events-as-api-end-points-for-key-bindings-and-more/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/custom-events-as-api-end-points-for-key-bindings-and-more</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:55:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: eyelidlessness</title>
		<link>http://ajaxian.com/archives/custom-events-as-api-end-points-for-key-bindings-and-more/comment-page-1#comment-266730</link>
		<dc:creator>eyelidlessness</dc:creator>
		<pubDate>Sat, 16 Aug 2008 05:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4108#comment-266730</guid>
		<description>Addendum to point #4: Allow users to reassign key commands!</description>
		<content:encoded><![CDATA[<p>Addendum to point #4: Allow users to reassign key commands!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nosredna</title>
		<link>http://ajaxian.com/archives/custom-events-as-api-end-points-for-key-bindings-and-more/comment-page-1#comment-266729</link>
		<dc:creator>Nosredna</dc:creator>
		<pubDate>Sat, 16 Aug 2008 04:46:44 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4108#comment-266729</guid>
		<description>This is a pretty tough problem.

I find myself more and more confused as I tend to think of the app I&#039;m in rather than the OS. Safari and Firefox looks so much the same to me on Mac and PC that I often find myself doing things like hitting Ctrl-T to open another bvrowser window. I keep trying it because I KNOW it works. Then finally, oh yeah--wrong computer.</description>
		<content:encoded><![CDATA[<p>This is a pretty tough problem.</p>
<p>I find myself more and more confused as I tend to think of the app I&#8217;m in rather than the OS. Safari and Firefox looks so much the same to me on Mac and PC that I often find myself doing things like hitting Ctrl-T to open another bvrowser window. I keep trying it because I KNOW it works. Then finally, oh yeah&#8211;wrong computer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eyelidlessness</title>
		<link>http://ajaxian.com/archives/custom-events-as-api-end-points-for-key-bindings-and-more/comment-page-1#comment-266727</link>
		<dc:creator>eyelidlessness</dc:creator>
		<pubDate>Sat, 16 Aug 2008 00:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4108#comment-266727</guid>
		<description>&quot;and might cause unexpected behaviors to users who aren’t&quot;
.
I meant to add that, even as a keyboard junky, I found Gmail&#039;s keyboard commands infuriating for this reason and quickly disabled them. Which reminds me:
.
4. Allow users to turn off this feature. Like it or not, the web is still the web; if users prefer the behavior they&#039;re accustomed to (no key commands), they should have that option available.</description>
		<content:encoded><![CDATA[<p>&#8220;and might cause unexpected behaviors to users who aren’t&#8221;<br />
.<br />
I meant to add that, even as a keyboard junky, I found Gmail&#8217;s keyboard commands infuriating for this reason and quickly disabled them. Which reminds me:<br />
.<br />
4. Allow users to turn off this feature. Like it or not, the web is still the web; if users prefer the behavior they&#8217;re accustomed to (no key commands), they should have that option available.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eyelidlessness</title>
		<link>http://ajaxian.com/archives/custom-events-as-api-end-points-for-key-bindings-and-more/comment-page-1#comment-266726</link>
		<dc:creator>eyelidlessness</dc:creator>
		<pubDate>Sat, 16 Aug 2008 00:39:22 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4108#comment-266726</guid>
		<description>I think it&#039;s important to be cautious about a few things with keystrokes on web apps:
.
1. Key combinations should use a modifier key. Without them, you interfere with some configurations of find as you type, which is wrong to do to your users. It also provides cognitive dissonance to users who are accustomed to key commands, and might cause unexpected behaviors to users who aren&#039;t. That is also wrong to do to your users.
.
In some cases exceptions can be made (non-standard use of right/left arrows, pgup/dn, escape and so on), but it&#039;s important for those exceptions to be made for keys which are already commonly used as keystrokes in existing software.
.
2. Respect the OS&#039;s conventions. All of the major browsers allow accurate OS detection, use that. If your user is on OS X, you should bind to metaKey rather than ctrlKey where possible. This isn&#039;t really a hard and fast rule however; for example, if you want to offer a functionality similar to OS X&#039;s Spotlight, it makes sense to use a similar key combination, such as ctrl+space. In fact, I&#039;d recommend always providing commands similar to the established ones where functionality is similar. For example, if your richtext editor has a special copy function, it makes sense to bind it to ctrl (or cmd) shift c.
.
3. Research existing key combinations in the various browsers and OSes, and avoid conflicts with those. Obviously you cannot hijack combinations like ctrl-w, but to varying degrees you can hijack some existing combinations. That is wrong to do to your users.</description>
		<content:encoded><![CDATA[<p>I think it&#8217;s important to be cautious about a few things with keystrokes on web apps:<br />
.<br />
1. Key combinations should use a modifier key. Without them, you interfere with some configurations of find as you type, which is wrong to do to your users. It also provides cognitive dissonance to users who are accustomed to key commands, and might cause unexpected behaviors to users who aren&#8217;t. That is also wrong to do to your users.<br />
.<br />
In some cases exceptions can be made (non-standard use of right/left arrows, pgup/dn, escape and so on), but it&#8217;s important for those exceptions to be made for keys which are already commonly used as keystrokes in existing software.<br />
.<br />
2. Respect the OS&#8217;s conventions. All of the major browsers allow accurate OS detection, use that. If your user is on OS X, you should bind to metaKey rather than ctrlKey where possible. This isn&#8217;t really a hard and fast rule however; for example, if you want to offer a functionality similar to OS X&#8217;s Spotlight, it makes sense to use a similar key combination, such as ctrl+space. In fact, I&#8217;d recommend always providing commands similar to the established ones where functionality is similar. For example, if your richtext editor has a special copy function, it makes sense to bind it to ctrl (or cmd) shift c.<br />
.<br />
3. Research existing key combinations in the various browsers and OSes, and avoid conflicts with those. Obviously you cannot hijack combinations like ctrl-w, but to varying degrees you can hijack some existing combinations. That is wrong to do to your users.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dion Almaer</title>
		<link>http://ajaxian.com/archives/custom-events-as-api-end-points-for-key-bindings-and-more/comment-page-1#comment-266717</link>
		<dc:creator>Dion Almaer</dc:creator>
		<pubDate>Fri, 15 Aug 2008 18:17:32 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4108#comment-266717</guid>
		<description>Anjanb,

Exactly! I love the idea of having actions as you describe (next, prev, etc). It would be very lightweight to start seeing common events that people expose and &quot;standardizing&quot; them so you know that &quot;n&quot; always goes to the next item in a list etc.

Cheers,

Dion</description>
		<content:encoded><![CDATA[<p>Anjanb,</p>
<p>Exactly! I love the idea of having actions as you describe (next, prev, etc). It would be very lightweight to start seeing common events that people expose and &#8220;standardizing&#8221; them so you know that &#8220;n&#8221; always goes to the next item in a list etc.</p>
<p>Cheers,</p>
<p>Dion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anjanb</title>
		<link>http://ajaxian.com/archives/custom-events-as-api-end-points-for-key-bindings-and-more/comment-page-1#comment-266712</link>
		<dc:creator>anjanb</dc:creator>
		<pubDate>Fri, 15 Aug 2008 16:46:07 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4108#comment-266712</guid>
		<description>hi dion,

 &quot;I love keyboard shortcuts. I hate the mouse. I wish that Web applications would offer more keyboard shortcuts a la Gmail,&quot;

  Do I love keyboards ? (I use emacs) These days I use the mouse more because the web browser forces me to use the mouse. Keyboard doesn&#039;t give me as much control browsing stuff that mouse does.

  I&#039;ve long wanted web apps to provide keyboard users something. Especially those tutorials . they should have a KEY for NEXT page, etc. All the tutorials and articles on the web should have a PREV, NEXT, PAGE UP, PAGE DOWN standardized. What would it take to do that ?

  Will try out what you&#039;ve done and see if I can include them in my apps.

thank you,

BR,
~A</description>
		<content:encoded><![CDATA[<p>hi dion,</p>
<p> &#8220;I love keyboard shortcuts. I hate the mouse. I wish that Web applications would offer more keyboard shortcuts a la Gmail,&#8221;</p>
<p>  Do I love keyboards ? (I use emacs) These days I use the mouse more because the web browser forces me to use the mouse. Keyboard doesn&#8217;t give me as much control browsing stuff that mouse does.</p>
<p>  I&#8217;ve long wanted web apps to provide keyboard users something. Especially those tutorials . they should have a KEY for NEXT page, etc. All the tutorials and articles on the web should have a PREV, NEXT, PAGE UP, PAGE DOWN standardized. What would it take to do that ?</p>
<p>  Will try out what you&#8217;ve done and see if I can include them in my apps.</p>
<p>thank you,</p>
<p>BR,<br />
~A</p>
]]></content:encoded>
	</item>
</channel>
</rss>

