Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

Good to know:

1. With WebSpellChecker Server 5.0.0 release, the service requests for spell spelling 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 the quite old FastCGI component and only then were sent to AppServer. Getting rid of the intermediate step with FastCGI component the FastCGI component for newer products simplified the process of the application configuration and significantly sped up the requests request 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.

2. The default port of AppServer is 2880

3. In order to configure secure SSL connection between your application and AppServer, it is also required to perform the additional steps as described on the Enabling SSL connection with AppServer page.

1. Direct

...

connection for WProofreader

1. Add the following parameters to WEBSPELLCHECKER_CONFIG of WProofreader initialization in your app:

  • serviceHost: 'your_host_name'
  • serviceProtocol: 'http' or 'https'
  • servicePath: '/'
  • servicePort: '2880'

2. As soon as all the changes are made and saved, it is recommended to clear browser cache and reload the page.

Example: 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. Direct

...

connection for SCAYT

...

plugin for CKEditor  4

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

...

2.2. As soon as all the changes are made and saved, it is recommended to clear browser cache and reload the page.

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

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

...