First Werkzeug Screencast
I've played with the idea of recording a screencast for Werkzeug for a long time. Unfortunately recording a screencast is a lot more work than you would think so it took me a long time to create one where I was at least partially happy with. I know the one I've uploaded is far from perfect: the sound is not so well, the narration is so-so and there is even a small error in the recording I had to fix using an overlay.
But I spend too much work in it already to just throw it away. I promise I will upload a finer version with the next release of Werkzeug, but until then I hope it still helps a bit.
I tried to stick to the very basic things you would want to do with Werkzeug. No fancy JavaScript or flickr API tricks. The screencast gives you a quick introduction into Werkzeug with Jinja2 as template engine and SQLAlchemy as database abstraction layer to create a simple wiki application.
The screencast is available with sources on werkzeug.pocoo.org/wiki30. It should work fine on VLC and QuickTime.
database.py is missing import of `join` from `sqlalchemy.orm`.
— Pradeep Gowda on Tuesday, April 28, 2009 12:59 #
I'm still working through the screencast, but running the wiki app via `start-server.py` throws up `table does not exist` error.
Is there a step preceding this, to create tables or is it created automatically on first startup?
— Pradeep Gowda on Tuesday, April 28, 2009 13:12 #
I accidentally uploaded a wrong zip file. Uploaded the correct one now. Before you can start the server you have to create the database tables. See the README file I added to the new archive.
— Armin Ronacher on Tuesday, April 28, 2009 16:19 #
In the `README` file,
`>>> from wiki30.database import metadata, database_engine`
should read
`>>> from wiki.database import metadata, database_engine`
— Pradeep Gowda on Tuesday, April 28, 2009 17:35 #
Nice screencast, thanks!
Which vim colorscheme are you using? maybe you could even update your vimrc from pocoo.org/~mitsuhiko/_vimrc ? :)
— lax on Saturday, May 2, 2009 0:52 #
Dude, I really wanted to see your screencast. I really did.
Um, how do I say this.
Let's just say, please work on your voice for the next screencast.
— Critic on Friday, May 15, 2009 20:01 #
This is a fantastic screencast and your work on Werkzeug is great!
— vineire on Friday, October 2, 2009 23:25 #
Great screencast, really helpful for picking up some best practices. However, I have a question. In action_show you use `Revision.query.filter_by(page=page)', while in action_edit you use `page.revisions'. To me, these are identical. Are they not?
— Felix on Monday, March 8, 2010 21:47 #