Ben Langhinrichs

Photograph of Ben Langhinrichs

E-mail address - Ben Langhinrichs






September, 2009
SMTWTFS
  01 02 03 04 05
06 07 08 09 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30

Search the weblog





























Genii Weblog


Civility in critiquing the ideas of others is no vice. Rudeness in defending your own ideas is no virtue.


Thu 10 Sep 2009, 10:29 AM
As I have hinted recently, I have been working on an exciting new feature that ties in with all the recent posts about the new Discussion template, XPages, the Dojo editor, 8.5.1 (beta), etc.  I refer to the feature as AutoRecognize, but it might be better described as Genii in a bottle.

Here's the idea.  Our CoexEdit product has been quite popular, but it still requires two steps which make a lot of developers and administrators hesitate.  The first step is the installation of a web editor, usually FCKeditor, on a server.  The second is the modification of the database to use CoexEdit, which is not difficult, but is a hurdle.  One option to help with this latter step was to make pre-modified templates, such as the Discussion template, but in talking with customers, it turned out that few people were using the Discussion template unaltered, partly because the web side was not very attractive, and partly because there were serious rendering issues with the web editor.

But as the Best Fit for OS editor evolved, and the Dojo editor was added, an opportunity arose.  What if we "auto-recognized" the Discussion template, and made it work better with no design changes and no separate web editor.  Better yet, what if we auto-recognized even variations of the Discussion template, so that when the template described by Peter Presnell in Preview: Discussion Template for 8.5.2 is released, we would work with that, or if the template described by Niklas Heidloff in Can a Composite Application look as good?  was released, we would work with that.  All without involving a developer.

The first proof of concept is ready, and I will probably release it to public beta soon.  For the first demo video, I decided to use the Notes 8.0.1 Discussion template, but this works in earlier versions, as well as in 8.5.0 and 8.5.1 (with some internal differences that are invisible to the user, so the same server could have three different templates and they would all work).  Of course, Discussion databases aren't the only ones to use the Best Fit or Dojo editors, and with the new XPages templates popping up, there will be more.

All it takes is two files and two lines.  The files are nCoexEd.dll (or OS equivalent on Linux or AIX) and coexedit.lic (the license).  The lines go in the NOTES.INI on the server, with no need to add any client component.  Here are the two lines from my server's NOTES.INI

extmgr_addins=CoexEd
CoexEditRecognizeDiscussion=1

What happens when this is used is somewhat magical.  Even existing discussion databases just get... better.  I created a very rough, completely unedited, demo of this before and after turning on the CoexEditRecognizeDiscussion (which you can turn on and off from the console).  It is seven and a half minutes long, but I think you'll find it interesting.  Just click on the image below to see the demo.

Click on image to see demo

Copyright © 2009 Genii Software Ltd.

Tags: