Changes between Version 24 and Version 25 of COMMENT_FRAMES_R0
- Timestamp:
- 09/08/09 13:37:43 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
COMMENT_FRAMES_R0
v24 v25 10 10 Comment 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]] 11 11 A 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 comment ator's commentto be entered. Comments can be added to a comment frame in Test mode or in Sophie Reader, but not in Author mode. [[BR]] [[BR]]12 A 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]] 13 13 Once 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]] 14 14 Comments can be added to any open copy of a Sophie book. [[BR]] [[BR]] … … 17 17 == Task requirements == 18 18 * 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. 24 21 * Manipulation 25 * Since the secur tiy 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. 26 23 * 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 communication30 * 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 communication32 24 * View 33 25 * The comment content must be able to auto-refresh itself. … … 40 32 * Date and time in ISO format 41 33 * Text content 34 * Huds? 42 35 43 36 == Task result == 44 * The result should be source code37 * New comment frame functionality. 45 38 46 39 == Implementation idea == … … 53 46 * User creates a book (offline) 54 47 * 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.57 48 * The comment frame content refreshes it's view. 58 49 * The user enters some text and clicks "post". … … 65 56 [wiki:S2S_WS_CONNECTOR_R0] [[BR]] 66 57 [wiki:GROUP_BASE_SECURITY_R0] [[BR]] 67 68 69 58 70 59 == How to demo ==