Browse Source

mainpage for doxygen

prieto 7 years ago
parent
commit
950abfa726
2 changed files with 15 additions and 12 deletions
  1. 0
    1
      lodel/leapi/leobject.py
  2. 15
    11
      mainpage.dox

+ 0
- 1
lodel/leapi/leobject.py View File

@@ -17,7 +17,6 @@
17 17
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 18
 #
19 19
 
20
-
21 20
 ## @package lodel.leapi.leobject
22 21
 # This module is centered around the basic LeObject class, which is the main class for all the objects managed by lodel.
23 22
 

+ 15
- 11
mainpage.dox View File

@@ -3,29 +3,29 @@
3 3
 
4 4
 Lodel2 has two modes of operations : a standalone one, in that case Lodel2 is a customized CMS or and one, multisite case, in which it can be seen as a manager of CMS.
5 5
 
6
-Lodel2 has to perform 2 distinct tasks : to produce sites (cms), and to be a site.
6
+Lodel2 has to perform 2 distinct tasks : produce sites (cms), and be a site.
7 7
 Plus, in the case of multisite install, it has to manage the produced sites.
8 8
 2 parts :
9
-- Editorial Model, whom the goal is to describe the structure of the content managed by the instance. This Editorial Model has to be built, and has to produce the python code which will represent the content.
10
-- LeAPI, which is a python API to manipulate the objetcs created by the first part.
9
+- Editorial Model, whom the goal is to describe the structure of the content managed by the instance (the site). This Editorial Model has to be built, and has to produce the python code which will represent the content.
10
+- LeAPI, which is a python API to manipulate the objects created by the first part.
11 11
 
12
-In case of multisite install the manager of the sites is a lodel site itself, like the others, with a adapted Editorial Model.
12
+In case of multisite install the manager of the sites is a lodel site itself, like the others, with an adapted Editorial Model.
13 13
 
14 14
 Editorial Model part
15 15
 ====================
16 16
 
17 17
 To represent the content we have :
18 18
 
19
-- Classes, the [EmClass](@ref lodel.editorial_model.components) module, it is a fields container which is named.
20
-- Fields, the [emField](@ref lodel.editorial_model.components) module
19
+- Classes, the [EmClass](@ref lodel.editorial_model.components) module, it is a field container which is named,
20
+- Fields, the [emField](@ref lodel.editorial_model.components) module.
21 21
 
22 22
 These two modules are the components (see [EmComponent](@ref lodel.editorial_model.components)) of the content.
23 23
 
24
-In order to organize the different Editorial Models (for the different sites) from a single one, we have set up a system of groups, 
25
-the [EmGroup](@ref lodel.editorial_model.components). This system allows each site to activate or not certain groups. 
24
+In order to organize the different Editorial Models (for the different sites) from a single one, we have set up a system of groups,
25
+the [EmGroup](@ref lodel.editorial_model.components). This system allows each site to activate or not certain groups.
26 26
 A EmGroup can be seen as a EmClass end EmField named container.
27
- Some groups can depend of other groups. 
28
- This means that if EmGroup A is selected and it depends of EmGroup B, it must also be activated.
27
+Some groups can depend of other groups.
28
+This means that if EmGroup A is selected and it depends of EmGroup B, it must also be activated.
29 29
 
30 30
 CMS part
31 31
 ========
@@ -34,7 +34,7 @@ The Editorial Model, in fact, is the configuration of a lodel site, the cms.
34 34
 
35 35
 The produced CMS are instances of Lodel2.
36 36
 
37
-To manipulate the content (which is EmClass ) we have the [LeObject](@ref lodel.leapi.leobject) API. This class allows CRUD operations on content objects. To perform these operations it uses [LeQuery](@ref lodel.leapi.lequery) API, the bridge with the datasource.
37
+To manipulate the content (which is composed by EmClass classes) we have the [LeObject](@ref lodel.leapi.leobject) API. This class allows CRUD operations on content objects. To perform these operations it uses [LeQuery](@ref lodel.leapi.lequery) API, the bridge with the datasource.
38 38
 
39 39
 Datasources are [plugins](@ref lodel.plugin.plugins), like interfaces (IHM, cli, ...), extensions, scripts, session handlers.
40 40
 
@@ -48,7 +48,11 @@ Several types of plugins are mandatory : datasource, interface for now.
48 48
 LeFactory - Migration Handler
49 49
 =============================
50 50
 
51
+The Editorial Model described must be translated in python classes to be imported by the instances of Lodel2.
52
+This is done with [LeFactory] (@ref lodel.leapi.lefactory) module.
51 53
 
54
+Each change in the editorial model implies changes in dynamic code and datasources.
55
+These changes will be performed by the migration handler (not yet implemented).
52 56
 
53 57
 
54 58
 */

Loading…
Cancel
Save