Solved

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

Posted on 2011-03-07
5
373 Views
Last Modified: 2013-12-25
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
Comment
Question by:Yashy
  • 3
  • 2
5 Comments
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 35062431
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
 
LVL 1

Author Comment

by:Yashy
ID: 35062517
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
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 35064924
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
 
LVL 1

Author Closing Comment

by:Yashy
ID: 35066970
You have been very helpful ray. Thanks.
0
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 35068696
Thanks for the points - it's a really great question! ~Ray
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now