SlideShare une entreprise Scribd logo
1  sur  9
dojango
Django and Dojo - The perfect couple




       Tobias von Klipstein, uxebu
        http://twitter.com/uxebu
Django?

• Request/Response framework
• MVC web framework
• using Python
• like Rails / Symfony / ...
Django - Overview
                            Middleware                  Template Tags / Filter
      Model
                            URL Mapper                Commandline commands


                     Template Context Processor                   Forms
View => Controller

                                                              Settings


Templates => View
                                                                  ADMIN
                                 DOJANGO          Reusable Apps
                                                                           AUTH
Why?

   Django is Python      Dojo is JavaScript
      Templating             dojox.dtl
    URL dispatcher     Reinhardt (by SitePen)
Documentation system based on ReSt and Sphinx
   Django Software
                          Dojo Foundation
     Foundation
        Starts with D and ends with O
How?
settings.py
INSTALLED_APPS = ('dojango', ...)
MIDDLEWARE_CLASSES = ('dojango.middleware.DojoAutoRequireMiddleware', ...)

urls.py
urlpatterns = patterns('', (r'^dojango/', include('dojango.urls')), ...)



Your template
{% extends quot;dojango/base.htmlquot; %}
{% block dojango_content %}
{% endblock %}
Plain old html
from django.forms import *
Uhh, shiny
from dojango.forms import *
DataGrid
{% load dojango_grid %}
{% simple_datagrid app Model %}
thx
    http://dojotoolkit.org
http://docs.dojocampus.org
     http://dojango.org
   http://blog.uxebu.com


     Tobias von Klipstein, uxebu
         tobias@uxebu.com
      http://twitter.com/uxebu

Contenu connexe

Tendances

Object oriented php
Object oriented phpObject oriented php
Object oriented php
jwperry
 

Tendances (19)

Object oriented php
Object oriented phpObject oriented php
Object oriented php
 
FYBSC IT Web Programming Unit IV PHP and MySQL
FYBSC IT Web Programming Unit IV  PHP and MySQLFYBSC IT Web Programming Unit IV  PHP and MySQL
FYBSC IT Web Programming Unit IV PHP and MySQL
 
FYBSC IT Web Programming Unit III Javascript
FYBSC IT Web Programming Unit III JavascriptFYBSC IT Web Programming Unit III Javascript
FYBSC IT Web Programming Unit III Javascript
 
FYBSC IT Web Programming Unit III Core Javascript
FYBSC IT Web Programming Unit III  Core JavascriptFYBSC IT Web Programming Unit III  Core Javascript
FYBSC IT Web Programming Unit III Core Javascript
 
Effective PHP. Part 3
Effective PHP. Part 3Effective PHP. Part 3
Effective PHP. Part 3
 
Effective PHP. Part 1
Effective PHP. Part 1Effective PHP. Part 1
Effective PHP. Part 1
 
Effective PHP. Part 2
Effective PHP. Part 2Effective PHP. Part 2
Effective PHP. Part 2
 
Effective PHP. Part 4
Effective PHP. Part 4Effective PHP. Part 4
Effective PHP. Part 4
 
Java Script
Java ScriptJava Script
Java Script
 
Effective PHP. Part 5
Effective PHP. Part 5Effective PHP. Part 5
Effective PHP. Part 5
 
J Query
J QueryJ Query
J Query
 
Effective PHP. Part 6
Effective PHP. Part 6Effective PHP. Part 6
Effective PHP. Part 6
 
An Overview of Models in Django
An Overview of Models in DjangoAn Overview of Models in Django
An Overview of Models in Django
 
PHPLinq
PHPLinqPHPLinq
PHPLinq
 
Javascript
JavascriptJavascript
Javascript
 
Introduction to thymeleaf
Introduction to thymeleafIntroduction to thymeleaf
Introduction to thymeleaf
 
Prototype Js
Prototype JsPrototype Js
Prototype Js
 
Object Oriented PHP - PART-2
Object Oriented PHP - PART-2Object Oriented PHP - PART-2
Object Oriented PHP - PART-2
 
Making Sense of Twig
Making Sense of TwigMaking Sense of Twig
Making Sense of Twig
 

Similaire à Dojango

* DJANGO - The Python Framework - Low Kian Seong, Developer
    * DJANGO - The Python Framework - Low Kian Seong, Developer    * DJANGO - The Python Framework - Low Kian Seong, Developer
* DJANGO - The Python Framework - Low Kian Seong, Developer
Linuxmalaysia Malaysia
 

Similaire à Dojango (20)

Web development with django - Basics Presentation
Web development with django - Basics PresentationWeb development with django - Basics Presentation
Web development with django - Basics Presentation
 
learnpythondjangochapteroneintroduction.pptx
learnpythondjangochapteroneintroduction.pptxlearnpythondjangochapteroneintroduction.pptx
learnpythondjangochapteroneintroduction.pptx
 
Web Development in Django
Web Development in DjangoWeb Development in Django
Web Development in Django
 
Django by rj
Django by rjDjango by rj
Django by rj
 
* DJANGO - The Python Framework - Low Kian Seong, Developer
    * DJANGO - The Python Framework - Low Kian Seong, Developer    * DJANGO - The Python Framework - Low Kian Seong, Developer
* DJANGO - The Python Framework - Low Kian Seong, Developer
 
Introduction To Django
Introduction To DjangoIntroduction To Django
Introduction To Django
 
Django
DjangoDjango
Django
 
Introduce Django
Introduce DjangoIntroduce Django
Introduce Django
 
Introduction To Django
Introduction To DjangoIntroduction To Django
Introduction To Django
 
Introduction to Django
Introduction to DjangoIntroduction to Django
Introduction to Django
 
Introducing Django
Introducing DjangoIntroducing Django
Introducing Django
 
Rapid web application development using django - Part (1)
Rapid web application development using django - Part (1)Rapid web application development using django - Part (1)
Rapid web application development using django - Part (1)
 
Django Tutorial | Django Web Development With Python | Django Training and Ce...
Django Tutorial | Django Web Development With Python | Django Training and Ce...Django Tutorial | Django Web Development With Python | Django Training and Ce...
Django Tutorial | Django Web Development With Python | Django Training and Ce...
 
Django Introdcution
Django IntrodcutionDjango Introdcution
Django Introdcution
 
Building Pluggable Web Applications using Django
Building Pluggable Web Applications using DjangoBuilding Pluggable Web Applications using Django
Building Pluggable Web Applications using Django
 
Two scoops of django version one
Two scoops of django   version oneTwo scoops of django   version one
Two scoops of django version one
 
Python Django Webnet Computer Institute.pdf
Python Django Webnet Computer Institute.pdfPython Django Webnet Computer Institute.pdf
Python Django Webnet Computer Institute.pdf
 
The Django Web Application Framework 2
The Django Web Application Framework 2The Django Web Application Framework 2
The Django Web Application Framework 2
 
The Django Web Application Framework 2
The Django Web Application Framework 2The Django Web Application Framework 2
The Django Web Application Framework 2
 
JBUG 11 - Django-The Web Framework For Perfectionists With Deadlines
JBUG 11 - Django-The Web Framework For Perfectionists With DeadlinesJBUG 11 - Django-The Web Framework For Perfectionists With Deadlines
JBUG 11 - Django-The Web Framework For Perfectionists With Deadlines
 

Dernier

Dernier (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Dojango

  • 1. dojango Django and Dojo - The perfect couple Tobias von Klipstein, uxebu http://twitter.com/uxebu
  • 2. Django? • Request/Response framework • MVC web framework • using Python • like Rails / Symfony / ...
  • 3. Django - Overview Middleware Template Tags / Filter Model URL Mapper Commandline commands Template Context Processor Forms View => Controller Settings Templates => View ADMIN DOJANGO Reusable Apps AUTH
  • 4. Why? Django is Python Dojo is JavaScript Templating dojox.dtl URL dispatcher Reinhardt (by SitePen) Documentation system based on ReSt and Sphinx Django Software Dojo Foundation Foundation Starts with D and ends with O
  • 5. How? settings.py INSTALLED_APPS = ('dojango', ...) MIDDLEWARE_CLASSES = ('dojango.middleware.DojoAutoRequireMiddleware', ...) urls.py urlpatterns = patterns('', (r'^dojango/', include('dojango.urls')), ...) Your template {% extends quot;dojango/base.htmlquot; %} {% block dojango_content %} {% endblock %}
  • 6. Plain old html from django.forms import *
  • 8. DataGrid {% load dojango_grid %} {% simple_datagrid app Model %}
  • 9. thx http://dojotoolkit.org http://docs.dojocampus.org http://dojango.org http://blog.uxebu.com Tobias von Klipstein, uxebu tobias@uxebu.com http://twitter.com/uxebu

Notes de l'éditeur