Anonymous
Domino 2.0 Rich Internet Applications with IBM Lotus Notes/Domino
You are here: Today » Essence of a Domino hosted website
« And there was Ajax... unobtrusively entering Domino 2.0 blog
Making an embedded comment form »

Essence of a Domino hosted website

If you are a Notes developer, you are used to Views, providing a flexible interface to underlying data. But when you are developing websites, this might very well turn against you. Find out the importance of permalinks and why Google does not like Notes/Domino websites.

The importance of the permalink

Permanent links or 'permalinks' are a core concept in online communication. Search engines and users remember the location of the information you provided: search engines store it, users bookmark it. So finding the same information with different URLs is a very confusing situation for both. And what's worse: suppose you update your Domino application or your Notes administrator decides to re-organise the directory structure of the web server? Suddenly, all information shifts location. Search engines get broken links. Users bookmarks get 404 errors. I found out that the best thing you could do, is separate the content from the navigation, and provide just one single URL for the content. A URL that stays the same forever: the Permalink.

Site substitution rules

To establish permalinks, Notes administrators and developers have to work together. The administrator provides the substitution rule, the developer makes sure all hyperlinks created by the application (website) use this substitution. Here are the substitution rules for this site:

Indexes and Leaf pages

The trick for having one unique URL for each content block (read: document) and still keep the flexibility of the Notes views for indexing is simple: make sure that all the links in the views point to the document in one dedicated view instead of using the normal view link. So in this blog, all viewlinks point to the document in the /archive/ view. In fact, you could make even nicer URLs when you use two separate substitution rules, one for the indexes and one for the data:

Where is the sample database?

I will provide sample databases which illustrate the principles and which you can use for your own development as soon as I have my registration functionality ready. I am willing to give, but not to Anonymous users :-)

Star rating

80%

Comments

To add a comment, log in or register as new user. It's free and safe.