Hi, I have a few general questions, answers for which I didn't find in
the book:
1. How does the model work in web2py's MVC? What is the workflow? When
does the code from those files called? The only relevant information I
found was the sequence diagram from the book.
2. How does the following form of passing arguments in Python work:
cache.ram.clear(regex='...')? I come from Java, as I understand regex
is some kind of an optional value to be passed?
3. How do the layouts work (layout as a pattern that is being used in
the views)?  I tried to do the following, which sometimes works and
sometimes not, providing errors: remove the {{extend 'layout.html'}}
from some view, i.e. "myview.html" and add {{include "myview.html"}}
into a second view. Mainly, it works, but when I try to remove
{{extend 'layout.html'}} from "default/user.html" and add {{include
'default/user.html'}} into "index.html", it fails. Why, and how to do
it properly?
4. I understood that in order to manipulate my database from GAE, I
need to index my tables. Where can I find information about indexing
and what is it?
5. While uploading my app into GAE, I find the example entries inside
my online GAE app. Why is that and how to prevent it?

Thanks.

Reply via email to