Web development with Python

Post on 12-Jul-2015

139 views 2 download

Tags:

transcript

Presented By:

Raman Balyan

Twitter: @raman_balyan

Parts Of Web Applications

Front-end

• Presentation layer

Middleware

• Relays information b/w front-end & back-end

Back-end

• Where data is stored, analyzed & processed

WEB SERVER

APPLICATION CODE DATABASE

VERSION CONTROL

USER

Four Clusters Of Knowledge:

• Back-end Development

Need to learn one framework with the Python

• Front-end Development

How to make content appear in people’s browser

• Version Control

Organize code and collaborate with others

• Deployment

How to get your site on internet

Roadmap I Wish I Had Been Given

Back-end DevelopmentLearn Python• Install Python 2.7 https://www.python.org• Resources :

Codecademy.comPythonlearn.comLearn python the hard wayhttps://github.com/mjhea0/thinkful-mentorhttps://medium.com/learning-journalism-tech/five-mini-

programming-projects-for-the-python-beginner-21492f6ce0f3

What Are Frameworks?• Reside above three layers, abstracting away much of the

processes that occur within each

• Simplify Web development by handling repetitive tasks

Front-end

Middleware

Back-end Model

Controller

View

Frameworks Classification• Full (high-level)

Come with many pre-installed components and lot of low-level task automation.

• Micro (low-level)

Come with few pre-installed components and less low-level task automation

Python Frameworks• Full (high-level): Django, web2py, Turbogears• Micro (low-level): Flask, Pyramid, CherryPy, bottle.py

Where To Learn• Books from Importpython.com• fullstackpython.com

P.S: Beginner’s should start with low-level frameworks

Front-end DevelopmentLearn HTML5/CSS & Javascript

• https://developer.mozilla.org/en-US/

• Codecademy.com

• http://eloquentjavascript.net/

Version ControlLearn Git

• http://git-scm.com/

• http://www.sbf5.com/~cduan/technical/git/

DeploymentLearn Heroku

• https://devcenter.heroku.com/ Production

Dev. Environment

Set Up Dev. Environment• Python 2.7 Installed

• Install Text Editor (Sublime)

• Install Pip

• Install Virtualenv

• Install Git

Ask Your Questions?

Raman BalyanTwitter: @raman_balyanEmail: balyan.raman@gmail.com