Im new at this ranch and have some problems understanding the assignment for URLyBird regarding the networking and database specifications. I have been reading the assignment a couple of times but there is one thing I simply just don�t understand. However, there are a lot of "must" in theese sentences and better safe than sorry so... Please help :-)
It is clear that the application must be started from the command line using only 3 modes (server, alone or <empty>
. This is how I have understood the different mods - please let me know if im wrong.
When launching "standalone" the "normal" client GUI should appear but not connected to a database on a server. Instead the application should use a local database and hence the user must specify where the local database is by selecting a .db file on the filesystem.
When launching the application clean of command line arguments the "normal" cilent starts where the user must supply the port/ip/name of the server to connect to.
When launching "server" a simple gui will be displayed where the user may choose where the database file is. However, in the assigment (in the chapter describing the server) it clearly says that the user MUST be able to choose a non-local or local database. It also says that if the user choose a local database, the networking MUST be disabled. As I understand it the server is completely useless without networking since no-one will ever be using it (no networking = no requests). Further I do not understand the need for anything else than a local database on the server. Should you (in the server application) be able to point out a non-local database on say another machine?