Your Development & Design Resource
Match Maker - The Pseudocode!
08/15/2008 03:59 PM by Chris Toohey
I am constantly telling people (and constantly being reminded through the day-to-day) that I "married up" when I was lucky enough to marry my wife. Shirley is one of those amazing people that not only puts up with me (which makes her a saint), but that enables me to be a better person just being around her.
I've gotta tell ya... I find that I've "married up" with my circle of friends. I've not only got a more firm footing on Match Maker as a result of several IM conversations and a phone call with Tim today, but there's something coming down the pipe that will knock the fillings out of your teeth - an all-star team (and me - ftw?!) working on the next "sliced bread" solution.
But back to Match Maker. I'm slightly modifying the data architecture of Match Maker - pushing for a more globally useful approach instead of a source database/document approach - which should allow some amazing functionality. Simply put... (get ready for some pseudocode-babble):
Simple "user-defined" formula - ie., field1 + "_" + field2 + "_" +
Selected "source" Application Profile.
Evaluated simple "user-defined" formula used to limit the Source
Multi-value selected "target" Application Profiles
Evaluated simple "user-defined" formula used to limit the Target
So, let's say I want to find matching documents to each email in my Inbox,
across my CRM Contacts Database, Helpdesk Database, and Projects Database
solutions. Instead of (heaven forbid it!) modifying those target
NotesDatabases or running time-consuming searches in real-time against 3
different databases, all I'll need to do is set a Relationship Profile with a
from + "_CHP". To grab the
NotesDocumentCollections of matching documents, I just simply do a
MatchMakerDB.getDocumentByUNID and feed it the evaluated hash (
Simple and immediate. It's almost finished - still playing around with a few things - but it'll be a pretty sweet (and hopefully useful) multi-database meta index utility for those of you who find yourself needing such a thing!