Flash: how to display results of data query - SQL vs. XML (or other)?
Posted on 2010-09-09
I am trying to create a flash Banner Advertisement that will use a database to create a ZIP Code locator. This advertisement will likely get a lot of hits so I need a very efficient solution.
The banner ad will let the user input a ZIP Code into a form field which, when submitted, will query a database to find matching data (i.e. store information) and then display the results in the flash banner file.
I *think* I can do this using an XML file (i.e. instead of querying a database, query the XML file) However, with 20,000+ ZIP Codes and related data nodes, this could be a HUGE XML file - and I'm not 100% positive it is possible.
Is it possible to query a database directly? I suspect so but my concern here is that the banner ad will get tons of hits and strain the database.
Has anybody done something like this before?
What is the best solution?!