sábado, 26 de noviembre de 2011

why post

I just read an awesome tip when learning new stuff, from the article on motivation and learning something from the Freakonomics guys(read the original book it explains the internet as we know it from an economic point of view)
Wheeler recommended that, after we solve any problem, we think of one sentence that we could tell our earlier self that would have “cracked” the problem. This kind of thinking turns each problem and its solution into an opportunity for reflection and for developing transferable reasoning tools.
I would have loved saying to my self.
Writting a new django feature takes this steps:

  • Think of the feature.
  • Think how you would put the data needed to drive the feature in a 2d table.
  • Create a new django app .
  • Write the name of the columns in a model inside models.py.
  • Write the logic that uses that data in views.py
  • Make sure your processed data ends ups in the context that view returns.
  • Write the template that uses the processed data.
And make sure you have the django official docs with your all the time!

No hay comentarios:

Publicar un comentario