M
Monica Leko
Hi
I have small site which will track users talking on mobile phone (site
will refresh every x minutes and retreive new data from the server).
Users can change their location (walking), or they can talk standing
at same place. If they are walking then they are moving on the site,
two. User can be remove from site, and new users can be added to the
site. What is the common pattern for this kind of problems? Should I
use dictionaries, one which will track existing users on site, and one
which will contain data from server, and then I compare data from
server and existing data. For example
If I have {id1:user1, id2:user2} ang get from server {id1:remove,
id2:changelocation, id3:newuser}
Is this ok?
I have small site which will track users talking on mobile phone (site
will refresh every x minutes and retreive new data from the server).
Users can change their location (walking), or they can talk standing
at same place. If they are walking then they are moving on the site,
two. User can be remove from site, and new users can be added to the
site. What is the common pattern for this kind of problems? Should I
use dictionaries, one which will track existing users on site, and one
which will contain data from server, and then I compare data from
server and existing data. For example
If I have {id1:user1, id2:user2} ang get from server {id1:remove,
id2:changelocation, id3:newuser}
Is this ok?