muratozden / jquery-spellchecker

Automatically exported from code.google.com/p/jquery-spellchecker
0 stars 0 forks source link

Requests optimization #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Now spellchecker sends one request to server to get a list of incorrect
words, and then a request for each incorrect words to bring up the suggest.
It's takes more time than only one request, that would return a list of
words and their suggests (like in Googespell
http://orangoo.com/labs/GoogieSpell/).

Is it possible modify spellchecker send only one request?

Original issue reported on code.google.com by akui...@gmail.com on 9 Feb 2010 at 6:15

GoogleCodeExporter commented 8 years ago
I'm not sure of the implications of doing it this way and still supporting 
pspell. I
will do better research when i have more time. Thanks for this.

Original comment by willis...@gmail.com on 9 Feb 2010 at 7:43

GoogleCodeExporter commented 8 years ago

Original comment by willis...@gmail.com on 11 Feb 2010 at 12:21

GoogleCodeExporter commented 8 years ago
I don't believe its that major of an issue, but what implications are there to 
worry about with pspell?

It would be straight forward to loop through the words to retrieve suggestions 
just like is done when retrieving misspelled words. And since everything is 
returned in JSON, modifying the output would be straight forward.

What would be longest part I imagine would be modifying the DOM structure of 
the plugin so that the suggest menus are shown/hidden as opposed to 
created/destroyed.

Original comment by gustaf...@gmail.com on 20 Aug 2010 at 4:41