Chapter 2. Getting Started with TurboGears

In This Chapter

  • 2.1 Installing TurboGears and SQLite 14

  • 2.2 Creating a Hello World Application 16

  • 2.3 Say Hi! (Simple Template) 20

  • 2.4 Custom Greetings (Hello from the Controller) 22

  • 2.5 Summary 23

In this short chapter, we cover the basics of installing TurboGears and setting up a simple database to use with your web applications. Then we create a super-easy Hello World application and take a first brief glimpse at how you can use something called MVC to help structure your application to make the code clearer and easier to maintain.

Get Rapid Web Applications with TurboGears: Using Python to Create Ajax-Powered Sites now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.