Are You Pondering What I'm Pondering?

I think so Brain, but 'Snowball for Windows'?

My Site


idealisms

red hair

October 2009

S M T W R F S
  1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
red hair

[ [info]idealisms ]
[ And it just feels good when you're waking up ]
[ Thursday, June 17th, 2004 - 3:10am ]

My attempt at real time spell checking in a web browser.

How about some background. Well, [info]awu mentioned in a comment that he was reading this article. It's paints an interesting pictures of why Microsoft is scared of web applications, but that's not what I why I'm mentioning in the article. I liked the article because it has a list of 6 things you can't really do well in a web application:</p>

  1. Create a fast drawing program
  2. Build a real-time spell checker with wavy red underlines
  3. Warn users that they are going to lose their work if they hit the close box of the browser
  4. Update a small part of the display based on a change that the user makes without a full roundtrip to the server
  5. Create a fast keyboard-driven interface that doesn't require the mouse
  6. Let people continue working when they are not connected to the Internet

So I read the list as a challenge of things to do well in a web browser. Some of these things people are already making lots of progress (like keyboard-driven interfaces and warning users before losing work), so I decided to tackle spell checking (which [info]hairylunch also makes mention of).

Anyway, you could have this on a blog for when you're adding a new post or adding a comment. There may be some issues with speed (due to the slowness of regular expressions) and there's a slightly more correct version here. That is, a version that handles HTML a bit better (remember that it's hard to remove HTML with regular expressions).

Update: Looks like Safari has this built into the browser. Wow, that's much more convenient than lots of server requests.


{add a comment}


[ [info]jptrumptone ] ...
[ Jun 17th - 3:02pm ]

Thats really cool! Are you going to try to give recommendation for spelling when you spell something wrong, like in the tip so it shows up when you hoover over a word?
-jp

{Reply} {Thread}


[ [info]idealisms ] ...
[ Jun 17th - 7:27pm ]

It's definitely possible (in a technical sense), but I wonder what type of impact that would have on bandwidth. Right now it's pretty good about sending short messages back about the misspelled words, if it were to give suggestions, it may not scale.

{Reply} {Parent} {Thread}


[ (Anonymous): Thanks ] ...
[ Jun 19th - 6:48am ]

I hit your response on the Slashdot posts about organizers. I like yours a bunch. Thank You for making it.


Seraphim_72

{Reply} {Thread}