SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Downloaden Sie, um offline zu lesen
Django on Jython
                          Chris McAvoy & Matt Dorn
                                 DjangoCon
                            September 10th, 2009




© 2009 PSC Group, LLC
Who are we?



© 2009 PSC Group, LLC
The Goal



© 2009 PSC Group, LLC
Some History




© 2009 PSC Group, LLC
Why?



© 2009 PSC Group, LLC
Maturity



© 2009 PSC Group, LLC
“Rails Needs to Mature”
               From my notes Dave Thomas’ Keynote at
                          Railsconf 2006




© 2009 PSC Group, LLC
“It turns out that writing the app is now the
              easy part; managing the rest of the stack you
              need for successful deployment can be nearly
                  impossible. In other words, we’re all ops
                people now.” Jacob Kaplan Moss - Sept 4th 2009



© 2009 PSC Group, LLC
“We’re growing, but we’re
                   not mainstream” Ted, 15
                          minutes ago




© 2009 PSC Group, LLC
“Reign in the Cowboy”
                          Simon Willison - Tuesday




© 2009 PSC Group, LLC
The Market



© 2009 PSC Group, LLC
© 2009 PSC Group, LLC
root



© 2009 PSC Group, LLC
Our Project



© 2009 PSC Group, LLC
How?



© 2009 PSC Group, LLC
Pieces
                 ✴      Jython 2.5.0

                 ✴      django-jython

                        ‣   Provides support for Postgres & Sqlite3

                        ‣   Build WAR files

                        ‣   pip install django-jython

                 ✴      zxJDBC

                 ✴      Modjy

                        ‣   Implements WSGI




© 2009 PSC Group, LLC
Dev Environment
                 ✴      Install Jython
                 ✴      Install setuptools & virtualenv
                 ✴      Create virtualenv
                 ✴      Install pip
                 ✴      Install Django 1.1
                 ✴      Install and patch django-jython


© 2009 PSC Group, LLC
Quirk Matrix

                                     Django 1.0.x                   Django 1.1

                                                                    Patch django-jython
                        Jython 2.5   Delete settings$py.class        Postgres backend
                                                                ✴    http://bit.ly/django-jython-fix



                                                                    Patch django-jython
                Jython 2.5rc1        Delete settings$py.class        Postgres backend
                                                                ✴    http://bit.ly/django-jython-fix



© 2009 PSC Group, LLC
✴                   http://bit.ly/django-jython-fix




© 2009 PSC Group, LLC
No C
      Which means, no PIL, which means no models.ImageField




© 2009 PSC Group, LLC
Questions?
                 ✴      http://www.psclistens.com

                 ✴      Chris McAvoy

                        ‣   cmcavoy@psclistens.com

                        ‣   http://lonelylion.com

                        ‣   @cmcavoy (mostly about kites and toddlers)

                 ✴      Matt Dorn

                        ‣   mdorn@psclistens.com

                        ‣   http://mattdorn.com

                        ‣   @mattdorn (but really, he’s a twitter-hater)



© 2009 PSC Group, LLC

Weitere ähnliche Inhalte

Andere mochten auch

Social Media for Career Education and Community Career Services
Social Media for Career Education and Community Career ServicesSocial Media for Career Education and Community Career Services
Social Media for Career Education and Community Career ServicesJenni Proctor
 
11 steps to a smooth career change
11 steps to a smooth career change11 steps to a smooth career change
11 steps to a smooth career changeJenni Proctor
 
Job Interview From A Child’s Perspective
Job Interview From A Child’s PerspectiveJob Interview From A Child’s Perspective
Job Interview From A Child’s PerspectiveJenni Proctor
 
Lp company 2010_rev_b_wref
Lp company 2010_rev_b_wrefLp company 2010_rev_b_wref
Lp company 2010_rev_b_wrefBrian_Lacey
 
Ett comenius Students evaluation
Ett comenius   Students evaluationEtt comenius   Students evaluation
Ett comenius Students evaluationJoan Mitjavila
 
Musicmagstepbystepfinal
MusicmagstepbystepfinalMusicmagstepbystepfinal
MusicmagstepbystepfinalPieter Jollans
 
Music Magazine Audience Feedback And Evaluation2
Music  Magazine  Audience Feedback And  Evaluation2Music  Magazine  Audience Feedback And  Evaluation2
Music Magazine Audience Feedback And Evaluation2Pieter Jollans
 
What are you doing with the rest of your life?
What are you doing with the rest of your life?What are you doing with the rest of your life?
What are you doing with the rest of your life?Jenni Proctor
 
Rewire Your Career, Rewire Your Life
Rewire Your Career, Rewire Your LifeRewire Your Career, Rewire Your Life
Rewire Your Career, Rewire Your LifeJenni Proctor
 
Dvd Digipack Evaluation
Dvd Digipack EvaluationDvd Digipack Evaluation
Dvd Digipack EvaluationPieter Jollans
 

Andere mochten auch (16)

Social Media for Career Education and Community Career Services
Social Media for Career Education and Community Career ServicesSocial Media for Career Education and Community Career Services
Social Media for Career Education and Community Career Services
 
11 steps to a smooth career change
11 steps to a smooth career change11 steps to a smooth career change
11 steps to a smooth career change
 
Prepromagmag
PrepromagmagPrepromagmag
Prepromagmag
 
Job Interview From A Child’s Perspective
Job Interview From A Child’s PerspectiveJob Interview From A Child’s Perspective
Job Interview From A Child’s Perspective
 
Lp company 2010_rev_b_wref
Lp company 2010_rev_b_wrefLp company 2010_rev_b_wref
Lp company 2010_rev_b_wref
 
Ett comenius Students evaluation
Ett comenius   Students evaluationEtt comenius   Students evaluation
Ett comenius Students evaluation
 
Hungarian legend book
Hungarian legend bookHungarian legend book
Hungarian legend book
 
Music Video Analysis
Music Video AnalysisMusic Video Analysis
Music Video Analysis
 
Gary Wagner Portraits
Gary Wagner PortraitsGary Wagner Portraits
Gary Wagner Portraits
 
How to build a presentation
How to build a presentationHow to build a presentation
How to build a presentation
 
Musicmagstepbystepfinal
MusicmagstepbystepfinalMusicmagstepbystepfinal
Musicmagstepbystepfinal
 
Music Magazine Audience Feedback And Evaluation2
Music  Magazine  Audience Feedback And  Evaluation2Music  Magazine  Audience Feedback And  Evaluation2
Music Magazine Audience Feedback And Evaluation2
 
Jonathan Glazer
Jonathan GlazerJonathan Glazer
Jonathan Glazer
 
What are you doing with the rest of your life?
What are you doing with the rest of your life?What are you doing with the rest of your life?
What are you doing with the rest of your life?
 
Rewire Your Career, Rewire Your Life
Rewire Your Career, Rewire Your LifeRewire Your Career, Rewire Your Life
Rewire Your Career, Rewire Your Life
 
Dvd Digipack Evaluation
Dvd Digipack EvaluationDvd Digipack Evaluation
Dvd Digipack Evaluation
 

Kürzlich hochgeladen

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 

Kürzlich hochgeladen (20)

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 

DjangoCon 2009: Django On Jython

  • 1. Django on Jython Chris McAvoy & Matt Dorn DjangoCon September 10th, 2009 © 2009 PSC Group, LLC
  • 2. Who are we? © 2009 PSC Group, LLC
  • 3. The Goal © 2009 PSC Group, LLC
  • 4. Some History © 2009 PSC Group, LLC
  • 5. Why? © 2009 PSC Group, LLC
  • 6. Maturity © 2009 PSC Group, LLC
  • 7. “Rails Needs to Mature” From my notes Dave Thomas’ Keynote at Railsconf 2006 © 2009 PSC Group, LLC
  • 8. “It turns out that writing the app is now the easy part; managing the rest of the stack you need for successful deployment can be nearly impossible. In other words, we’re all ops people now.” Jacob Kaplan Moss - Sept 4th 2009 © 2009 PSC Group, LLC
  • 9. “We’re growing, but we’re not mainstream” Ted, 15 minutes ago © 2009 PSC Group, LLC
  • 10. “Reign in the Cowboy” Simon Willison - Tuesday © 2009 PSC Group, LLC
  • 11. The Market © 2009 PSC Group, LLC
  • 12. © 2009 PSC Group, LLC
  • 13. root © 2009 PSC Group, LLC
  • 14. Our Project © 2009 PSC Group, LLC
  • 15. How? © 2009 PSC Group, LLC
  • 16. Pieces ✴ Jython 2.5.0 ✴ django-jython ‣ Provides support for Postgres & Sqlite3 ‣ Build WAR files ‣ pip install django-jython ✴ zxJDBC ✴ Modjy ‣ Implements WSGI © 2009 PSC Group, LLC
  • 17. Dev Environment ✴ Install Jython ✴ Install setuptools & virtualenv ✴ Create virtualenv ✴ Install pip ✴ Install Django 1.1 ✴ Install and patch django-jython © 2009 PSC Group, LLC
  • 18. Quirk Matrix Django 1.0.x Django 1.1 Patch django-jython Jython 2.5 Delete settings$py.class Postgres backend ✴ http://bit.ly/django-jython-fix Patch django-jython Jython 2.5rc1 Delete settings$py.class Postgres backend ✴ http://bit.ly/django-jython-fix © 2009 PSC Group, LLC
  • 19. http://bit.ly/django-jython-fix © 2009 PSC Group, LLC
  • 20. No C Which means, no PIL, which means no models.ImageField © 2009 PSC Group, LLC
  • 21. Questions? ✴ http://www.psclistens.com ✴ Chris McAvoy ‣ cmcavoy@psclistens.com ‣ http://lonelylion.com ‣ @cmcavoy (mostly about kites and toddlers) ✴ Matt Dorn ‣ mdorn@psclistens.com ‣ http://mattdorn.com ‣ @mattdorn (but really, he’s a twitter-hater) © 2009 PSC Group, LLC