New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
iOS Development Discussion on developing apps for the iOS platform.

Tracking Design

Post Reply New Thread Subscribe

Thread Tools

Member Since: Oct 18, 2011
Posts: 160
oo7ml is on a distinguished road

oo7ml is offline

I am in the middle of building a very small tracking app so that friends can share their live tracking location with each other.

I'd like your opinion / feedback on my design of this feature.

01 - when the sender sends their live tracking to their friend (reciever) on the app, their $sent_location is stored in the DB.
02 - if the sender moves 50m their $live_location is then updated to the DB but ONLY if it 7 seconds has elapsed since the last update of $live_location (so there must be a 7 second gap in between DB updates AND the update query will ONLY be triggered if the user has moved 50m)
03 - the receivers map refreshes / checks every 5 seconds to see their $live_location

So if the sender is sitting at home and they don't move 50m, the receiver will see the sender's $live_location as at home... then the $live_location will only be updated if the sender moves 50m (this will cut down on the amount of queries to the DB)

I'd love to hear your opinion on the design of this function and if you have better ways to implement it, thanks in advance for your help.
QUOTE Thanks

Post Reply New Thread Subscribe

« First Release VS Update | Image Share »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Personal Websites New/Updates, things to see? Graphite Web Design and Hosting 400 08-06-2014 11:46 AM
Tracking App oo7ml iOS Development 4 07-07-2014 05:51 PM
Design of experiments (DOE) software for OSX Mavericks Moss OS X - Apps and Games 2 07-05-2014 07:01 AM
iMac for design (and gaming?) JamieTwelve Apple Desktops 13 06-25-2014 11:10 PM
Tracking Changes Roger442 OS X - Operating System 10 05-10-2014 05:48 PM

All times are GMT -4. The time now is 06:06 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?