Wednesday, June 27, 2012

What Does The Future Hold For Blogs And Forums?

I was thinking a bit about this just now, and I think it makes for an interesting question. I've heard people saying that social networks are killing blogs and, to a different extent, forums. I'm not sure I agree, but I can see how it can happen, I think.

Announcing TurboGears 2.2.0rc2


Hello everybody. It's been a while, but at least I have some good news to share: We've just put 2.2.0rc2 out.

At this point, unless we find something seriously wrong, this is likely to become to 2.2 release officially. I've worked with Alessandro, and cleared up the issues we were seeing on jenkins.turbogears.org. We've upgraded many of our support packages. We've added more renderers, and more options. 2.2 looks amazing to me, and I think you'll feel the same way.

The changes are listed below, but here's how to get it and try it out:

virtualenv ${HOME}/tg22rc2
source ${HOME}/tg22rc2/bin/activate
easy_install -i http://tg.gy/220rc2 tg.devtools
paster quickstart tgtest
# answer the questions here how you see fit
cd tgtest
python setup.py tgtestdevelop
paster setup-app development.ini
paster serve development.ini
# now point a web browser at http://localhost:8080/

You should be up and running within 5 minutes.

Here's the changes:

TG2 Core Updates:

  • Template engines in tw2.core could collide, based on template extensions. Fixed.
  • Subclassed controllers now keep the decorations inherited from their parents
  • repoze.who v2 is now supported
  • Form validation now supports TW2 validation dictionaries, less dependent on FormEncode
  • When multiple renderers are registered for the same content type, the default renderer is now preferred
  • URL keyword args, marked for removal in 2.2, are now removed.
  • Ming setup issues are resolved, and Ming is in its own module
  • repoze.who v2 is not compatible with repoze.what v1. New compatible module has been provided to make code change minimal.
  • Jinja templates must now have the extension .jinja Conflicts with .html were being found when Genshi and Jinja were mixed in the same project.
  • Mako option "reloadfromdisk" has been deprecated. Use "auto_reload_templates" as this is the default for other rendering engines
  • __before__ and __after__ were renamed to _before and _after in the past. Code and documentation now reflects this.


Devtools / Quickstart Updates

  • New applications will be set up to use repoze.who v2 by default
  • Improvements to the quickstart look, layout, and content
  • Quickstarts now support Kajiki as a rendering engine
  • Twitter Bootstrap support in quickstart
  • Genshi is always available in new quickstarted projects. Provides a common template language for use in extensions
  • Sessions are now stored in encrypted cookies