Changes between Version 24 and Version 25 of COMMENT_FRAMES_R0


Ignore:
Timestamp:
09/08/09 13:37:43 (16 years ago)
Author:
kyli
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • COMMENT_FRAMES_R0

    v24 v25  
    1010Comment frames refer the so called 'comment streams', which live either the server or on local machine and thus may require a Sophie Server to function. However, a Sophie book that uses comment frames does not need to be on a Sophie Server. When a book has comment frames, users can add comments. These comments are uploaded to the Sophie Server and are made available for reading to everyone with an open copy of the book.  [[BR]] [[BR]] 
    1111A comment frame is added to a book the same way as every other frame type. Comment frames have a the same HUDs as do all frame types. [[BR]] [[BR]] 
    12 A comment frame allows adding a comment. There is a form inside the frame, allowing a commentator's comment to be entered. Comments can be added to a comment frame in Test mode or in Sophie Reader, but not in Author mode. [[BR]] [[BR]] 
     12A comment frame allows adding a comment. There is a form inside the frame, allowing a comment to be entered. Comments can be added to a comment frame in Test mode or in Sophie Reader, but not in Author mode. [[BR]] [[BR]] 
    1313Once a comment has been added, a Reply function is displayed to allow the user to reply. Replies are indented. Replies to replies are further indented. If there are enough comments to fill the comment frame, the comment frame must generate scroll bars.  [[BR]] [[BR]] 
    1414Comments can be added to any open copy of a Sophie book. [[BR]] [[BR]] 
     
    1717== Task requirements == 
    1818 * Model 
    19   * Create model for "comment stream" - the resource which lives (mainly) on the server. 
    20   * Create model for the frame content which refers the remote resource. It must Hold enough information for referring a concrete stream, for changing it and for updating. 
    21  * Persistence 
    22   * The server stream must be persist-able in order to be sent to the client 
    23   * The frame content resource must be persist-able in order to save the stream reference along with the book. 
     19  * Create "comment stream" - the resource which lives (mainly) on the server. It could have appropriate helper in order to ease implementations. 
     20  * Create comment frame. Since it will be a resource frame, it can refer a concrete stream. Keep in mind that the resource must be kept synchronized. 
    2421 * Manipulation  
    25   * Since the securtiy model on the server is not quite stable, user rights will be ignored for this revision. 
     22  * Since the security model on the server is not quite stable, user rights will be ignored for this revision. 
    2623  * Decide how will a stream be created / destroyed - from client, from web UI ot both. 
    27   * Decide about the relation between frame content resource and server stream - one to one or many to one. 
    28   * The comment frame should use the base.security and base.connectivity model in order to allow future  improvements related to server logging. 
    29  * Client <-> Server communication 
    30   * The server web services must allow communication related to comment streams. 
    31   * Add comment-related functions to the facade (both server and client) to allow secure communication 
    3224 * View 
    3325  * The comment content must be able to auto-refresh itself. 
     
    4032   * Date and time in ISO format 
    4133   * Text content 
     34  * Huds? 
    4235 
    4336== Task result == 
    44  * The result should be source code 
     37 * New comment frame functionality. 
    4538 
    4639== Implementation idea == 
     
    5346  * User creates a book (offline) 
    5447  * The user inserts a comment frame - it is empty, since the location is not set yet (maybe a default location should be set, it does not make difference). 
    55   * The comment frame has a halo button - it pops up a comment frame hud, which allows entering URL and resource location on the server (in some of the next revisions this will be replaced with location only) 
    56   * When set, the comment frame refers to the ws_connector's interface, looking for an appropriate connection for this url. It is ws_connector's responsibility to decide whether to auto connect, to popup a dialog or else. Then the ws_connector provides the latest version of the thread with the given location. 
    5748  * The comment frame content refreshes it's view. 
    5849  * The user enters some text and clicks "post". 
     
    6556[wiki:S2S_WS_CONNECTOR_R0] [[BR]] 
    6657[wiki:GROUP_BASE_SECURITY_R0] [[BR]] 
    67  
    68  
    6958 
    7059== How to demo ==