The UC is just around the corner and will be here before we know it. With the plethora of sessions available to attend it can be very difficult to make the ideal use of your time. Because this will be the first UC I have attended I wanted to ensure that I didn't miss any session relevant to my interests.
In the spirit of Open Source Software (OSS) I have created a simple pseudo-script to create a list of sessions best matching my goals.
The MIT License (MIT)
Copyright (c) 2014 James Gibson
Disclaimer: I'm not sure what lauguage pseudo-code falls under.
public class UC_Attendee impements IConferenceAttendee
private var _developer:IDeveloper;
private var _personalExpectations = new Array();
private var _uc:ESRI.UC;
public function UC_Attendee(developer:IDeveloper, event:IEvent)
_developer = developer;
_uc = ESRI.UC(event);
//lets prepare the attendees expectations
public function getExpectations():IList
private function developExpectations():void
//Retrieve the list of UC sessions
var sessions:Array = _uc.sessions;
var rankSessionByInterest = function(session:ISession)
//My personal interests
var title:String = session.title;
var sessionScore:int = 0;
for (interest in interests)
//Every session that matches an interest is awarded an additional point
sessionScore += 1;
//lets rank every session against my interests
for (session in sessions)
var sessionRank:int = rankSessionByInterest(session);
//For sessions that interest me, add them to the list of "to attend" sessions
if (sessionRank >= 3)
//Ensure that any listeners are updated with the finalized list of interests/expectations
And who knows, I might be able reuse this script for the next UC!