1

How does one go on making a system like the check-in feature like foursquare in php?

I would like to build a feature like this but i don't know how to start it (just the check-in feature). Your help will be really appreciated.

Reblochon Masque
  • 35,405
  • 10
  • 55
  • 80
donman
  • 11
  • 2

1 Answers1

0

A simple way to approach it would be to have Users, Locations, and check-ins SQL tables and set up foreign keys in the check-ins table. Anytime someone checks in at a location you can add an entry to that table.

Obviously the architecture would be different on a scale like foursquare. You'd want to use NoSQL or something like it (JSON, MongoDB) with the same "check-ins table" approach, but built for faster traversing.

jpumford
  • 573
  • 2
  • 9