ESME Blog

enterprise microsharing in a process context
November 4, 2008

Pure Javascript Messaging Client

Author: dick - Categories: Background, Development, Marketing - Tags: ,

There is a now a message-receiving client for ESME that is written entirely in Javascript. This very first cut of a client was created as a proof-of-concept to show that a very simple client was possible without any dependence on the server-side programming language.  Based on the current implementation, it could be embedded in Java, C#, etc. It could run in a variety of environments including SharePoint, SAP Portal, etc.

This first version offers:

  • Long-polling
  • Flexible design
  • The client uses XSL transformation to create HTML from the XML that originates from the ESME’s REST-API

The drawbacks of this first version:

  • The UI is real ugly. Someone needs to redo the XSL file.
  • The UI is not complete. I have not added all the features that are possible (reply, etc.). I was more intent on showing ESME messages in a Javascript-based environment.
  • It is not bug-free
  • I have only tested it in Internet Explorer 6.0. Someone might have to go and try it out in FF.
  • XSL file is currently local instead of stored on server
  • The token is currently hard-coded. 
  • Documentation is still pretty poor.

Thanks to Darren for doing the initial corrections that started me out on the right foot.

The code is in the Google Code wiki.