Tue, 08 Jul 2008

TurboGears2 slides & code from FUDCon 2008 Boston

I posted my TurboGears2 slides from FUDCon 2008 Boston here. Since I gave a TurboGears1 talk at the previous FUDCon (slides here), I based this recent talk on the assumption that people already understand some of the basic concepts of TG1. During the session I covered a wide range of technologies, including WSGI, Pylons, ToscaWidgets, Paste, SQLAlchemy, SQLObject, Kid, Genshi, Beaker, DBSprockets, DBMechanic, jQuery, Comet, Orbited, etc.

So, for this presentation I wanted to start a new application from scratch to use as an example. Turns out, I ended up implementing something similar to brainstorm.ubuntu.com -- but better. Not only does it allow you to share, rank, and collaborate on ideas, but you can also ask, answer, and rate questions as well. The thing that makes this application really stand out is that once you land on the page, the widgets update themselves in *real-time*. To accomplish this, I created a bunch of ToscaWidgets, which are re-usable bundles of xhtml+css+javascript that I can easily use all over my application. When the widgets are rendered in the clients browser, they open a persistent comet connection back to our Orbited server. From here, our TurboGears application sends events to Orbited as they happen, which then get sent asynchronously back to our clients where jQuery handles rendering the results.

For more details about this app, including screenshots and code snippets, take a look at my slides. You can also grab the code and dive in (note: you'll need to setup TG2 in a virtualenv (instructions) until the stack makes its way into Fedora):

git clone git://fedorapeople.org/~lmacken/manas

Now, this app is merely a prototype that I started writing as an example for teaching TG2. As it turns out, this project could potentially be extremely useful, and I've received a lot of positive feedback around it. However, there is still a little bit of work to do before it is deployable. If you're interested in helping out, please drop me a line.

posted at: 21:47 | link | Tags: , , , , | 5 comments

Sun, 16 Dec 2007

WebFaction - Agile hosting by helpful humans

I'm going to shamelessly plug my web hosting provider, first off because they kick ass. Second, there has been a recent wave of people blogging about how they are getting screwed by their providers. I've had nothing but great experiences with mine, so I thought I would share.

For the past couple of years I've been using WebFaction for all of my web hosting needs, and have never looked back. When shopping around for hosting providers, I was looking for a place to easily host TurboGears applications, and WebFaction had the best reputation. Not only can you deploy a TurboGears application with their one-click installer, you can do it with Django, Wordpress, Drupal, Zope, Plone, Trac, Joomla, Subversion, Rails, and many other applications as well! Their control panel allows you to manage your domains, applications, websites, databases, mailboxes, with an extremely powerful web interface. You can watch a screencast demo of it here.

They recently upgraded their servers and hosting plans, giving you UNLIMITED domains, websites, applications, processes, and databases. Instantly deploy new applications, with only a few clicks of your mouse. All powered by the world's leading open source application platform, of course :)

As far as technical support goes, I've had nothing but amazing experiences dealing with the WebFaction guys. They are quick to respond to your issues and have a great knowledge base of useful information. I highly recommend checking them out!

posted at: 00:21 | link | Tags: , , , | 1 comments