doc/book/en/A02b-components.en.txt
changeset 268 0575e7973c5e
parent 262 170e0990b2d1
child 280 ce829abf7c29
equal deleted inserted replaced
267:843e0b1bf991 268:0575e7973c5e
     3 .. _cubes:
     3 .. _cubes:
     4 
     4 
     5 Cubes
     5 Cubes
     6 -----
     6 -----
     7 
     7 
     8 What is a cube
     8 What is a cube ?
     9 ~~~~~~~~~~~~~~
     9 ~~~~~~~~~~~~~~~~
    10 
    10 
    11 A cube is a model grouping one or more entity types and/or views associated
    11 A cube is a model grouping one or more entity types and/or views associated
    12 in order to provide a specific feature or even a complete application using
    12 in order to provide a specific feature or even a complete application using
    13 others cubes.
    13 others cubes.
       
    14 
    14 You can decide to write your own set of cubes if you wish to re-use the 
    15 You can decide to write your own set of cubes if you wish to re-use the 
    15 entity types you develop. By default, LAX comes with its owns set of cubes
    16 entity types you develop. Lots of cubes are available from the `CubicWeb
    16 that you can start using right away.
    17 Forge`_ under a free software license.
    17 
    18 
       
    19 .. _`CubicWeb Forge`: http://www.cubicweb.org/project/
    18 
    20 
    19 Standard library
    21 Standard library
    20 ~~~~~~~~~~~~~~~~
    22 ~~~~~~~~~~~~~~~~
    21 
    23 
    22 A library of standard cubes is part of the `LAX` release (look at
    24 A library of standard cubes is part of the `CubicWeb` release (look at the
    23 ``lax/skel/ginco-apps``). Cubes provide entities and views. With
    25 output of ``cubicweb-ctl list``). Cubes provide entities and views.
    24 ``lax-0.4``, you should get a set of application entities and system
       
    25 entities you can re-use.
       
    26 
    26 
    27 The available application entities are:
    27 The available application entities are:
    28 
    28 
    29 * addressbook: PhoneNumber and PostalAddress
    29 * addressbook: PhoneNumber and PostalAddress
    30 
    30 
    33 * blog: Blog (a *very* basic blog)
    33 * blog: Blog (a *very* basic blog)
    34 
    34 
    35 * classfolder: Folder (to organize things but grouping them in folders)
    35 * classfolder: Folder (to organize things but grouping them in folders)
    36 
    36 
    37 * classtags: Tag (to tag anything)
    37 * classtags: Tag (to tag anything)
    38 
       
    39 
    38 
    40 * file: File (to allow users to upload and store binary or text files)
    39 * file: File (to allow users to upload and store binary or text files)
    41 
    40 
    42 * link: Link (to collect links to web resources)
    41 * link: Link (to collect links to web resources)
    43 
    42 
    52   city in a state in a country)
    51   city in a state in a country)
    53 
    52 
    54 The available system entities are:
    53 The available system entities are:
    55 
    54 
    56 * comment: Comment (to attach comment threads to entities)
    55 * comment: Comment (to attach comment threads to entities)
    57 
       
    58 
    56 
    59 
    57 
    60 Adding comments to BlogDemo
    58 Adding comments to BlogDemo
    61 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    59 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    62 
    60