Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

on being alone

 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another question

In the document under the heading "Network Approaches" it says "� the program must allow the user to specify the location of the database, and it must accept an indication that a local database is to be used �". My question here is does this mean that if the user's command line parameter is either "" or "server" that they still even then should be allowed to use "alone" mode or does this simply refer to the "alone" mode?

And what do they mean by "indication"? Do they mean you must have a label or something saying "You are using a local database" or do they mean that by being in "alone" mode you will have to select a local db file and that that would be your indication.
 
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Keith Jones:
Another question

In the document under the heading "Network Approaches" it says "� the program must allow the user to specify the location of the database, and it must accept an indication that a local database is to be used �". My question here is does this mean that if the user's command line parameter is either "" or "server" that they still even then should be allowed to use "alone" mode or does this simply refer to the "alone" mode?

And what do they mean by "indication"? Do they mean you must have a label or something saying "You are using a local database" or do they mean that by being in "alone" mode you will have to select a local db file and that that would be your indication.



I think that this is a confusing sentence and is a bit ambigious. I think that the best innterpretation is that 'alone' argument is indication that a local database is to be used. This is the interpretation that I have taken and below is the main method to start the app.

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would paraphrase

...(requirements when in "server" mode)... and it must accept an indication that a local database is to be used, in which case...


as

...(requirements when in "server" mode)... but the program must also consider the case when it runs in "alone" mode, in which case...



Chulwoo
 
The human mind is a dangerous plaything. This tiny ad is pretty safe:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic