durusmail: quixote-users: some newbie questions and comments
some newbie questions and comments
2003-11-20
2003-11-20
2003-11-20
2003-11-20
2003-11-21
2003-11-21
2003-11-23
2003-11-23
2003-11-22
2003-11-22
2003-11-23
2003-11-23
2003-11-22
some newbie questions and comments
George
2003-11-20
Dear colleagues,
I am somehow new in Quoxite. However, I am a newbie neither in Python nor in
web-
programming. My first feeling is that Quixote is more advanced than .NET and a
real
competitor of jsp.
I have some questions to those more advanced in this framework (Thank you in
advance!):
1) Is there any .canonical. or recommended structure of a web-app?
2) How can one set style properties of widgets? I mean, let say, background,
font,
border-styles, etc; where applicable.
3) Is there something similar to the dotnet.s PostBack flag?
4) Sometimes, a user shouldn.t be allowed to go back or to reload a page. What
is the
preferred way of doing so in Quixote?
5) How do the links look like is mod_rewrite is off? Suppose the app name is
.books.
and url_prefix is q. Then, if mapping functions, one uses http://www.some-
url.com/q/,
and http://www.some-url.com/q/other/ calls the corresponding _q_index. How does
it look
like if no mapping is possible? Is it something like http://www.some-
url.com/cgi-
bin/books.other.cgi? And, is the final ./. indispensable for the root page?

As one can see, my questions arise from my previous experience. That.s why I
also miss
some features one can, as of my feeling, easily contribute to Quixote:

1) Could the widgets be designed so as to explicitly set their data sources
obtained
from DBs? Now it seems to me sort of hard-coded.
2) Could the widgets be designed so as to make the validation of their content a
field
of the corresponding class? Like the following, for example:
some_widget.validate
(some_re_pattern)? I have learned it is already possible to do this job a
posteriori,
however, such function, once augmented to the widget class, would be very handy,
for
checking against wrong mail addresses, zip-codes, _bad. words, etc.
3) Is it possible to add some [bbc] support to TextWidget, say, in the following
manner
inside the class: bb_handlers={.bb_name.:bb_handler, .bb_name2. : bb_handler2}.
Of
course, it would be a user.s responsibility to implement handlers correctly;
however,
the text would be sent to a user already modified in accordance to the handling
rouls.
4) I would find it useful if the style features of widgets could be re-
initialized by
corresponding xml files. It would facilitate re-design of a site.
5) Is it useful if one implements TableWidget, which would me mapped to
and
PanelWidget, which would be mapped to 
? Other widgets could be attached to the panel. 6) If somebody makes Quixote_isapi.dll for IIS, what are the guidelines and constrains one must follow? I probably shall be modifying some widget classes for my needs and I would like to know how useful could be the above-mentioned changes for other Quixote users? Are they modifications at all? Thank you very much. Best wishes, Giorgi