Zen of TurboGears?

7 views
Skip to first unread message

Chris Cioffi

unread,
Dec 9, 2006, 2:00:40 PM12/9/06
to turbo...@googlegroups.com
Now that I've had the chance to both go through the book and update my app I'm starting to add TurboGear-ism to my toolbox of Python idioms and I was wondering if there was any interest in creating a Zen of TG page along the lines of 'import this' in Python?

These aren't as pithy as import this but here are some of my highlights:
-Widgets rock, put anything you show the user in a widget
-model.py - DB defs, tiggers and stored procedures all in one place
-Anything other than the most trivial project should use a controllers package

The more I think about them, TG Widgets are just about the coolest web app building technology I've seen.  Ever. 

Chris
--
"A little government and a little luck are necessary in life, but only a fool trusts either of them." -- P. J. O'Rourke

Adam Jones

unread,
Dec 9, 2006, 3:14:10 PM12/9/06
to TurboGears

Chris Cioffi wrote:
> Now that I've had the chance to both go through the book and update my app
> I'm starting to add TurboGear-ism to my toolbox of Python idioms and I was
> wondering if there was any interest in creating a Zen of TG page along the
> lines of 'import this' in Python?
>
> These aren't as pithy as import this but here are some of my highlights:
> -Widgets rock, put anything you show the user in a widget
> -model.py - DB defs, tiggers and stored procedures all in one place
> -Anything other than the most trivial project should use a controllers
> package

- When the one obvious way depends on the situation, give choices.
- Every time you give choices, give defaults
- Batteries included is great
- Batteries with easy and free delivery from the cogbin is about as
good
- Single command installation is awesome
- Getting that for your app for free is better
- Yes, I do "do my little turn on the CatWalk"

-Adam

>
> The more I think about them, TG Widgets are just about the coolest web app
> building technology I've seen. Ever.
>
> Chris
> --
> "A little government and a little luck are necessary in life, but only a
> fool trusts either of them." -- P. J. O'Rourke
>

> ------=_Part_61027_17506085.1165690840312
> Content-Type: text/html; charset=UTF-8
> X-Google-AttachSize: 854


>
> Now that I've had the chance to both go through the book and update my app I'm starting to add TurboGear-ism to my toolbox of Python idioms and I was wondering if there was any interest in creating a Zen of TG page along the lines of 'import this' in Python?

> <br><br>These aren't as pithy as import this but here are some of my highlights:<br>-Widgets rock, put anything you show the user in a widget<br>-model.py - DB defs, tiggers and stored procedures all in one place<br clear="all">
> -Anything other than the most trivial project should use a controllers package<br><br>The more I think about them, TG Widgets are just about the coolest web app building technology I've seen.&nbsp; Ever.&nbsp; <br><br>Chris<br>-- <br>
> &quot;A little government and a little luck are necessary in life, but only a fool trusts either of them.&quot; -- P. J. O'Rourke
>
> ------=_Part_61027_17506085.1165690840312--

Reply all
Reply to author
Forward
0 new messages