Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Django help

Name: No name 2013-01-13 8:53

Do i have a couple of questions about django for you.
Anyone using it?
I'm a noob and got a recommendation to start learning python with django for web development
Do i need to use html/css/js or is it all python?
Sorry for a retarded question but i don't seem to be able to find it anywhere
Is python with django just an php replacement?

Name: Anonymous 2013-01-13 11:35

>>4
I am >>5
and I am sorry for that rant. It's just that I have a wife and kids who do not appreciate me.
     Anyway, django is like php but not completely. It is an MVC (model view controller)framework. What this means is the three major components i.e. the databases (model), the look of the website (basically html and js), and controller (this is used to generate dynamic html) are clearly separated. In django the terminology is a bit different they call them models, templates, and views. 
    In building a django application you define your databases as "models" i.e. as a python class. Similarly your html remains almost same but you can use "templates" which provide additional functionality. Finally, views are used to link models and templates, i.e. views recieve requests and they can use models and templates to send the response.
    Check out the django website and work through the example; It will be much clearer after you've created a simple application.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List