4

Anyone know of a good beginners tutorial for Turbogears 2? I'm particularly interested in one that would have some details on working with existing database schema rather than creating from scratch. (and some pointers on MS SQL server setup would help too!)

Joel Coehoorn
  • 399,467
  • 113
  • 570
  • 794
matthew
  • 419
  • 1
  • 6
  • 10
  • 2
    For the database stuff you need to look at SQLAlchemy documentation and perhaps pyodbc. You merely need to ignore the bits in the existing tutorial that issue 'CREATE TABLE' statements. – joeforker Sep 03 '09 at 23:19

2 Answers2

2

A very good TG2 tutorial is the movie demo http://turbogears.org/2.0/docs/main/RestControllers.html. It walks you into the basics of what a "high level" TG2 app is.

Regarding your MS SQL question I agree with joeforker, this is more a SA issue than TG. You have several options the best is the very experimental code put together by Chris Perkins, based on autocode and some snips from myself. This currently works well with postgres and sqlite, we'll love some MS SQL patches :) http://bitbucket.org/percious/sqlautocode/

Jorge Vargas
  • 6,712
  • 7
  • 32
  • 29
0

This tutorial talks about, making a simple note taking application using TurboGears2. Its directed towards beginners, you will find it useful.

apcelent
  • 1,651
  • 12
  • 12