Hello everyone!
*Background:* Not new to coding, relatively new to Python. Experience with
C# and PHP frameworks for web-app development. New to Python frameworks. I
think Pyramid is the way to go.
*My question:* *- [did my research, could not find what I am looking for,
probably because of my not-so-great English]*
*
*
*+ *I would like to have a *central (routing) file* where all the routings
are defined. e.g. route / to ... route /{method}/{value} to ..... (....
being different view callable(s))
*+ AND *I would like to have each and every one of my view callables *NOT
to exist in a single .py* but to have *their own .py file* (to have better
file structure and readability)
How do I link the two?
*also:*
*+ *How can I create a class .py which is not intended to be used as view
callable but as an object *to be called by view callables*, again, *very
importantly*, *on its own .py file. *
*
*
I am willing to read any document regarding these but I would highly and
respectfully appreciate clear, simple answers sharing how to achieve these
3 goals.
Thank you very much.
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pylons-discuss/-/FZyONlpRrugJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.