doc/tutorials/advanced/part01_create-cube.rst
changeset 12390 d9196c0420fe
parent 12389 385a1d11dfeb
child 12391 e4e5814fd70c
equal deleted inserted replaced
12389:385a1d11dfeb 12390:d9196c0420fe
    40 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    40 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    41 
    41 
    42 Almost everything I want to handle in my web-site is somehow already modelized in
    42 Almost everything I want to handle in my web-site is somehow already modelized in
    43 existing cubes that I'll extend for my need. So I'll pick the following cubes:
    43 existing cubes that I'll extend for my need. So I'll pick the following cubes:
    44 
    44 
    45 * `folder`, containing the `Folder` entity type, which will be used as
    45 * `folder <https://www.cubicweb.org/project/cubicweb-folder>`_, containing the
    46   both 'album' and a way to map file system folders. Entities are
    46   `Folder` entity type, which will be used as both 'album' and a way to map
    47   added to a given folder using the `filed_under` relation.
    47   file system folders. Entities are added to a given folder using the
       
    48   `filed_under` relation.
    48 
    49 
    49 * `file`, containing `File` entity type, gallery view, and a file system import
    50 * `file <https://www.cubicweb.org/project/cubicweb-file>`_, containing `File`
    50   utility.
    51   entity type, gallery view, and a file system import utility.
    51 
    52 
    52 * `zone`, containing the `Zone` entity type for hierarchical geographical
    53 * `zone <https://www.cubicweb.org/project/cubicweb-zone>`_, containing the
    53   zones. Entities (including sub-zones) are added to a given zone using the
    54   `Zone` entity type for hierarchical geographical zones. Entities (including
    54   `situated_in` relation.
    55   sub-zones) are added to a given zone using the `situated_in` relation.
    55 
    56 
    56 * `person`, containing the `Person` entity type plus some basic views.
    57 * `person <https://www.cubicweb.org/project/cubicweb-person>`_, containing the
       
    58   `Person` entity type plus some basic views.
    57 
    59 
    58 * `comment`, providing a full commenting system allowing one to comment entity types
    60 * `comment <https://www.cubicweb.org/project/cubicweb-comment>`_, providing a
    59   supporting the `comments` relation by adding a `Comment` entity.
    61   full commenting system allowing one to comment entity types supporting the
       
    62   `comments` relation by adding a `Comment` entity.
    60 
    63 
    61 * `tag`, providing a full tagging system as an easy and powerful way to classify
    64 * `tag <https://www.cubicweb.org/project/cubicweb-tag>`_, providing a full
    62   entities supporting the `tags` relation by linking the to `Tag` entities. This
    65   tagging system as an easy and powerful way to classify entities supporting
    63   will allows navigation into a large number of picture.
    66   the `tags` relation by linking the to `Tag` entities. This will allows
       
    67   navigation into a large number of picture.
    64 
    68 
    65 Ok, now I'll tell my cube requires all this by editing :file:`cubicweb-sytweb/cubicweb_sytweb/__pkginfo__.py`:
    69 Ok, now I'll tell my cube requires all this by editing :file:`cubicweb-sytweb/cubicweb_sytweb/__pkginfo__.py`:
    66 
    70 
    67   .. sourcecode:: python
    71   .. sourcecode:: python
    68 
    72