My thoughts on what makes 2.0 special

1 view
Skip to first unread message

Mark Ramm

unread,
Jun 22, 2007, 8:23:04 PM6/22/07
to pyg...@googlegroups.com
Nearly all of this comes from great stuff that't been done outside the
community. Some from Pylons, but lots from individual library
authors who brought us great things like SQLAlchemy, Genshi, Babel,
and of course all the great foundation work that ben and company have
done in Pylons.

Here are a few bullet point features of the TG 2.0 branch:

* The Object Relational Mapping layer now uses Mike Bayer's
SQLAlchemy library, with Elixir extensions. This means you can:
* Map model objects to arbitrary database relations.
* Use filter() to build up complex SQL queries in python, one piece
at a time.
* Take advantage of powerful and flexible model extensions like
acts_as_taggable or acts_as_associable to quickly add tagging,
security, or other cross-cutting behaviors to your model objects.

* Powerful new templating system, which is largely backwards
compatible with Kid, but with improved performance, and new features:
* You no longer need to include empty <span> or <div> tags to your
HTML just to have somewhere to hang your py:for statements.
* Significant rendering speed increases VS Kid.
* The ability to do XML Includes for flexible document composition.

* The ability to mount several TG or other WSGI compliant
applications in a single process.
* The ability to easily mount and use WSGI Middleware like:
* Beaker
* EvalException
* AuthKit
* WaitForIt...
* Etc.

* completely rewritten, and massively improved support for
internationalization via Chris's Babel project.

* TG's simple object/URL mapping is enhanced with flexible dispatch
options, including Routes integration.

* TurboGears and Pylons communities are actively working together,
sharing resources and libraries.

I'm sure there are lots more features that we could highlight, and
lots more that will be added before we actually reach 2.0. But I'm
pretty excited about what this is going to bring to the TurboGears and
Pylons communities.

--
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog

Reply all
Reply to author
Forward
0 new messages