Changes between Version 5 and Version 6 of GROUP_RESOURCE_R0


Ignore:
Timestamp:
03/30/09 09:26:33 (16 years ago)
Author:
deyan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GROUP_RESOURCE_R0

    v5 v6  
    77 
    88== Overview == 
    9 ^(Provide a brief overview of the whole task in its first revision. Stick to the current revision of the task, but keep an eye to the whole task progress, and stay alert for possible smells.)^ 
     9Resource is an object that can be persisted. Some of the resources can be used as frame content or a timeline. Resources can be nested in other resources (i.g. book can have nested another book (embedded book)).[[BR]] 
     10 
     11Base resource model should have the following information 
     12 * UUID 
     13 * Target 
     14  * Data 
     15  * URL 
     16 * MetaInfo 
     17 * Comment 
     18 
     19Resource Scope could be 
     20 * Book 
     21 * Local 
     22 * Server 
     23 
     24Types of resources (the target of the resource) 
     25 * Text 
     26  * Plain 
     27  * RTF 
     28  * HTML 
     29 * Image 
     30 * Audio 
     31 * Movie 
     32 * Book 
     33 * Templates 
     34 * User 
     35 * Group 
     36 
     37 
     38MetaInfo of the resource is: 
     39 * The author of the resource 
     40 * The date the resource was created 
     41 * Version of the resource 
     42 * The date the resource was last modified 
     43 * Who was the last that modified the resource 
     44 * The dimensions of the image (if the target of the resource is an image) 
     45 * etc. 
     46 
     47Operations over a resource: 
     48 * The resource can be created. 
     49 * The resource can be modified (in a separate window). 
     50 * The resource can be deleted. 
     51 * The resource can be persisted. 
     52 * The resource can be imported(exported) to a server. 
     53 * The resource can be previewed (in a separate window). 
     54 
     55Resource Manager manages: 
     56 * Resource Versioning 
     57 * Resource Security 
     58 * Resource save/load 
     59 
    1060 
    1161== Task requirements == 
     
    1464  * The resource reference should allow finding the resource even if it is not loaded yet (location) 
    1565  * The reference mechanism should handle the case when the resource is not available (for example - server not available) 
    16  * Ensure that loading method loads only the resource, the children should be loaded by other method due to performance issues 
    1766 * Define methods for 
    1867  * Checking if a resource is available (this should be different from get method) 
     
    2069  * Resource getting it's parent 
    2170  * Resource getting list of it's children 
     71  * Attaching a resource 
     72   * Ensure that this method loads only the resource, the children should be loaded by other method due to performance issues 
     73   * Attaching a resource should be done as late as possible 
     74  * Detaching a resource 
     75   * Detaching the resource should be made as soon as possible (if it should not be cached for some reasons) 
     76   * Detaching a resource should also detach attached children of this resource 
     77  * Renaming a resource 
     78  * Cloning a resource 
    2279== Task result == 
    2380The result of this task is source code. 
    2481 
    2582== Implementation idea == 
    26 ^(Provide some rough implementation idea(s).)^ 
     83The reference id can be combination of unique id and path like in operating system. Refering children and other resources will be easy (./ ../ etc)  
    2784 
    2885== Related ==