User Tools

Site Tools


uf:profiles

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uf:profiles [2009/02/27 15:20]
alombide
uf:profiles [2009/11/18 14:38] (current)
elisag adding
Line 1: Line 1:
 ==== Profiles ==== ==== Profiles ====
  
-  * Profiles: each Flockr has ProfileThere is minimal set of properties that are present in each Profile.  +Profiles represent the user identity in the framework. They are highly extensible and besides number of mandatory fields, flockrs can add as many custom fields as they likeFor example, users could add field with their year of graduation and use it to create a flock of nearby flockrs which graduated the same year. Furthermore, the framework provides some infrastructure that makes it easy to add new custom data types without having to write too much boiler plate code
-  * Changed events: when a Flockr modifies his Profile, a change event is propagated to the remote interfaces of all other Flockrs. In reaction to these events, all connected Flockrs propagate these events to the interested Proximities+  
-  * Caching: Each Flockr keeps a cached Profile of the other Flockrs such that the Profile can be consulted offline. When a Flockr is connected for which there is a cached Profile, he should propagate the necessary changed events to make sure that both the cached Profile and the Flocks of the other Flockrs are updated.+When a Flockr modifies his Profile, a change event is propagated to the remote interfaces of all other Flockrs. In reaction to these events, all connected Flockrs propagate these events to the interested Flocks
 + 
 +Each Flockr keeps a cached Profile of the other Flockrs such that the Profile can be consulted offline. When a Flockr is connected for which there is a cached Profile, he should propagate the necessary changed events to make sure that both the cached Profile and the Flocks of the other Flockrs are updated.
  
 ==== Profile Fields ==== ==== Profile Fields ====
Line 22: Line 24:
   * fieldSize(): can be specified for some field types for displaying purposes on a GUI.   * fieldSize(): can be specified for some field types for displaying purposes on a GUI.
   * comparators(): get the list of comparison operators defined on this type.   * comparators(): get the list of comparison operators defined on this type.
 +Some of these methods should be overridden when a custom type is added.
  
 The following Field Types are built in: The following Field Types are built in:
Line 57: Line 60:
  
 Properties of Profiles are represented as slots in the profile objects. Each Profile object has a parent object that contains the common behavior and mandatory fields for each profile. Since profiles are frequently copied over the network, they are isolate objects. Properties of Profiles are represented as slots in the profile objects. Each Profile object has a parent object that contains the common behavior and mandatory fields for each profile. Since profiles are frequently copied over the network, they are isolate objects.
- 
- 
- 
uf/profiles.1235744435.txt.gz · Last modified: 2009/02/27 15:22 (external edit)