|
1 .. -*- coding: utf-8 -*- |
|
2 |
|
3 Frequently Asked Questions |
|
4 ========================== |
|
5 |
|
6 * Why does not LAX have a template language ? |
|
7 |
|
8 It does. Actually, you can use your preferred template language if you |
|
9 want. [explain how to use a template language] |
|
10 |
|
11 The reason template languages are not used in this book is that |
|
12 experience has proved us that using pure python was more efficient. |
|
13 |
|
14 * Why do you think using pure python is better than using a template language ? |
|
15 |
|
16 [copy answer from forum] |
|
17 |
|
18 code is easier to maintain, does not have to learn a new dialect |
|
19 each time, real function/classes etc -> real development |
|
20 |
|
21 * Why do you use the GPL license to prevent me from doing X ? |
|
22 |
|
23 [copy answer from forum] |
|
24 |
|
25 * LAX looks pretty recent. Is it stable ? |
|
26 |
|
27 [answer that framework has evolved over the past seven years and that |
|
28 data migrated from one schema to the other ever since] |
|
29 |
|
30 * Why is the RQL query language looking similar to X ? |
|
31 |
|
32 [copy answer from forum, explain why similar to sparql and why better |
|
33 than django and SQL] |
|
34 |
|
35 * which ajax library |
|
36 |
|
37 [we use mochikit and things on top of that] |
|
38 |
|
39 * `Error while publishing rest text ...` |
|
40 |
|
41 While modifying the description of an entity, you get an error message in |
|
42 the application `Error while publishing ...` for Rest text and plain text. |
|
43 The server returns a traceback like as follows : |
|
44 2008-10-06 15:05:08 - (erudi.rest) ERROR: error while publishing ReST text |
|
45 Traceback (most recent call last): |
|
46 File "/home/sandrine/src/blogdemo/ginco/common/rest.py", line 217, in rest_publish |
|
47 File "/usr/lib/python2.5/codecs.py", line 817, in open |
|
48 file = __builtin__.open(filename, mode, buffering) |
|
49 TypeError: __init__() takes at most 3 arguments (4 given) |
|
50 |
|
51 |
|
52 This can be fixed by applying the patch described in : |
|
53 http://code.google.com/p/googleappengine/issues/detail?id=48 |
|
54 [ADD MORE FAQ] |