python - Getting started with Pylons and MVC - Need some guidance on design -
Any time frameworks / Design pattern / which was never using 'called', I really do not know how it has reached.
What I have read in the Pilon's book, so far, it seems that I do the following:
-
My routes ./config/routes.py Make it in
This is where I map the URL for the controllers. -
Create the controller for the URL
This is where the main part of the code is false, it does all this work and prepares it for viewing -
Create my template
I create a template and assign data to its controller
Model ... me Do not know for whom they are: /
So my question is, can you recommend any reading material for someone who is not clearly know what they do Hey
I really want to start using the pylons but I think in a few months I will come back to my code and think ... "What was F?"
EDIT: In a better, in a nutshell, the question came to mind:
Which code should be placed in the controller? What code should I put in the model? The view is just templates No?
And, in terms of the pylons, not in the 'Lib' folder Controlling code or code will include a shared code that is not fit anywhere - OK?
There There is one magazine about 0.9.7 [pylons] and then updated docs to Pilanes 1 [and [understanding] if you have any question then Google Groups for Piles [