Search DominoPower's 10,675 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
Building an XML based Content Management System using Lotus Domino: overview of the HTML display template (continued)

The architecture specifies that the rendering of the XML into HTML will be performed by Microsoft IIS/ASP.

This month we'll be taking an overview of that process.

The times are a changing
Why use Microsoft IIS/ASP for rendering? Why not use Lotus Domino itself?

That's a good question, and the answer is largely historical. When I first specified the architecture for the system, it was clear that Lotus Domino did a great job of writing out XML, but it wasn't nearly so good at reading and processing XML. In my opinion Microsoft IIS/ASP was a much better tool for the job, and wanting to make life as easy as possible for myself and for the development team, that's the decision that was made.

In 2002 the answer would be different. Today there's a wide range of choices for rendering XML into HTML using Lotus Domino, Microsoft IIS/ASP, WebSphere, PHP, Kylix, C++, XSL, or really just about any platform, language, or technology you care to name. These days everything renders XML.

In 2002 the logical choice would be to use Lotus Domino to do the HTML rendering as well as the content management administration because many clients will want to use a single server technology to implement their content management system.

Objectives of the HTML display template
So what is it that we want the HTML display template to achieve?

Here are the key objectives:

  • The page must look slick and professional;

  • For simplicity, there must be only one type of page in the entire content management system;

  • The page layout must change dynamically according to whether or not there is content present in the underlying fields/XML data structures;

  • The page must use the global site configuration options where specified, otherwise it should use options specified at the page level.

The ingredients: what do we have to work with?
To display a finished HTML page we need the following components, each of which is available via the XML API, except for the images (more on the images later). The components are:

  • The content of the current page (XMLContent);

  • The images for the current page;

  • The global site configuration information (XMLSiteConfiguration);

  • The text properties scheme specified for the current page (XMLTextProperties);

  • Any site indexes that have been specified for the current page (XMLsIndex...);

  • The site menu (XMLMainMenu).

Putting it all together
To put it all together, follow these steps.

Step one: work out which page to display
All we need to start displaying a page is a starting point--something to identify which document to display. The best way to identify a document is to use Domino's UNID (unique identifier), which is a 32 character hexadecimal number contained within every Lotus Notes and Domino document. The UNID must be passed as a parameter to the ASP page, or, if there's no parameter, we'll display the homepage for the site. The UNID for the homepage is stored within the site configuration XML structure that can be obtained via the (XMLSiteConfiguration) XML API call.


« Previous  ·  1  ·  2  ·  3  ·  4  ·  5  ·  Next »
Other articles you might like
Home > Internet Technologies > XML (11 articles)
   How to create a Web service to extract data from XML documents
   Building an XML based Content Management System using Lotus Domino: wrapping it up
   Building an XML based Content Management System using Lotus Domino: overview of the content administration system
Home > Strategies > Content Management (10 articles)
   Lotus acquires Aptrix, announces Lotus Workplace Content Development
   Building an XML based Content Management System using Lotus Domino: wrapping it up
   Building an XML based Content Management System using Lotus Domino: overview of the content administration system
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
What to look for in a Domino-based document management solution
Understanding Domino.doc end-of-life options
When the debugger won't debug hidden code that isn't hidden
What to do if the LotusScript debugger won't single-step over code
Top 10 ways to launch and build a Lotus consulting practice (with a little help from the Beatles)
Troubleshooting an OpenSuse Notes install
Incident report: denial of service attack against ConnectedPhotographer.com
Latest Lotus Headlines
SnTT - Enabling ALL the bells and whistles!
Tivoli Data protection causes Domino to crash
Fun when running DB2 CLP scripts
Introducing Flippr, the easy way to admin Quickr
DXL and fake security
Using search forms in IBM Workplace Collaborative Learning 2.7
Schmidt, Freed, and Gering on the OVF Toolkit
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Eight steps to successful and reliable home backups
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Can Outlook run when it's not running (and other mysteries)?
-- Advertisement --

AUTOMATE LOTUS NOTES USER ID MANAGEMENT
ID Manager 4.5 from HELP Software provides a new level of automaton for managing Lotus Notes IDs. ID Manager lets Lotus Notes administrators get out of the business of creating and managing user IDs. Use our ROI calculator to see how quickly ID Manager will pay for itself.

Learn more about HELP Software products
-- Advertisement --

Want The Top Lotus Experts By Your Side Without Paying Hefty Consulting Fees? Look No Further.
Like having a team of consultants by your side -- ones who have all the answers and never make mistakes -- THE VIEW gives you immediate access to field-tested instruction, guidance, and best practices from the brightest Lotus professionals around.

Join your peers who realize their Lotus technology is too important to let people from blogs and forums tell them how they should implement it, run it, and use it. THE VIEW is where only the world's top Lotus experts provide validated support to you on a weekly basis to ensure you work more efficiently, get more out of your Lotus technology, and stay clear of costly mistakes.

Check out the new instruction, tips, and best practices added to THE VIEW this week.

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2009, ZATZ Publishing. All rights reserved worldwide.
Editor's Login