SlideShare a Scribd company logo
PYTHON AND THE WEB
      J ame s Taub e r
         @jtauber
Python and the Web
Python and the Web
Python   Web
Python   Web
Python   Web
Python   Web
Python   Web
“python” in talk and “web” in talk
HISTORY
                       1989
TBL writes proposal for what would become WWW
            GvR starts work on Python
                     1994
            First WWW conference
               Python 1.0 released
                  W3C founded

                    1997
              Python 1.5 released
              HTML 3.2 released
Python   Web
Batter ies Included
NumPy
  SciPy
Matplotlib
 pandas
N LTK
music21
se ba st ia n / c ze r ny
Sphinx
read t h ed o c s .o r g
PyPI
c r a t e . io
You can’t use a specialist language
        to build a system
•computer   scientists
•domain   experts
•system   administrators
•web   developers
“Programs are meant to be read by
humans and only incidentally for computers
to execute”
                                  —Don Knuth
Python   Web
H T M L , H T T P, U R L s
S e r v i n g s t a t i c fi l e s w i t h
            hy p e r l i n k s
Im a g es
             CSS
S e r ve r S i d e I n c l u d e s
CGI
Common Gateway Interface
I nver ti ng C od e a n d M a r kup
         PHP and ASP
D a t a b a s e - b a c ke d We b s i t e s
LAMP
Jav a sc r ip t
XM L
Web Ser vices
A JAX
JSON
what is a web p a ge ?
 wha t is a web s i te ?
Candelabr a Demo
jtauber. g it h u b. c om de mo
Python   Web
L A MP
         Python
ZOPE
Plone
WSGI
MVC
database mapping
HTML templating
 req u est rou t i n g
Tu r b o G e a rs 1
   SQLObject
       Kid
    Cher r yPy
Tu r b o G e a rs 2
  S Q L A l c h e my
      Genshi
      Pylons
R e p o ze B F G
   Pylons
 P y ra m i d
Flask
Wer kzeur g
  Jin ja 2
Dja ngo
Python and the Web
Python and the Web
1.0 S ep t em b er 2 0 0 8
    1. 1 Ju ly 2 0 09
    1. 2 M ay 2 01 0
   1.3 M a rc h 2 0 1 1
   1.4 M a rc h 2 0 1 2
timezones
S E L E C T F O R U P DAT E
  password hashing
    signed cookies
project/app templates
         wsgi.py
  in-browser testi ng
a layer above?
why layer?
por tability of higher layer s
r e us ab i l i t y o f l owe r l aye r s
“We read Knuth so you don’t have to”
                                 —Tim Peters
idea                     realization

What you do for a living is not be creative, what
               you do is ship
                      — Seth Godin
Pi n ax provides wh at m any s i te s
h ave in common so you c an fo c u s
o n wha t m akes you r si t e d i ffer ent
Project layout
 Default templates
Ac c o u n t M a n a g e m ent
     R e u s a bl e a p p s
   Star ter Projects
Announcements              OAuth
  Attachments              OpenID
     Avatars              Pagination
      Badges                Photos
       Blogs                Profiles
   Bookmarks            Sign up codes
 Contact import             Tagging
Email confirmation            Tasks
      Friends       Threaded-comments
   Invitations            Timezones
     Markup         User-to-user messages
  Microblogging             Voting
   Notification               Wikis
caching (Redi s )
s e a r ch (Solr / H ay s tac k)
m e ssage queues ( Ce l e r y )
Providing Web APIs
Consuming Web APIs
PYTHON AND THE WEB
      J ame s Taub e r
         @jtauber

More Related Content

Viewers also liked (11)

PDF
Спецификация WSGI (PEP-333)
lectureswww lectureswww
 
PDF
An Introduction to Twisted
sdsern
 
PDF
Зоопарк python веб-фреймворков
PyNSK
 
PPTX
Python talk web frameworks
Kat Chuang
 
PPTX
Чем Python плох для стартапа?
PyNSK
 
PPTX
Asynchronous Python with Twisted
Adam Englander
 
PDF
Framework Battle: Django vs Flask vs Chalice
STEP Computer Academy (Zaporozhye)
 
KEY
LvivPy - Flask in details
Max Klymyshyn
 
PDF
Async Web Frameworks in Python
Ryan Johnson
 
PDF
Web Scraping with Python
Paul Schreiber
 
PDF
Scraping the web with python
Jose Manuel Ortega Candel
 
Спецификация WSGI (PEP-333)
lectureswww lectureswww
 
An Introduction to Twisted
sdsern
 
Зоопарк python веб-фреймворков
PyNSK
 
Python talk web frameworks
Kat Chuang
 
Чем Python плох для стартапа?
PyNSK
 
Asynchronous Python with Twisted
Adam Englander
 
Framework Battle: Django vs Flask vs Chalice
STEP Computer Academy (Zaporozhye)
 
LvivPy - Flask in details
Max Klymyshyn
 
Async Web Frameworks in Python
Ryan Johnson
 
Web Scraping with Python
Paul Schreiber
 
Scraping the web with python
Jose Manuel Ortega Candel
 

Similar to Python and the Web (20)

PPTX
Web technologies lesson 1
nhepner
 
PDF
Docs Python Org Howto Webservers Html
AkramWaseem
 
PDF
Rapid Web Development with Python for Absolute Beginners
Fatih Karatana
 
PPTX
WEBINAR PROFENAA NEYVEI (1).pptx
ssuserd83455
 
PDF
Snakes on the Web; Developing web applications in python
Naail AbdulRahman
 
PPT
02 intro
babak mehrabi
 
PPTX
CTE 323 - Lecture 1.pptx
OduniyiAdebola
 
PPTX
Lec 01 Introduction.pptx
AhmadMahmood62
 
PPTX
Servlet & jsp
Subhasis Nayak
 
PDF
Why Django
Idan Gazit
 
PPT
1 web overview
arief_rudyanto
 
PPTX
Python as Web Development
SamWas1
 
PDF
Intro webapps
Howard Mao
 
PDF
Code for Startup MVP (Ruby on Rails) Session 1
Henry S
 
PDF
12 core technologies you should learn, love, and hate to be a 'real' technocrat
Jonathan Linowes
 
PPTX
Django course
Nagi Annapureddy
 
PPTX
Python for web development
Luis Borbon
 
PDF
A Complete Guide to Python Web Development
SparxIT
 
PDF
Application_layer.pdf
BhoomikaPrajapath
 
PPTX
WEB DEVELOPMENT Using Python programming language
omeed
 
Web technologies lesson 1
nhepner
 
Docs Python Org Howto Webservers Html
AkramWaseem
 
Rapid Web Development with Python for Absolute Beginners
Fatih Karatana
 
WEBINAR PROFENAA NEYVEI (1).pptx
ssuserd83455
 
Snakes on the Web; Developing web applications in python
Naail AbdulRahman
 
02 intro
babak mehrabi
 
CTE 323 - Lecture 1.pptx
OduniyiAdebola
 
Lec 01 Introduction.pptx
AhmadMahmood62
 
Servlet & jsp
Subhasis Nayak
 
Why Django
Idan Gazit
 
1 web overview
arief_rudyanto
 
Python as Web Development
SamWas1
 
Intro webapps
Howard Mao
 
Code for Startup MVP (Ruby on Rails) Session 1
Henry S
 
12 core technologies you should learn, love, and hate to be a 'real' technocrat
Jonathan Linowes
 
Django course
Nagi Annapureddy
 
Python for web development
Luis Borbon
 
A Complete Guide to Python Web Development
SparxIT
 
Application_layer.pdf
BhoomikaPrajapath
 
WEB DEVELOPMENT Using Python programming language
omeed
 
Ad

More from pycontw (15)

PDF
Network Security and Analysis with Python
pycontw
 
PDF
Python on FreeBSD
pycontw
 
ODP
讓 Python Script 擁有圖形化介面的簡單方法
pycontw
 
PDF
CyberLink Meets Python
pycontw
 
PDF
PyKinect: Body Iteration Application Development Using Python
pycontw
 
PDF
Developing Python Apps on Windows Azure
pycontw
 
PDF
Qt Quick GUI Programming with PySide
pycontw
 
PDF
STAF 在自動化測試上的延伸應用 -- TMSTAF (TrendMicro STAF)
pycontw
 
PDF
Grid Job Management
pycontw
 
PDF
Small Python Tools for Software Release Engineering
pycontw
 
PDF
Python and Startup
pycontw
 
PPTX
Panoramic Video in Environmental Monitoring Software Development and Applica...
pycontw
 
PDF
那些年 Python 攻佔了 GIS / The Year Python Takes Over GIS
pycontw
 
PDF
Introduction to Discrete-Event Simulation Using SimPy
pycontw
 
PDF
Large-scale Array-oriented Computing with Python
pycontw
 
Network Security and Analysis with Python
pycontw
 
Python on FreeBSD
pycontw
 
讓 Python Script 擁有圖形化介面的簡單方法
pycontw
 
CyberLink Meets Python
pycontw
 
PyKinect: Body Iteration Application Development Using Python
pycontw
 
Developing Python Apps on Windows Azure
pycontw
 
Qt Quick GUI Programming with PySide
pycontw
 
STAF 在自動化測試上的延伸應用 -- TMSTAF (TrendMicro STAF)
pycontw
 
Grid Job Management
pycontw
 
Small Python Tools for Software Release Engineering
pycontw
 
Python and Startup
pycontw
 
Panoramic Video in Environmental Monitoring Software Development and Applica...
pycontw
 
那些年 Python 攻佔了 GIS / The Year Python Takes Over GIS
pycontw
 
Introduction to Discrete-Event Simulation Using SimPy
pycontw
 
Large-scale Array-oriented Computing with Python
pycontw
 
Ad

Recently uploaded (20)

PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Digital Circuits, important subject in CS
contactparinay1
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 

Python and the Web