Changes between Version 7 and Version 8 of APP_CONNECTIVITY_REDESIGN


Ignore:
Timestamp:
07/29/09 13:29:27 (16 years ago)
Author:
kyli
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • APP_CONNECTIVITY_REDESIGN

    v7 v8  
    4040= Design = 
    4141 * ServerConnection: 
    42   * Represents a pair (serverURL, User).  
     42  * Represents a connection to a server, instantiated from a given Account.  
    4343  * Every connection has 1:1 relation with a client-side facade. 
    4444  * Has the methods that the facade has, which delegate to the facade's ones. 
    45   * The main difference between a connection and a facade is that the facade needs Session ID for most of its methods.  
     45  * The main difference between a connection and a facade is that the facade needs Session ID for its methods.  
    4646  * The facade's methods always return objects of type Response, the connection's ones handle the responses and 'unwrap' them. 
    4747  * The facade is not visible to others, only to the connection. 
    48   * The methods in the !ServerConnection that the facade doesn't have are login(String username, String password), logout(), initSession() and destroySession(). The third one is responsible for getting a session ID from the server and instantiating the private facade, the last one is responsible for destroying the facade in the connection and setting sessionId to null. 
    49  * unresolved issues:  
    50   * Anonymous login must be reconsidered. If we support it, we should either have two button in the palette (connect, login) or present a connection only as a URL, or something else.  
    51   * The server implementation of the facade needs the server resource accesses. So, if we change the facade to be compatible with the new design, we cannot fix the server errors without fake implementations or the new model provided. So, working in a private branch without the new resource design does not help us. 
    52  
     48  * The methods in the !ServerConnection that the facade doesn't have are login(String username, String password), logout(), connect() and disconnect(). The third one is responsible for getting a session ID from the server and instantiating the private facade, the last one is responsible for destroying the facade in the connection and setting sessionId to null. 
     49 *  
     50  
    5351 
    5452