Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Static XML or web service?

Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

i am developing an application that will validate a zip code. If valid returns the state and city.

My question is should i develop a web service or just create a static XML , and use it for lookup instead?

any comments for this..
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some 'Should' and 'Should Not' varies from person to person. It is after all a decision that is taken judging the situation. If the mentioned one is the only necessity and the application is not going to be used by clients totally unaware of the specs then static XML may be fine. Otherwise ...
Posts: 43016
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree that this depends a lot on your circumstances. Who is going to access this? From where? Using what kind of clients? Do you see a need to update the component freqently, and/or independently from the rest of the client? Those are all questions you should be able to answer before making a decision.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic