Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Static XML or web service?  RSS feed

 
Cyrus Serrano
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..
 
Kaustabh Singha Roy
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 ...
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!