Plug-In Offline Storage or Internet Access

Hi,

I've began my journey of developing Plug-In for Trados...

Our Plug-In performs grammar checks in Hebrew, and is using a quite large database.

Is there any way of including a local database with a plug-in? ie. SQL CE, localDb?

Alternatively, we can write the plug-in so that the data will be stored on our webserver, and the plug-in will access it for every verification task.

Is that considered a best practice? Are the plug-ins expected to work offline?

Thanks,

Memi

Parents Reply
  • Hi Memi,

    Sounds good :-)

    If the compact version of SQL Server can be redistributed without restrictions in your installer, then yes; you should include what is required to setup the storage media for your plugin and/or standalone application. As Romulus suggested, the decision is yours regarding the functional requirements of the plugin.

    Personally I have used SQLite as the local storage media when it was needed as it requires only one additional assembly to be installed with the product. Similarly, if you require the integration of an external web reference, ASMX, WCF etc.. to manage the data that is managed with your plugin, then this is also possible; you will need to make that decision based on the requirements of your plugin.

    Reading from your original post. You could probably use both => local for the settings and also a web services as you might require a centralized repository for managing the custom dictionaries (that can be reused) in line with the grammar=>spell checking keeping in mind that your solution should scale…

    Patrick.

Children