posted 20 years ago
I am trying to build a small page that will basically do the following task. It will have all 50 states on top, whenever I click on a state it will bring up all the "starbucks" (just for example) in that state, on a left-column navigation bar (about 1/4 of the page), and then on the right will be the address and some additional information of the "starbucks" that I chose.
Now I chose starbucks, because they have a lot of stores. So lets pretend I have as many stores, or maybe around 2/3 as many stores. All I want to store is the name, address, hours, and manager. But there will be about 1000+ stores. If I stored all that information on a javascript would that run relatively well, or very poor.
It is all just text after all. I am not sure if the script is loaded into the JVM, or how javascripts are handled.
If somebody has a better idea of how to store all this information and use it faster than my implementation, I'm all ears. But everything I do has to be client-side. The page I am designing is sitting on somebody's computer in an intranet. No web-server capabilities.