Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Grammar fix

...

Tip

Good to know:

With WebSpellChecker Server 5.0.0 release, the service requests for spell and grammar checking using products based on SpellCheckAsYouType (SCAYT),  WProofreader and Web API can be processed directly by AppServer. Previously, all such requests before reaching AppServer were processed by quite old FastCGI component and only then were sent to AppServer. Getting rid of the intermediate step with FastCGI component for newer products simplified the process of the application configuration and significantly sped up the requests processing time. 

Configuring the direct connection of WProofreader with AppServer, provides the following advantages:

  • Get rid of the FastCGI component and its additional configuration;
  • Improve performance of your application;
  • Release your Web or Application Server from processing spell and grammar check requests;
  • Simplify your configuration and improve maintainability.

1. Set up Direct Connection for WProofreader


Expand
titleClick here to see how to setup a direct connection for WProofreader...

Add the following parameters to the section with the WProofreader initialization in your app:

Excerpt Include
IN:_include_wsc500_direct_connection_proofreader_appserver50
IN:_include_wsc500_direct_connection_proofreader_appserver50
nopaneltrue

Example 1.1: Initialization of WProofreader with a direct connection to AppServer

Code Block
languagejs
themeEmacs
<script>
    window.WEBSPELLCHECKER_CONFIG = {
        autoSearch: true,
        enableGrammar: true,
        serviceProtocol: 'https',
        serviceHost: 'your_host_name',
        servicePort: '2880',
        servicePath: '/'
   };
</script>


2. Set up Direct Connection for SCAYT Plugin for CKEditor  4


Expand
titleClick here to see how to setup direct connection for SCAYT plugin for CKEditor 4...

Add the following SCAYT plugin parameters in CKEditor config.js file used your application:

Excerpt Include
IN:_include_wsc500_direct_connection_scayt_ckeditor_appserver50
IN:_include_wsc500_direct_connection_scayt_ckeditor_appserver50
nopaneltrue

Example 2.1: Initialization of SCAYT plugin for CKEditor with direct connection to AppServer 5.0

Code Block
languagejs
themeEmacs
 CKEDITOR.editorConfig = function( config ) { 
    config.scayt_srcUrl = 'https://your_host_name/spellcheck/wscbundle/wscbundle.js'; 
    config.scayt_serviceProtocol = 'https'; 
    config.scayt_servicePort = '2880'; 
    config.scayt_servicePath = '/'; 
    config.scayt_serviceHost = 'your_host_name';  };


...