• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 383
  • Last Modified:

Linking data to a graphical model that's updated in real time?

hi guys

I've had an idea, but have no idea what it's called or where to look into implementing it.

Let's say that you have a customer register online on your website, how would one go about linking that data to a live country map on your website so that everytime those registrations go through, they end up showing up on a specific area of your map?

I'm obviously being very vague here regarding the platform being used, but in case you know what I'm referring to, would be great to get some insight or tips?

Thanks
Yashy
0
Yashy
Asked:
Yashy
  • 3
  • 2
1 Solution
 
Ray PaseurCommented:
Have a look at this page and tell me if it makes sense for what you want.  If not, please explain a little more.
http://landonbaseball.com/site_visitors.php

I have an article here about location-aware data.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/PHP_Databases/A_3437-IP-Address-to-Country-in-PHP.html

This organization might be helpful, too.
http://geoio.com/
0
 
YashyAuthor Commented:
This is basically what I'm looking for yes. That's great stuff. man thank you

All I will have to do is figure out how data in SQL (such as the amount the registering person spent on a transaction) and their location will link into something like this:). I'm sure I'll figure it out....somehow:).
0
 
Ray PaseurCommented:
If you're choosing one path or another, I think the GEOIO web service may be a better choice than doing your own lookup with the Maxmind data.  Geoio did not exist when I wrote the article.  Here are the tradeoffs.

With your own MaxMind data you control the lookup.  With Geoio, you have to call an external service.  There is a risk, however slight, that the remote service could fail, and you will need to program around that eventuality. In my own scripts I do not need contemporaneous results from Geoio, so I start a separate process with a POST request, and this process calls Geoio.  If the process completes successfully my data base gets updated.  If it fails, I have an error handler that runs asynchronously.  In any case, my web clients are not delayed by the remote service.

Using Geoio has the advantage that you do not have to reload a data base from Maxmind every month.  It's not life-changing but it is a PITA.  Geoio takes care of all that for you.

HTH, ~Ray
0
 
YashyAuthor Commented:
You have been very helpful ray. Thanks.
0
 
Ray PaseurCommented:
Thanks for the points - it's a really great question! ~Ray
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now