mengu on web programming.

What's Going On With TurboGears?

If you are using Python and looking for a web framework or if you are just looking to do web programming with Python, you will look out your options and among Django, web2py and pyramid you will notice TurboGears. As a Python developer and TurboGears user, I will let you guys know what is going on with TurboGears lately and will let you have a chance with TurboGears. ![TurboGears Introduction](http://i.imgur.com/DvvDP.png) A Short Introduction First ---------- TurboGears is a full stack MVC web framework that is built on top of Pylons and which includes an ORM, a templating system, database migration tool, web helpers, authentication and authorization system by default just like Django. If you are wondering, there are two main differences between Django and TurboGears. * TurboGears is using class based controllers and object dispatch. * TurboGears is built using external Python libraries such as Pylons, WebOB, paster whereas everything in Django is built for Django. ![TurboGears News](http://i.imgur.com/8yGzh.png) What's New in TurboGears World? ---------- * TurboGears 2.1.1 was released in June 2011 and was mostly a bug fix release. However this is the release when the improvements on the documentation started. * TurboGears 2.1.2 was released at August 2011 with mostly bug fixes and improvements. Python 2.7 support was added and Jinja2 support was improved with this release. * A new [TurboGears book](http://www.turbogears.org/book/) has been started by Michael Pedersen. The example application in the book seems to be a great example after all. [Help Michael Pedersen about the application ideas](http://codersbuffet.blogspot.com/2011/10/request-for-ideas-for-hiring-pond.html). * TurboGears 2.1.3 was released at September 2011. In case you have not noticed, the new TurboGears 2 team decided to do monthly releases and constantly improving documentation. With TG 2.1.3 Alessandro Molina added MongoDB support with Ming ORM. Seamless integration with TurboGears. [Read more at the TurboGears docs.](http://www.turbogears.org/2.1/docs/main/Ming.html) * TurboGears 2.1.4 will be released in this month hopefully, if everything goes well and TurboGears team has a surprise for us. Alessandro Molina is going to release [TurboGears Debug Toolbar](http://groups.google.com/group/turbogears/browse_thread/thread/a636db553c5c6f8a) with 2.1.4 release. A first glance is available on his blog. * I doubt there will be a 2.1.5 release as TG developers are thinking of a 2.2 release which I am gladly waiting for. [It seems it is going to be a great release.](http://groups.google.com/group/turbogears-trunk/browse_thread/thread/7e4426c17fc9b088) ![What's in TurboGears For Me](http://i.imgur.com/ZDPHV.png) What's in TurboGears For Me? ---------- As I have mentioned earlier, TurboGears is a batteries included framework. You can go ahead and start a project and: * Use SQLAlchemy with it * Write down [database migrations](http://www.turbogears.org/2.1/docs/main/DatabaseMigration.html) * Choose genshi, jinja2 or mako as your templating engine * Pour some [authentication](http://www.turbogears.org/2.1/docs/main/Auth/Authentication.html) and [authorization](http://www.turbogears.org/2.1/docs/main/Auth/Authorization.html) whenever you need * [Easily create an admin interface](http://www.turbogears.org/2.1/docs/main/Extensions/Admin/index.html) with tgext.admin * [Easily generate forms](http://www.turbogears.org/2.1/docs/main/FormBasics.html) for your users with sprox. * You can [deploy with Apache and mod_wsgi](http://www.turbogears.org/2.1/docs/main/Deployment/ModWSGI.html) or [nginx and uwsgi](http://www.mengu.net/post/deploying-turbogears-21-application-with-nginx-and-uwsgi). ![How to Start](http://i.imgur.com/t8sFj.png) Enough. How Do I Start? ---------- No hurries, no worries. It is totally normal for you wanting to use TurboGears. Now [go and install TurboGears 2.](http://www.turbogears.org/2.1/docs/main/DownloadInstall.html#installation-for-the-impatient) and [do the Wiki 20 tutorial.](http://www.turbogears.org/2.1/docs/main/Wiki20/wiki20.html) Wish you all a happy time with TurboGears. ![Happy TG User](http://i.imgur.com/W94uQ.png)
Did you enjoy this post? You should follow me on twitter here.

Comments

Daniel Fetchinson said on 20/11/2011 12:58 PM
Let's not forget that turbogears has a branch called 1.5 which is based on cherrypy and not pylons, see http://turbogears.org/1.5/docs/ The version numbering can be a bit misleading because folks might think 1.5 is an earlier version of 2.0 2.1 etc but actually it's a separate branch.

Mengu Kagan said on 20/11/2011 15:16 PM
Daniel is right. TurboGears has two branches: 1.x branch and 2.x branch. The subject of this post is 2.x branch.

Joshua Partogi said on 07/12/2011 04:35 AM
Does TG still merging with Pylons project as described on Mark Ramm's blog?

Mengu Kagan said on 07/12/2011 13:17 PM
hi joshua, nope, TG is not merging with the pylons project. mark ramm tried to do that but then michael took over and mark stated that he will be building "orion" on top of pylons project. yet, he didn't.

Leave a Response

No HTML allowed. You can use markdown.
Name*:
E-Mail* (not published):
Web site:
Response: