Chapter 2. Building Your First Application

In this chapter, we will cover the following recipes:

  • Improving the scaffolding application

  • Building a simple contacts application

  • Building a Reddit clone

  • Building a Facebook clone

  • Using crud.archive

  • Converting an existing static site into a web2py application

  • Creating semi-static pages (flatpages)

  • Adding your custom logo

  • Creating menus and submenus

  • Customizing menus with icons

  • Creating a navigation bar

  • Using cookies to set the language

  • Designing modular applications

  • Speeding up downloads


Now that you have web2py installed and running, you are ready to start building your first application. The recipes in this chapter will provide examples of complete applications, comprising models, views, and controllers. ...

Get web2py Application Development Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.