Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

switching modes

 
aleks nikolic
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How many of you are allowing the capability to switch from local to remote mode while in runtime ? I was doing this but today I looked over the specs and it says
"the program must allow the user to specify the location of the database, and it must also accept an indication that a local database is used,in which case,the networking must be bypassed entirely"
elsewhere :
"The user must be able to select the operating mode,although it is acceptable that the program stay in one mode once it has started up"
Both instructions are rather ambiguous and I'm thinking of scrapping the switch from local to remote and I think when they refer to "allow the user to specify the location of the database" they are meaning at start-up only .
Otherwise "allow the user to specify the location of the database" adds considerable complication to the switching modes .
Mostly I would like to hear from anyone that did not bother with the runtime implementations and passed the exam .
 
Michael Lang
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ambiguity provides us flexibility. There are no single so-called correct answer. Different people interpret the instruction differently. Don't second guess yourself, or the assignment will drag you on forever.
Seems you prefer to let the user select the operating mode at the startup and the program stay in that mode once it has started up.
You need ask yourself, what is the difference between this 2 mode from the client point of view. In local mode, the client need the specify where is the data file. In network mode, the client need to know where the server is. Then just pass either info to your application upon startup.
Good luck!
 
Doug Melzer
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just satisfy the stated requirements. Provide a startup capability to run in one of the two modes. I wouldn't bother with doing something extra like providing the capability to switch at runtime.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic