|
|
|
|
|
|
|
|
|
|
|
|
|
|
Numeric vs. text fields in application design (continued)
That's actually true enough, but then you also need to ask what that sequence represents? The order in which the documents were created? If so, why not sort by the created date, and if need be, hide that column in the view? Then you don't even have to come up with a way of "numbering" the documents into a sequence, which as we all know with a distributed system like Notes, isn't quite as easy as it sounds.
OK, you say, I need a "handle" to refer to these documents with, and that is a good point; which is of course why Lotus Notes has @unique, after all. As this is also based on the clock time, sorting by that value will also generate an ascending, by creation date, list.
Conclusion In conclusion, when designing applications, consider carefully whether the value you are keeping really is a number that you will use in arithmetic calculations, or whether it is just a text string that contains numeric characters. You won't regret those few extra moments in your application design process when you see the extra robustness of the application and its greater resilience to change.
Bain McKay is Executive Vice President and Chief Scientist of CIRI Lab Inc. where he and his research team build advanced Knowledge Management technology using the latest methods in Cognitive Science and computing technology. Bain can be reached at bmckay@cirilab.com or at http://www.cirilab.com.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Advertisement --
Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done.
Native to Lotus Domino. The User Experience unseen for Lotus Domino.
Do more with less. Really.
See the possibilities Docova unleashes for Lotus Domino. |
-- Advertisement --
Teamstudio Edition 25 has shipped
It's finally here! Now that Teamstudio Edition 25 has shipped, listen to our latest Tool Time audio program to find out what's changed. Updates to all your favorite Teamstudio tools will be discussed.
Plus, you'll get an introduction to Teamstudio Undo (formerly known as Teamstudio Snapper).
Tap here to get started! |
|
|
|
|
|
|
|
|
|
|