Collaboration-ready Data Management
Store data using OAA Data Management
- oaa_DbDeclare(icon(Id, X, Y, PictureType), [shareable, callback(icon_change)])
Separate code which changes data from results, using callback feature
- NOT:
{ oaa_AddData(icon(hilton, 100, 100, hotel), []) map_Display(icon(hilton, 100, 100, hotel)) }
- BUT:
{ oaa_AddData(icon(hilton, 100, 100, hotel), []) }
icon_change(add, icon(Id, X, Y, Picture)) :- map_Display(icon(Id, X, Y, Picture)).
Notes:
A tight integration of information management services, with other types of services, also makes it possible to provide built-in support for collaborative activities (by users). These code snippets, from the Multimodal Map system, show how OAA allows a collaborative system to be coded cleanly.