• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Network approaches confusing statement

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 516
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kah, Alex, Jethro
Thanks for the answers!
[ September 11, 2008: Message edited by: Roman Yankin ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic