color version - PET: Python Entre Todos - Python Argentina
color version - PET: Python Entre Todos - Python Argentina
color version - PET: Python Entre Todos - Python Argentina
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Introduction to Django<br />
Author: Juan Pedro Fisanotti<br />
<strong>Python</strong> is my favorite language, though I’m quite fond of Ruby and<br />
Lisp; Django is the web framework I like the most, Linux user<br />
(Ubuntu) from not too long ago, and free software enthusiast.<br />
Nowadays I mostly work with <strong>Python</strong> :)<br />
So, ¿what’s Django In a few words: it is a web development framework. That is to say: a<br />
set of libraries and tools that will allow us to create websites. As you probably imagine,<br />
it’s written in <strong>Python</strong> so it will also be <strong>Python</strong> (with all its benefits) the language that we<br />
use to create our websites.<br />
Django is free software, so we have access to its source code to learn, understand,<br />
enhance it, etc. It also has a big and active community that helps keep it up to date, have<br />
bugs detected and squashed, an updated and detailed documentation, and some other<br />
advantages we’ll later see (spoiler: a lot of useful applications already developed!).<br />
The original talk was titled “Mini-introduction to Django” but the written <strong>version</strong> wasn’t<br />
so “mini”.<br />
What’s more, it is good to know that Django has a well-defined philosophy, influenced by<br />
the environment it came from. The original Django creators worked building sites for<br />
news companies, where most of the times changes were needed within hours or days.<br />
Being a “perfectionist” group of developers their challenge was meet deadlines writing<br />
code the right way and not compromising to get it out the door faster.<br />
Its from there that comes the saying that Django is “the web framework for<br />
perfectionists with deadlines”. Django not only aids us in developing, it also actually<br />
helps us write good code.<br />
Finally, it is a framework that tries to be flexible, not get in between the developer and<br />
what he wants to accomplish. That’s why it is very simple replace the parts of Django we<br />
don’t like for others we like more or are more useful.<br />
Introductions out of the way (provided I didn’t bore you to death and caused you to stop<br />
reading), let’s get to know Django.<br />
The first important thing to know is what Django proposes for our sites’ structure: