D JANGO Leo Wang Daniel South Philip Kim. Introduction Open Source web application framework...

9
DJANGO Leo Wang Daniel South Philip Kim

Transcript of D JANGO Leo Wang Daniel South Philip Kim. Introduction Open Source web application framework...

DJANGO

Leo WangDaniel South

Philip Kim

Introduction

• Open Source web application framework

• Released in 2005• Python is used throughout• Speed of development

Django vs Rails

• Similarties:– Django is to Python as Rails is to Ruby– Model-View-Controller architectural– Emphasis is on Reuse, DRY and simplicity

• Differences:– Django has a built-in admin control whereas Rails

doesn’t

Django Community

Rails Community

Common Uses

• Dynamic web pages– Guestbook– Poll voting– Forum– Social network

Features

• Session Framework– Store visitor data– Python dictionary

• Templates– Generate unique views– Built-in tags

Features

• Django admin interface– Designed for nontechnical users– User interface to perform tasks

Code and Demonstration