Skip to main content

Building Lexical Resilence In the Web Applications

Building Lexical Resilence In the Web Applications

The power of a Word processor lies in the rich lexicographical companionship that it lends to the user. With a seamless experience of web platform complimenting desktop experience and sprawling Web 2.0 applications, the demand of a comprehensive desktop on the Web is ever increasing.

Sometime last week, I was looking out for a spell checking stuff. A search in Google revealed using Microsoft Word.  We would now analyse step-by-step in each of the possible solution and problems surrounding the same.

  1. Cross Browser Compatibility: Since Microsoft Word requires ActiveX Controls and browsers other than Microsoft Internet Explorer on Windows can not recognize them.
  2. Serverside Automation: The next solution we can try is to automate Microsoft Word on the serverside and use AJAX to communicate between the server and the web browser. Again there are the following issues surrounding the same.
    1. Office Web Components License
    2. Considerations for server-side Automation of Office
  3. Trying out StarOffice, we almost invite the same issues.
After a few search, I came across LiteSpellChecker, powered by AJAX and ASpell dictionary. If you have PHP as serverside language, you still have more rapid development with pspell API. Check out LiteSpellChecker examples. It has all cool features like:

  1. Open Source
  2. Comprehensive Examples in Perl, PHP and C++
  3. AJAX
  4. Suggestion Dictionary
  5. Richer DHTML Interface


Popular posts from this blog

Google NCR

Google NCRMost of you would be knowing about this trick in navigating to Google generic website. But I just came to know only a few days before and hence thought I would share the information with others too.
Whenever you type, Google automatically tries to redirect you to your country-specific website. For me, it always redirects to (Google India). But when we specifically want to navigate to Google Generic website for some reason, there are two ways to accomplish the same.Click the 'Go to' link at the bottom of the webpage that is displayed from prevent this redundant click, you can opt to type which would prevent the redirect from happening. The NCR stands for No Country Redirect. There is a brief discussion about this NCR over this forum.You may also like to check out Google help documentation regarding the country redirections from here.

Elegant 'MailTo' Replacement

Elegant 'MailTo' Replacement

MailTo tags have become a bane to all websites since spammers run spam robots which crawl the web to capture the email addresses, add to their catalogs and send spams to them. I just thought of sharing with others a simple JavaScript function which would trigger open the default email client instead of having mailto: embedded in the HTML Page.

Just have the following function included in your webpage

<script language='Javascript'>
function WriteMailTo(user,domain)
location.replace ('mailto:'+user+'@'+domain);

And whereever you want to invoke the mailto, just called WriteMailTo('user','') and the user's default email client should be launching (if configured) without any hassles.

Contacts import utility from Web2Project to Addressbook

I have been using Web2Project for planning my personal and professional tasks for a few years now. Now I have bifurcated the tools into the following:

Project PierAddress Book The only issue I had was to import my addressbook from Web2Project to AB. PP is a different animal. It does not serve as a comprehensive candidate for addressbook and hence I needed this bifurcation. 
I wrote up a following simple script to import the contacts to AB. The pre-requisite for this script is to hop on to PhpMyAdmin, export the contacts as a PHP array and then  modify the path in our import script to whatever you downloaded from PhpMyAdmin.
Our import script would explode the entries as SQL scripts into the browser window. Copy them and execute into PhpMyAdmin AB database to have the contacts imported.

Script URL: