I’ve got a lot invested in TurboGears, but I’m not seeing the kind of uptake I’d like to see for such a useful piece of software. It’s time for this to change. I’m putting my money where my mouth is. I have decided to organize a series of tutorials throughout the continent, bringing TG to you, so you don’t have to come to us. If you’d like to be trained by one of the main contributors to the framework, please feel free to attend. The price for admission will be free or low-cost. The tutorials are a mix of self-driven and hands on. Here is the schedule as predictably as I can post it.
Jan 2, 2010 – Boston, MA – RedHat Headquarters
Jan 29 or 30th – Dallas, TX – Company Dallas
Feb 17th – Atlanta, GA – PYCON – $150.00
Mar 9 or 13 -Montréal, Canada – to be determined
Apr 24 – Boulder, CO – Bivio
I am also looking for a west-coast volunteer to help me organize something in the San Fran/Los Angeles area. If anyone has an appropriate venue and a place for me to stay I would be happy to come out and give a tutorial.
Other tentative places for tutorials are: Ann Arbor, MI, and Washington DC or Baltimore, MD. If anyone has a user group in these locations and would like to help organize, I would be appreciative of the support. I would also not mind running the tutorial coupled with a sprint in a more exotic location like Crested Butte, CO. There is an inexpensive hostel there with free wifi, some great skiing/mountain biking/hiking to be had.
Here is a rough itinerary:
Relational Database Applications with TurboGears
———————————————————————-
This tutorial is intended to be an un-tutorial. The idea is simple. Bring me a public database, (or 4) and share with the class as we explore the new admin-level RESTful features that TurboGears2 employs.
At the end of the class, the goal is for everyone to have a working TG2 application, with a working admin, at least one customized form or table, based on a database they, or another student brought to class.
I will ask the students to do some prep-work. For those who would like to
share a database, or a database schema, they should bring with them a database dump, be it a sqlite file on a memory stick, or a pgdump file, or a mysqldump file. If the students would like to share with the class, that’d be the best way to run the tutorial, and if people provide me with dumps of reasonable sizes ahead of time, I will distribute them with the class material.
We will then split up into teams of people working on similar database systems.
Intro Talk
++++++++++
A 10 minute talk to introduce myself and describe what SA and TG2 aim to do for relational databases. I will also discuss goals for the tutorial.
Part I
++++++++
The goal of part one is to break the ice with everyone, getting them into groups and getting the first database interactions happening.
* Student Database descriptions (10 mins)
* Splitting into groups (5 mins)
* Copying/Loading databases all around (10 mins)
* Install SQLAlchemy and SQLAutocode (5 mins)
* Run sqlautocode on your loaded database. (30 mins)
We will discuss the different options sqlautocode provides, and take a look at the output it produces.
* Set up TG2 and Quickstart a new App. (20 mins)
Part II
++++++++
The goal of part 2 is to integrate the work done in Part I and explore the ways we can put the turbogears admin and sprox to good use.
* Integrate sqlautocode with the quickstarted TG app. (10 mins)
* Fire up the admin, see how it works with the existing schema. (5 mins)
* Modify the TG code to replace the default TG AdminConfig with A customizable one. (10 mins)
* See where the class would like to customize their admin, following necessary parts of:
http://turbogears.org…
http://www.sprox.org/…
http://www.sprox.org/…
as needed (60 minutes)
Bonus
+++++++
If we need extra filler at the end (not likely), or, if people want to meet after the afternoon session, I will have a mini-tutorial for BootAlchemy. BootAlchemy allows people to load Yaml files directly into a relational database.
Requirements
+++++++++++++
* Laptop with Python 2.5 or 2.6 installed.
* Database system of your choice (Postgres, Sqlite, MySQL)
* Python drivers for your desired database system installed. (psychopg2, pg8000, pysqlite, mysql-python)
cheers.
-chris

Sounds good. Any chance for New York City? (Or across the river in Northen NJ)
Hi David,
NYC is a definite possibility. One of our main contributors is in New Jersey, and I have been working with him to formulate a plan. The trip to NYC might not be until September tho. I’d like to possibly combo the trip with a few days at the Gunks. Northeast is beautiful that time of year.
cheers.
-chris
Hi Chris,
If you get something organized for Baltimore/DC, my guest room is open for you in Annapolis.
Hi,
If you want to add Ottawa to you Montreal swing I could put you up and help.
cheers,
john
I would be more than happy to organize something like that in europe.
I can provide my time to cover people in nothern Italy, if there is anyone interested in organizing the same in europe let me know.
TG is a great project and I would be glad to help it blossom.
amol
Chris,
Depending on it’s timing, I may be able to drag 1 or 2 other folks with me to an NYC tour date.
(FWIW: Northern NJ is actually better for me than NYC proper.)
Cheers,
David
How can I attend the Boston tutorial? Is it open to the public? I’m avid TG1 user and would love to get the scoop on TG2
Would be great to have you do your TG2 tutorial for members of TriZPUG, on either side
of PyCON, or at your convenience. This would be in Raleigh, Durham or Chapel Hill,
NC. http://rpath.com and some other local companies have been using Turbogears, for some time.
If you’re going to Europe, I’ll be happy to help organize this in the Scandinavian region.
Keep working ,excellent post! beverly hills carpet cleaning