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

Need help urgently

 
Sridhar Garimella
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,
The description in my FBN assignment is like below
1)Additionally, the program must be able to work in a non-networked mode. In this mode, the database and user interface run in the same VM and no networking is performed. 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.
From the above description what i came to know is i have to give two options to the client (like 0 for network and 1 for non network). If it is network mode then the user interface has to get the info from the database located in server if it is 1 then it has to get the info from local database. Is it right? If so then how to maintain the database in server and client in sync if the client select non network mode option? At this point i struck up.
2) When i saw the database(in the form of ascii text file) i got one small doubt. suppose if i want to fly from BOM TO FRA then direct flight is available so no problem. suppose i want to fly from BOM to DAL then no direct flight we have to fly from BOM to FRA and then FRA to DAL in this situation any routing algorithm required? or else we consider only direct routes?
please clarify the above doubts. Looking forward to hear your opinions and suggestions.
Thanks in advance,
sreedhar garimella.
 
Mike McGowen
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1.The two modes are mutually exclusive. If the application runs in a local mode it runs in that mode only.Likewise if it runs in a network mode then all the clients using that system will use it in that mode only. I don't think we need to sync both the databases in two modes since both are exclusive to one another.
2.I feel that it is an additional functionality you will be providing if you connects two flights. If you ae asked to show flights from A to B then the basic requirement would be showing the flights from A to B if we have one from A to B and otherwise no.Any way it is my opinion and I appreciate if any one corrects me if I am wrong.
 
Sam Wong
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with Mike. The assignment doesn't specify a smart algorithm to search for non-direct flights. You may want to document that such a feature would be desirable in future releases. I don't think you'll win brownie points by including it in your code. Stick with the basics.
 
Sridhar Garimella
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Mike and Sam.

regards,
sridhar garimella.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic