Python and
TurboGears

" />
x
Loading
 Loading
Hello, Guest | Login | Register

Rapid Development with TurboGears

Here’s how to develop a Web application the
easy way — with Python and
TurboGears

Over the past year, a growing number of “next generation Web frameworks” have cropped up, promising to make you more productive, make your code more maintainable, and make your project more fun. And in nearly all of the cases, the frameworks deliver on the pledges, eliminating the drudgery, complexity, and laboriousness of developing Web applications. Famously, Ruby has Rails, and Perl has Catalyst. Now, Python has TurboGears (http://turbogears.org/). Buckle up! It’s gonna be an exciting ride.

Undoubtedly, the question on your mind is, “What makes TurboGears special?” After all, there are a lot of great frameworks to choose from. For example, Ruby has Rails.

Rails deserves a lot of credit for moving Web development forward. Rails offers a well-integrated stack of libraries to handle everything from object-relational mapping (ORM) to HTML templates, and its philosophy of “convention over configuration” highlights how truly monstrous a Struts XML configuration really is. Equally important, Rails includes built-in support for the Model-View-Controller paradigm, so there’s no need to reinvent the wheel. You can jump on Rails and roll.

But TurboGears offers many of the same innovations as Rails, and goes further. For instance, TurboGears includes SQLAlchemy, the best ORM in any dynamic scripting language. And, of course, TurboGears is written in Python, so Unicode support comes free, and Python’s vast array of libraries is at your disposal. Better yet, TurboGears isn’t a monolithic project.

Rails is a single project…

Please log in to view this content.

Not Yet a Member?

Register with LinuxMagazine.com and get free access to the entire archive, including:

  • Hands-on Content
  • White Papers
  • Community Features
  • And more.
Already a Member?
Log in!
Username

Password

Remember me

Forgotten your password?
Forgotten your username?
Read More
  1. Helpful Tools for Software Developers
  2. The Github Hall of Fame
  3. Book'em, Github.
  4. This Week on Github: Stupid Ruby Tricks
  5. A Veritable Scatter Shot!
Follow Linux Magazine
Rackspace