Django Ep.1: Getting Started

Intro

Welcome to the first episode in a series made by a real beginner and targeted to real beginners on learning how to make dynamic websites.

My computer background is graphics and animation, mainly 3D for educational software. I am in love with anything 2D/3D graphics and animation in general but i become interested in another aspects from dynamic web-site design to GNU/Linux and Android.

Being around great programmers, some, very good friends, i started digging programming, dynamic web-pages to be specific (i know, i know, i’m a few years behind but bare with me).

How i choose the programming language

As a newbie web app programmer, i had to choose a programming language to start with so this were my three choices: PHP, Python and Ruby.

How i made the choice:

PHP:

pros – by far the most used language (and sure some say the most powerful), with the biggest user base thus a newbie will pick-up the language very fast with tones of examples, tutorials and code.

cons – i didn’t like the syntax

Ruby:

pros – very powerful web framework (read about it), the Ruby On Rails

cons – i didn’t like the syntax

Python:

pros – very clean syntax and easy to learn for a newbie, huge user base, works as a scripting language to all major 3D animation and compositing packages like Sidefx Houdini, Maya, Softimage, Blender, Nuke etc.

cons – for start, it works great for me, i’ll keep you posted on updates.

So Python is the winner! Now what?

Now for a python web framework i see that there are two paths, the Django way or the Pylons way. I strongly encourage you to check both and see what is for you (if you know other frameworks please check them out) and if you go the Pylons way, bad luck, this place is not for you, at least not now.

What is Django?

Meet Django, the web framework for perfectionists with deadlines.

From the website:

” Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Developed four years ago by a fast-moving online-news operation, Django was designed to handle two challenges: the intensive deadlines of a newsroom and the stringent requirements of the experienced Web developers who wrote it. It lets you build high-performing, elegant Web applications quickly. ”

In this website i will not recreate/copy stuff that is also on the internet but i will focus more on practical examples so for start, the first think you want to do is install Python and Django.

1. Install Python and Django by going here

1.1. The Django website states that is not required to be proficient in Python to learn Django and learning Django will teach you Python but if learning Python first makes more sense to you please refer here for the best Python resources for a beginner.

2. Read and complete the Django official tutorial

3. Read and complete the Free Django Book

4. Scout other resources, my recommendations will be:

Point 1.1., 2 and 3 will get you for while and until you get the hang of Python and Django, interesting examples will come here.

Python is a great programming language and so easy to learn it’s syntax and trust me, you will be productive in no time (don’t expect in 2 weeks to make a clone of ebay.com or Starcraft 3).

Have fun!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s