Pylons (ftw?)
Thursday, August 23rd, 2007After doing a lot more research on frameworks, playing around with SQLAlchemy, etc., I have decided for now on Pylons.
Here’s why:
- SQLAlchemy rocks. Ran through the tutorial, looked through the docs. It’s very well documented. The tutorial was advanced and I like that. It even went through complex joins and such. You can make it work with a schema. It’s more complex than ActiveRecord for doing simple things, but it’s easier to do the more complex things without writing your own SQL statements. It’s also nice when you use it in interactive mode how it spits out the SQL it sends to the server. Great for tweaking and debugging. You can use your own naming conventions too (which can be bad and good).
- The debugger seems great. I played around with it a little bit. Basically, when you get an error, you can click on the page and execute any command wherever you want on the call stack. It updates all ajaxy too. Very cool. Just make sure you don’t run it as root by accident
- WSGI is seemingly pretty awesome. Middleware looks like it has a lot of potential. Seems like all the momentum is headed towards WSGI.
- Isn’t all about the CRUD. I’m kind of sick of those slight of hand demos with Rails and such where it shows you how to make a blog in 20 seconds using scaffolding.
- It’s lightweight, moreso than TG.
- The docs explain not just how to do things but why as well, so you actually learn the underlying concepts.
- Seems like there’s a lot of new development, and I’m hoping that once I get going I’ll be able to contribute to the project as well. Also, TG2 is going to be using pylons which means the number of people using it will grow significantly once TG2 is released. This is good for everybody because the middleware created, bug fixes, new API features will benefit all. It’s nice seeing open source projects converge rather than fork for once.
These are just things I see from playing around with it a bit. I haven’t made anything real yet, but when I do, I’ll share my experiences, post some snippets, and maybe a tutorial or two. I have a long way to go though.


