author | Sandrine Ribeau <sandrine.ribeau@logilab.fr> |
Tue, 11 Nov 2008 16:17:50 -0800 | |
changeset 27 | ef1c80154d6f |
parent 24 | b5303abf484a |
child 44 | 7e62f9c9a3c8 |
permissions | -rw-r--r-- |
0 | 1 |
.. -*- coding: utf-8 -*- |
2 |
||
3 |
Frequently Asked Questions |
|
4 |
========================== |
|
5 |
||
6 |
[FILL ME] |
|
7 |
||
24
b5303abf484a
Add a FAQ and started a section on views selector.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
0
diff
changeset
|
8 |
* A quoi servent les crochets? |
b5303abf484a
Add a FAQ and started a section on views selector.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
0
diff
changeset
|
9 |
|
b5303abf484a
Add a FAQ and started a section on views selector.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
0
diff
changeset
|
10 |
Les crochets sont appeles lorsqu'une requete RQL est executee. Cela |
b5303abf484a
Add a FAQ and started a section on views selector.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
0
diff
changeset
|
11 |
permet d'executer des actions specifiques lors d'un acces a la base |
b5303abf484a
Add a FAQ and started a section on views selector.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
0
diff
changeset
|
12 |
de donnees, ce qui donne un controle de la base de donnees afin de |
b5303abf484a
Add a FAQ and started a section on views selector.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
0
diff
changeset
|
13 |
prevenir l'insertion de `mauvaises` entites dans la base. |
0 | 14 |
|
27
ef1c80154d6f
Add a little in FAQ and HOWTO.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
24
diff
changeset
|
15 |
* Quand utiliser un template HTML plutot qu'un composant graphique? |
ef1c80154d6f
Add a little in FAQ and HOWTO.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
24
diff
changeset
|
16 |
|
ef1c80154d6f
Add a little in FAQ and HOWTO.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
24
diff
changeset
|
17 |
Un template HTML ne peut contenir de logique, il ne permettra donc |
ef1c80154d6f
Add a little in FAQ and HOWTO.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
24
diff
changeset
|
18 |
que de definir une vue statique. Un composant permet lui de gerer |
ef1c80154d6f
Add a little in FAQ and HOWTO.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
24
diff
changeset
|
19 |
plus de logique et d'operations sur le contexte dans lequel il |
ef1c80154d6f
Add a little in FAQ and HOWTO.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
24
diff
changeset
|
20 |
s'applique. Il faut donc bien reflechir avant de decider de l'un ou |
ef1c80154d6f
Add a little in FAQ and HOWTO.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
24
diff
changeset
|
21 |
de l'autre, mais vous avez la possibilite de choisir. |
24
b5303abf484a
Add a FAQ and started a section on views selector.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
0
diff
changeset
|
22 |
|
b5303abf484a
Add a FAQ and started a section on views selector.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
0
diff
changeset
|
23 |
|
27
ef1c80154d6f
Add a little in FAQ and HOWTO.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
24
diff
changeset
|
24 |
|
ef1c80154d6f
Add a little in FAQ and HOWTO.
Sandrine Ribeau <sandrine.ribeau@logilab.fr>
parents:
24
diff
changeset
|
25 |