FUDCon Pune 2015

Pune, 26th to 28th June, 2015


26th to 28th June, 2015 09:00 am - 06:00 pm

Website: FUDCon Pune 2015


MIT College of Engineering
See map

Subscribe & Share

June 28, 2015, 11:40 am

Flask 101: Getting started with Fedora Infra


What is Flask?
As stated in the official documentation[1] "Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions.". Flask is a web framework which is easy to get started and write web apps in more Pythonic way because of it's design philosophy[2].

This is workshop is primarily for Python programmers. The workshop will be focused on building a web application using Flask along with the other plug-n-play libraries. Flask plays a essential role in the Fedora Infrastructure[3] as most of the web based projects are built on top on Flask e.g. fmn, fedocal, datagrepper etc. So, the workshop will provide a base to those who would like to start contributing to Fedora Infra.

The objective of the workshop is to build a TODO application covering the following topics in small incremental steps
0. What is a web framework
1. Configuring Flask
2. Writing a basic 'Hello World' application.
3. Templates
4. Form Handling
5. Storing data in database.

The later half of the workshop would concentrate on showing real code and concepts taught from Fedora Infra projects. If possible, we may also solve some a bug or two.

Pre-requisites for this workshop

1. Intermediate knowledge of Python.
2. Knowledge of decorators in Python.
3. Basic knowledge of HTML.

[1]: http://flask.pocoo.org/
[2]: http://flask.pocoo.org/docs/0.10/design/
[3]: https://github.com/fedora-infra

Hall: D204 [2nd Floor] Track: Workshop Type: Workshop