• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Network approaches confusing statement

 
Roman Yankin
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working on B&S 2.1.3 and have found the following confusing requirement under "Server > Network Approaches"


In either case, 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 to be used, in which case, the networking must be bypassed entirely.


What do they mean by "must also accept an indication that a local database is to be used"

Do they mean that I should add something like a title-bar text saying "Non-network Mode" when i'm using local db file and "Networking" when client application is connected to server?
 
Kah Tang
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I know, the only indication that needs to be handled is the extra parameter you give to the application to indicate standalone, client or server mode.
 
Alex Belisle Turcot
Ranch Hand
Posts: 516
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

what this means to me is "somehow you need to ask the user to specify the local database to be used".

This can be done for instance by displaying a window with a field "Local database path" and a browse button beside it.

=> This tells the user that he must specify the local database to use.

I personally also included the current mode in the application title:
B&S - Network ($IP:$port)
B&S - Server ($path, $port)
B&S - Local ($path)

[ September 07, 2008: Message edited by: Alex Belisle Turcot ]
 
Jethro Borsje
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Alex Belisle Turcot:
what this means to me is "somehow you need to ask the user to specify the local database to be used".
I agree, if have assumed the same thing.

Originally posted by Alex Belisle Turcot:
I personally also included the current mode in the application title:
B&S - Network ($IP:$port)
B&S - Server ($path, $port)
B&S - Local ($path)
So you have a GUI app for your server also?
 
Alex Belisle Turcot
Ranch Hand
Posts: 516
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jethro Borsje:
So you have a GUI app for your server also?



Yes. My server allows:
- Browsing to select the database;
- Editing the port to be used;
- Stopping/Starting the server.

Regards,
Alex
[ September 09, 2008: Message edited by: Alex Belisle Turcot ]
 
Roman Yankin
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kah, Alex, Jethro
Thanks for the answers!
[ September 11, 2008: Message edited by: Roman Yankin ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic