equal
deleted
inserted
replaced
65 On a Unix system, the instances are usually stored in the directory |
65 On a Unix system, the instances are usually stored in the directory |
66 :file:`/etc/cubicweb.d/`. During development, the :file:`~/etc/cubicweb.d/` |
66 :file:`/etc/cubicweb.d/`. During development, the :file:`~/etc/cubicweb.d/` |
67 directory is looked up, as well as the paths in :envvar:`CW_INSTANCES_DIR` |
67 directory is looked up, as well as the paths in :envvar:`CW_INSTANCES_DIR` |
68 environment variable. |
68 environment variable. |
69 |
69 |
70 The term application can refer to an instance or to a cube, depending on the |
70 The term application is used to refer at "something that should do something as a |
71 context. This book will try to avoid using this term and use *cube* and |
71 whole", eg more like a project and so can refer to an instance or to a cube, |
|
72 depending on the context. This book will try to use *application*, *cube* and |
72 *instance* as appropriate. |
73 *instance* as appropriate. |
73 |
74 |
74 Data Repository |
75 Data Repository |
75 --------------- |
76 --------------- |
76 |
77 |
164 ~~~~~~~~~~~~~~~ |
165 ~~~~~~~~~~~~~~~ |
165 |
166 |
166 At startup, the `registry` or registers base, inspects a number of directories |
167 At startup, the `registry` or registers base, inspects a number of directories |
167 looking for compatible classes definition. After a recording process, the objects |
168 looking for compatible classes definition. After a recording process, the objects |
168 are assigned to registers so that they can be selected dynamically while the |
169 are assigned to registers so that they can be selected dynamically while the |
169 application is running. |
170 instance is running. |
170 |
171 |
171 Selectors |
172 Selectors |
172 ~~~~~~~~~ |
173 ~~~~~~~~~ |
173 |
174 |
174 Each appobject has a selector, that is used to compute how well the object fits |
175 Each appobject has a selector, that is used to compute how well the object fits |
213 The RQL query language |
214 The RQL query language |
214 ---------------------- |
215 ---------------------- |
215 |
216 |
216 **No need for a complicated ORM when you have a powerful query language** |
217 **No need for a complicated ORM when you have a powerful query language** |
217 |
218 |
218 All the persistant data in a CubicWeb application is retrieved and modified by using the |
219 All the persistent data in a CubicWeb instance is retrieved and modified by using the |
219 Relation Query Language. |
220 Relation Query Language. |
220 |
221 |
221 This query language is inspired by SQL but is on a higher level in order to |
222 This query language is inspired by SQL but is on a higher level in order to |
222 emphasize browsing relations. |
223 emphasize browsing relations. |
223 |
224 |