IBM®
Skip to main content
    Country/region select      Terms of use
 
 
   
     Home      Products      Services & solutions      Support & downloads      My account     

developerWorks  >  Lotus  >  Forums & community  >  Best Practice Makes Perfect

Best Practice Makes Perfect

A collaboration with Domino developers about how to do it and how to get it right in Domino

Help me out here, folks.

As you must all be aware by now, if you use @Today in the selection formula or column formulas of a view, the view index will be discarded and rebuilt every time it is used.
This is necessary if the view uses @Now, but it's not clear that it's necessary for @Today. It seems to me that if @Today has the same value now as when the view was indexed previously, we should be able to reuse the index -- only if the date has changed should we discard the index. Assuming here that the timezone of the server isn't being frequently changed, we should be able to take the date part of the last index time, the date part of now, and if they are the same, just update the existing index instead of starting fresh.

Of course, this would be a change to a long-standing tradition, and would have to be taken with care. What I need from you is for you to exercise your brain a little and try to think of any way this change could break an existing application (with the qualification that I don't consider making it faster a form of breakage). Comments?

Andre Guirard | 24 July 2007 04:42:01 PM ET | Plymouth, MN, USA | Comments (24)

Search this blog 

Disclaimer 

    About IBM Privacy Contact