4

I was planning on starting a project using Turbogears 2. I noticed however that in particular on stackoverflow.com there don't seem to be many questions concerning it. According to Wikipedia, it seems the framework is still under active development (the last stable version released 50 days ago or so). I selected TG2 mostly because of it's support for SQLAlchemy that I find a superior ORM solution for my needs.

Questions:

  • Would you consider TG2 as a framework with a future or rather a dying technology?
  • Would you recommend using it for a new project considering the answer to the previous question?
  • If the answer is "no", what other Python frameworks similar to TG2 (in particular: highly modular, integrated with SQLAlchemy), are there?

Hope these won't be classified as "open-ended" questions. Cheers!

julx
  • 8,694
  • 6
  • 47
  • 86
  • I hope an old answer of mine helps you: http://stackoverflow.com/questions/12013741/what-should-i-worry-about-python-template-engines-and-web-frameworks/12013995#12013995 – dav1d Oct 14 '12 at 18:23
  • Still no other asnwers since? Maybe you could select mine as the good one ;-) – DevLounge Jul 31 '13 at 21:45

1 Answers1

4

Definitely go for Pyramid

It is highly modular and has native "scaffold" to use SqlAlchemy as ORM.

You can also combine SqlAlchemy with FormAlchemy which is the forms system built on top of SqlAlchemy.

The same developper released pyramid_formalchemy module to help you setting all this together.

DevLounge
  • 8,313
  • 3
  • 31
  • 44
  • 1
    Yea, this looks better. At least it has a rising curve in google trends – julx Oct 14 '12 at 19:46
  • Pyramid merges ideas from Turbogears, since Turgogears joined the Pylons project last year. It is built on Pylons, Turbogears, repoze.bfg, and others like Zope. I was a huge Django fan, but Pyramid is what I switched to since last month. I also noticed that it is rising. – DevLounge Oct 14 '12 at 19:51
  • 1
    Please keep in mind that TurboGears actually didn't join the Pylons project. There has been some discussion about doing it but in the end it didn't happen. TurboGears project is still under development, the two upcoming minor and major releases will be 2.2.1 and 2.3 with 2.3 providing support for Python3, huge speed ups and the ability to create single file turbogears applications. – amol Nov 25 '12 at 13:46
  • So what is the relation between Pyramid and TurboGears? When to choose which one? – pihentagy Jan 30 '13 at 20:29
  • 2
    Went with Pyramid and I'm really satisfied with the choice. Great modularity. – julx Aug 01 '13 at 00:03