Archive for December, 2007

TG2 sprint in Ireland?

Looks like our little mid-January TG2 sprint idea is catching on. I just noticed this post, in the Web 2.0 Ireland blog asking if people there are interested in getting together. If you’re interested, let them know in the comments.

I’m definitely looking forward to it. And don’t forget you can participate virtually too. It seems like we may be roughly 50/50 in-person at various locations around the world vs remote at this point.

Another great javascript tool for web design

Today I stumbled across design, a set of web-design tools which come in the form of a very cool javascript bookmarklet.

I found it this yesterday, and it’s already been helpful in getting UI stuff done. While it’s not in the realm of Firebug (as a tool no web developer should be without) I’m impressed.

UPDATE: The blog entry introducing the tool seems to be down at the moment. But here’s the bookmarklet. You can use this to get a layout grid, arbitrary pixel measurements, and other design data visually right in Firefox. Just drag the bookmarklet to your bookmark menu and click on it in any page you want to measure/explore.

IE wakes up and smells the competition

Safari was the first to pass the Acid 2 test, Firefox seems to have followed, and now IE8 is jumping on the bandwagon.

It’s good to see competition spur progress, and it’s even better to see competition on who can implement standards compliance faster/better. Hopefully this is a sign of even better things to come!

Someday developing web applications may not require so many browser specific hacks. Ok, maybe that day is a long way off, but I guy’s gotta have his dreams.

January TurboGears Sprint

GearsI proposed a crazy scheme last week on the TurboGears mailing list, and it got some good responses, so now we’re committed to actually doing this thing. ;)

We will be hosting a TurboGears/Pylons/TurboGears2 sprint all around the world in January. There are locations in Colorado, Michigan, Germany already set up, and there’s interest in doing sprints in France, and England.

This sprint is scheduled for the 12th and 13th of January.
I’d also like to have a bit of a mini-sprint on the 5th of January to get organized and ready for the main event the following weekend.

TurboGears 2 already has a number of shiny new features:

  • super-shiny web based interactive debugging tools
  • web sessions, backed by DB, memcached, filesystem, or encrypted cookie storage
  • controller level caching via a simple decorator, thanks to beaker backed data storage
  • WSGI compliant goodness
  • Object dispatch now allows for more RESTful stile resources, because you can now instantiate new objects based on URL data, and dispatch on arbitrary objects
  • TurboGears 2 projects have improved internationalization via Babel
  • You can now run multiple TurboGears 2 applications in a single process, which makes redirecting to SSL encrypted channels easier

Thanks to many innovations in Pylons, Paste, and other WSGI tools, TurboGears 2 is already very cool, and I think we have an opportunity to make it the most technicaly advanced of the new generation of “dynamic web frameworks.”

We already have a high-powered ORM that can load whole graphs of objects in a single query, automatically minimize the number of queries unnecessary to update large numbers of objects.

We’ll also have a shiny new automatic CRUD tool that is shaping up to be more flexible than anything else out there.

We haven’t yet measured performance differences, but several people have noticed that TG2 feels snappier under load.

But there’s still lots of little things to do:

  • Setup authentication/authorization — reimplement some base Identity functionality as middleware, and write up some new require decorators.
  • Clean up the paster-template so a quickstarted project is smaller and easier to understand.
  • Create TG2 docs, and a better system for maintaining them
  • Write sample applications, and file bug-reports on anything that doesn’t work
  • Do code review, refactoring, and improvements on related projects
  • Force TG2 to use Pylons new WebOb support
  • Porting TG2 API docs to apydia and making a TG2 skin
  • Doing some code review on Beaker
  • Helping update the pylons web helpers
  • Helping to get SQLAlchemy Migrations up to the level where we can include them as a default.
  • Testing TurboMail with TG2
  • Consider integrating transaction management middleware

As you can see, there will be big and small tasks for anybody at any experience level who’s willing to help. And it will be a good opportunity to look at how TG2 works, and get up to speed on the all the new technology.

It looks like there will be a lot of virtual sprinters and quite a few organized sprint locations. If you’re up for helping to make an “in person” sprint happen in your area, let me know and I’ll help out in whatever way I can.

If you have suggestions feel free to make them on the mailing list, if you can help out please sign up to attend the sprint on the wiki.

Pycon 2008 Talks

The list of talks for PyCon 2008 has shown up on the pycon website. I’ll be doing a talk about TurboGears 2 and Pylons, and how we’ve been working together to make Python web development easier.

There are so many talks that I’m looking forward to this year it’s amazing. And of course, the hallway track is the most important track of the conference!