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.




Rapid Web Applications with TurboGears(c) Using Python to Create Ajax-Powered Sites
Rapid Web Applications with TurboGears: Using Python to Create Ajax-Powered Sites
ISBN: 0132433885
EAN: 2147483647
Year: 2006
Pages: 202

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net