durusmail: quixote-users: Traversing objects without using _q_lookup
Traversing objects without using _q_lookup
2003-10-03
2003-10-03
Traversing objects without using _q_lookup
Merrell, Brian L.
2003-10-03
Hello I am new here and new to quixote.  I have been trying to determine the
best way to construct a very dynamic website that would best use the
framework.  What makes the most sense to me, given my limited exposure, is
to map the first part of the URL to the object class followed by the method
(then we pass parameters)

Is is possible to traverse objects without using_q_lookup?  The demo and
documentation of _q_lookup seems geared towards instantiating a single glass
with a given "component" instead of choosing a class to instantiate (with
nothing passed to __init__).  It appears if I use _q_lookup I would have to
put a big case statement?  Is there a better way?  Ideally I would just put
the object class into _q_index and it would be instantiated and traversal
would continue but I can't seem to get it to work.

-Brian

reply