Solved

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

Posted on 2011-03-07
5
379 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 110

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 110

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 110

Expert Comment

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

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
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)

688 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