20
The Web framework for perfectionists with deadlines Markus Zapke-Gründemann FrOSCon 2009

Django - The Web framework for perfectionists with deadlines

Embed Size (px)

DESCRIPTION

Django ist ein in Python programmiertes Framework, dass die schnelle Entwicklung von Web-Applikationen ermöglicht. Dabei wird Wert auf sauberen Code und die Wiederverwendbarkeit von einzelnen Komponenten gelegt.

Citation preview

Page 1: Django - The Web framework  for perfectionists with deadlines

The Web frameworkfor perfectionists with deadlines

Markus Zapke-GründemannFrOSCon 2009

Page 2: Django - The Web framework  for perfectionists with deadlines

• Über mich

• Was ist Django?

• Architektur

• Komponenten

• Weiterführende Links

• Demonstration

Übersicht

Page 3: Django - The Web framework  for perfectionists with deadlines

MarkusZapke-Gründemann

• Softwareentwickler seit 2001

• Schwerpunkt: Web Application Development mit Python und PHP

• Django, Symfony & Zend Framework

• Freier Softwareentwickler und Berater seit 2008

• www.keimlink.de

Page 4: Django - The Web framework  for perfectionists with deadlines

Was ist Django?

Page 5: Django - The Web framework  for perfectionists with deadlines

Jean "Django" Reinhardt23.1.1910 - 16.5.1953

Bildquelle: http://en.wikipedia.org/wiki/File:Django9.jpg

Page 6: Django - The Web framework  for perfectionists with deadlines

• Web Application Framework

• In Python geschrieben

• Open Source Software (BSD Lizenz)

• Django Software Foundation

• Umfangreiche Dokumentation

• Große, freundliche Community

Was ist Django?

Page 7: Django - The Web framework  for perfectionists with deadlines

• Rapid Development

• Loose Coupling

• Wiederverwendbare Applikationen

• Don't Repeat Yourself (DRY)

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

http://c2.com/cgi/wiki?DontRepeatYourself

Was ist Django?

Page 8: Django - The Web framework  for perfectionists with deadlines

Und natürlich Ponies!

Page 9: Django - The Web framework  for perfectionists with deadlines

Ponies?

Page 10: Django - The Web framework  for perfectionists with deadlines

Architektur

Page 11: Django - The Web framework  for perfectionists with deadlines

Model-Template-View

• Model-View-Controller ähnlich

• Model (Object-Relational Mapper) in Python, auch im Interpreter nutzbar

• View mit Logik in Python

• Template-System mit Vererbung,Tags und Filtern

Page 12: Django - The Web framework  for perfectionists with deadlines

Weitere Akteure

• URLConf für flexibles Routing

• Middleware arbeitet mit Request, Response und Exceptions

Page 13: Django - The Web framework  for perfectionists with deadlines

View

Webserver

Datenbank

Template

Model (ORM)

URLConf

Tags & Filter

Middleware

Page 14: Django - The Web framework  for perfectionists with deadlines

Komponenten

Page 15: Django - The Web framework  for perfectionists with deadlines

Komponenten

• Formulare & Validatoren

• Generische Views

• Authentifizierung

• i18n

• Admin

Page 16: Django - The Web framework  for perfectionists with deadlines

Komponenten

• GeoDjango (GIS)

• Syndication (RSS/Atom)

• Serialization (JSON, XML & YAML)

• Framework für Funktionale und Unit Tests

• Cache (memcached)

• Media URL (CDN)

Page 17: Django - The Web framework  for perfectionists with deadlines

Weiterführende Links

• www.djangoproject.com

• www.djangobook.com/en/2.0

• djangoplugables.com

• www.djangosnippets.org

• www.python.org

• www.diveintopython.org

Page 18: Django - The Web framework  for perfectionists with deadlines

Demonstration

Page 19: Django - The Web framework  for perfectionists with deadlines

Django Entwicklerraum

Raum C219

Fragen, Vorträge, …

Page 20: Django - The Web framework  for perfectionists with deadlines

Lizenz

Dieses Werk ist unter einem Creative Commons Namensnennung-Weitergabe unter gleichen

Bedingungen 3.0 Unported Lizenzvertrag lizenziert. Um die Lizenz anzusehen, gehen Sie bitte zu

http://creativecommons.org/licenses/by-sa/3.0/ oder schicken Sie einen Brief an Creative Commons, 171 Second Street, Suite 300, San Francisco, California

94105, USA.

Django is a registered trademark of the Django Software Foundation.