[dokuwiki] Re: AJAX spellchecker

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 15 May 2005 11:59:23 +0200

Hi!

> Gmail uses an AJAX type spellchecker which is very good. It is not
> dynamic, it only does the spellcheck upon request, but then offers
> inline suggestions. I have a lot of gmail invites if you would like to
> see how they do it.

I have an gmail account already, thanks :-) Well I think the gmail spellchecker 
is good and I don't know if can be made better. I saw a webcast of an closed 
source CMS which had wordlike (red lines) spellchecking using ajax. But it was 
IE only, I'm not sure if this can be done in more compatible way.

About looking at how google did it. I fear that's hard because their code 
usually consists of one char variables and no whitespace at all for bandwidth 
reasons. Trying to understand how they did it from their code is really hard.
  
> Have you seen SAJAX (http://www.modernmethod.com/sajax/) or JPSPAN
> (http://jpspan.sourceforge.net/wiki/doku.php), this site is even using
> DokuWiki!

Yes I had a look at both projects last night. The problem I see with them is 
that they generate dynamic javascript which is embedded in the code. I think 
keeping the JavaScript to external files would be much better. But I may be 
wrong about how those projects work.

Another nice toolkit with a very small footprint seems to be Sack of Ajax 
(http://twilightuniverse.com/2005/05/sack-of-ajax/). It's javascript only, so 
you have to write the backend yourself but the API looks interesting...

Andi

Other related posts: