--- a/doc/book/en/A03a-concepts.en.txt Wed Dec 24 12:36:57 2008 -0800
+++ b/doc/book/en/A03a-concepts.en.txt Fri Dec 26 11:37:56 2008 -0800
@@ -359,7 +359,7 @@
.. _`CubicWeb Forge`: http://www.cubicweb.org/project/
-
+.. _foundationsCube:
Standard structure for a cube
`````````````````````````````
@@ -370,27 +370,52 @@
mycube/
|
- |-- schema.py
- |
- |-- entities/
+ |-- data/
+ | |-- cubes.mycube.css
+ | |-- cubes.mycube.js
+ | `-- external_resources
|
- |-- sobjects/
+ |-- debian/
+ | |-- changelog
+ | |-- compat
+ | |-- control
+ | |-- copyright
+ | |-- cubicweb-mycube.prerm
+ | `-- rules
|
- |-- views/
- |
- |-- test/
+ |-- entities.py
|
|-- i18n/
+ | |-- en.po
+ | `-- fr.po
|
- |-- data/
+ |-- __init__.py
+ |
+ |-- MANIFEST.in
|
|-- migration/
- | |- postcreate.py
- | \- depends.map
+ | |-- postcreate.py
+ | `-- precreate.py
+ |
+ |-- __pkginfo__.py
+ |
+ |-- schema.py
+ |
+ |-- setup.py
+ |
+ |-- site_cubicweb.py
|
- |-- debian/
+ |-- sobjects.py
|
- \-- __pkginfo__.py
+ |-- test/
+ | |-- data/
+ | | `-- bootstrap_cubes
+ | |-- pytestconf.py
+ | |-- realdb_test_mycube.py
+ | `-- test_mycube.py
+ |
+ `-- views.py
+
We can use simple Python module instead of packages, for example: