GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
@Marc: Use dump or webservice?  XML
Forum Index -> Postal Codes
Author Message
geo



Joined: 16/03/2007 00:08:46
Messages: 1
Offline

Hi Marc,

i just would like to know if it's better to work with a dump or with the webservices...

Project: A little community in one country where each user adds his postal code to his/her profile.

1) With a dump:

- I import the dump into my database
- every insert gets his own id (because many small villages have the same postal codes)

2) With webservices:

- every time a user joins and add his postal code i connect to your webservices and offer the user the places for his postal code
- after he choosed the right on it will be saved in the database

1) -> big database, difficult to let autom. add new postal codes or changes
2) -> small database, adds only new postal codes if user joins, adds only actual stuff at time of join, perhaps it's a little bit addicted to the availability of your server

What's the better solution for this project?

Thanks,
Geo
marc



Joined: 08/12/2005 07:39:47
Messages: 4412
Offline

Geo

If it is only for a postal code drop down list then I would implement a simple postal code suggest or auto complete with the posibility for the user to overwrite it in case the postal code does not exist in the database.

Marc

[WWW]
 
Forum Index -> Postal Codes
Go to:   
Powered by JForum 2.1.5 © JForum Team