Python y Django
-
Upload
eysenck-goz -
Category
Education
-
view
1.583 -
download
0
description
Transcript of Python y Django
![Page 1: Python y Django](https://reader034.fdocumento.com/reader034/viewer/2022052207/5595a30f1a28ab22748b4654/html5/thumbnails/1.jpg)
Bienvenidos al mundo de Oz
Python&
Django
iTeam
![Page 2: Python y Django](https://reader034.fdocumento.com/reader034/viewer/2022052207/5595a30f1a28ab22748b4654/html5/thumbnails/2.jpg)
● Python– Historia– Características– Pros y Contras– ¿Quien usa Python?– Áreas de desarrollo
● Django– Historia– Características– Pros y Contras– Ejemplo
Agenda
![Page 3: Python y Django](https://reader034.fdocumento.com/reader034/viewer/2022052207/5595a30f1a28ab22748b4654/html5/thumbnails/3.jpg)
Python programar vuelve a ser divertido!
![Page 4: Python y Django](https://reader034.fdocumento.com/reader034/viewer/2022052207/5595a30f1a28ab22748b4654/html5/thumbnails/4.jpg)
¿Qué es? Historia
● Año: 1991
● Autor: Guido van Rossum
● Nombre: Monty Python
● Mascota: serpiente
![Page 5: Python y Django](https://reader034.fdocumento.com/reader034/viewer/2022052207/5595a30f1a28ab22748b4654/html5/thumbnails/5.jpg)
Python Características
Características
● Interpretado● Tipado dinámico● Multiparadigma● Libre● Amplias librerias● Extensible● ...Divertido
![Page 6: Python y Django](https://reader034.fdocumento.com/reader034/viewer/2022052207/5595a30f1a28ab22748b4654/html5/thumbnails/6.jpg)
Python ¿Por qué Python?
Pros y Contras
● Pros– Legible– Productivo– Muy buena documentación– Multiplataforma– Fácil de aprender
● Contras– Velocidad– Bifurcación 2.x y 3.x
![Page 7: Python y Django](https://reader034.fdocumento.com/reader034/viewer/2022052207/5595a30f1a28ab22748b4654/html5/thumbnails/7.jpg)
Python ¿Por qué Python?
¿Quién usa Python?
● Google● YouTube● Nasa● Industrial
Light & Magic● Hewlett-Packard● Yahoo!● RedHat● Pixar ...
![Page 8: Python y Django](https://reader034.fdocumento.com/reader034/viewer/2022052207/5595a30f1a28ab22748b4654/html5/thumbnails/8.jpg)
Python ¿Por qué Python?
Áreas de desarrollo
● Científico (Numpy, Scipy, Matplotlib, Spyder)
● Videojuegos (Panda3D, Pygame, Pilas, Cocos2D)
● Web development (Django, Flask, Web2py, etc)
![Page 9: Python y Django](https://reader034.fdocumento.com/reader034/viewer/2022052207/5595a30f1a28ab22748b4654/html5/thumbnails/9.jpg)
Django el framework web definitivo
![Page 10: Python y Django](https://reader034.fdocumento.com/reader034/viewer/2022052207/5595a30f1a28ab22748b4654/html5/thumbnails/10.jpg)
¿Qué es? Historia
● Año: 2005
● Autor: Adrian Holovaty y Jacob Kaplan-Moss
● Nombre: Django Reinhardt (guitarrista de jazz)
● Mascota: pony
![Page 11: Python y Django](https://reader034.fdocumento.com/reader034/viewer/2022052207/5595a30f1a28ab22748b4654/html5/thumbnails/11.jpg)
Django Características
Características
● Bajo acoplamiento● Patrón MTV (Model-Template-View)● ORM (Mapeador Objeto-Relacional)● Diseño de URL's elegantes● Sistema de plantillas● Internacionalización● Servidor de pruebas● Autenticación de usuarios [django.contrib.auth]● Administración [django.contrig.admin]
![Page 12: Python y Django](https://reader034.fdocumento.com/reader034/viewer/2022052207/5595a30f1a28ab22748b4654/html5/thumbnails/12.jpg)
Django Características
Características
![Page 13: Python y Django](https://reader034.fdocumento.com/reader034/viewer/2022052207/5595a30f1a28ab22748b4654/html5/thumbnails/13.jpg)
Python ¿Por qué Python?
Pros y Contras
● Pros– Documentación
– Python
– Escalable
– Desarrollo rápido
– No hay cambio de contexto Python/SQL
– Apps reusables
● Contras– Velocidad
– Optimización de BD
● Soluciones– Django + Pypy en lugar de Django + Python
![Page 14: Python y Django](https://reader034.fdocumento.com/reader034/viewer/2022052207/5595a30f1a28ab22748b4654/html5/thumbnails/14.jpg)
Python ¿Por qué Python?
Ejemplo
Porque no solo Red Bull te da alas...