Wednesday 9 a.m.–12:20 p.m.

0 to 00111100 with web2py

G. Clifford Williams

Audience level:
Novice
Category:
Web Frameworks

Description

This tutorial teaches basic web development for people who have some experience with HTML. No experience with CSS or JavaScript is required. We will build a basic web application using AJAX, web forms, and a local SQL database.

Abstract

In this tutorial we explain how to download and run your own (zero configuration) web application stack locally on your computer. You will build and leave with a working web application that can serve as a reference for future web work. This tutorial is focused on web development with python, so we will cover the design decisions that are particular to web2py and how they compare with other solutions in the landscape of python based web frameworks. We will pay particular attention to the Model-View-Controller (MVC) fundamentals, static content, and deployment/scaling options. **Prerequisite Knowledge** How to use a basic plain text editor -- VI, Emacs, Note Pad, GEdit, Kate, nano, Pico, BBEdit, etc. Basic Python -- You should know basic loops, and what a function or callable is. Basic web application use -- Have you ever filled in a web form and clicked submit/go/search/I'm feeling lucky? **Prerequisite Setup** Unix-like platforms (*BSD, Linux, Mac OS X, Cygwin, etc...) : installation of python 2.6.x or 2.7.x (not 3.x) Windows (XP, 2000, Vista, 8, 8.1) : nothing **Dont' worry about** - Being a great (or even good) programmer - Knowing more python than you already do - Knowing template systems like Jinja, Mako, Cheetah, etc. - Knowing any Object Relational Mappers (ORMs) or databases - Knowing anything about existing web frameworks - Having a favorite editor

Student Handout

No handouts have been provided yet for this tutorial