Browsing posts in: Python

Django Framework Quick Blog Tutorial

django-blog-cover

After we have Python and Django on our environment, why we are not trying to create a project. That will make us easier to understand the basic knowledge in how Django works. This framework is looking different for me, since i’ve been getting familiar with ASP MVC, Laravel or Codeigniter. But when i tried Django, i was thinking wow it’s really out of my mind, i never see the framework like this, usually the MVC framework separated into Model, View, and Controller, but in Django we call controller in views.py. The other thing, in Laravel the views page (html) are using blade engine, therefore you will have html file with extension page.blade.php, either in Rails you will have extension page.html.rb. But in Django you will never see something like that, your html will be html without need to add another extension, and i think it’s cool and  very clean.

I have tried to find the tutorial in how to create some project using Django that i think it will make me easier to understand, and finally i found the screencast tutorial on Youtube in how to create Django blog in 16 minutes by Arun Ravindran. Thank’s to Mr. Arun for this awesome tutorial. 😀

Continue Reading


Python and Django Installation on Windows Environment

mongodb-installation-cover

It’s been along time i’m not writing tutorial on my blog, since i’m struggling to learn some languages those are Python and Ruby, and also i’ve learned some frameworks of them those are Django and Rails. Why?? i have two reasons to answer that question, first i’ve assigned to do self learning on my office, and the second one i’m curious on that. This time i’m talking about Python, I think Python language has a good code structure because we have to careful in writing Python code, in fact the indentation take an effect to the interpreter, our codes will be compiled error if we are wrong to set the indentation. But the advantage is our codes will be structured and it will be easier to read. It will be easy to write Python codes if you have a good IDE that has formater feature for python. But now, i’m going to give you the way to install Python and Django on your windows machine. Django is one of the framework that using Python as a base language and I think Django is the most popular one than the others.

Continue Reading


%d bloggers like this: