splee.blog :: SimpleBlog

SimpleBlog

SimpleBlog Part 4 - Widgets

In this part of the series we’re going to take a step back from SQLAlchemy and have a look at making the user experience a little more fluid. We’re going to convert all our hand-coded forms to widgets, and we’re also going to use widgets as a display mechanism.

Continue Reading »

SimpleBlog
TurboGears

Comments (11)

Permalink

SimpleBlog, where art thou?

Due to my current workload the SimpleBlog series has slowed to a crawl. Have no fear, it is not dead, merely sleeping.

I expect the next part of the series to be published before the end of next week. Sorry for the delay! :)

SimpleBlog

Comments (3)

Permalink

SimpleBlog Part 3 - many-to-many relationships

Welcome to part 3 of the SimpleBlog series, where we shall be looking at SQLAlchemy’s many-to-many relationships.

Since the end of part 2 I have done some work on the “admin” side of things with a way to create posts and comments via a web interface rather than tg-admin shell. While I’m sure that asking your visitors to log in via SSH and use the shell would have gone down well, I think that this way is a little easier. :)

You can download the code from here. Continue Reading »

SimpleBlog
TurboGears

Comments (22)

Permalink

SimpleBlog - Part 2

In our last adventure we created the skeleton of a simple blogging application using SQLAlchemy as the ORM. In part 2 we are going to look at using Foreign Keys and create a method of allowing comments.

If you need the simpleblog files from the end of Part 1 they can be found here.

Continue Reading »

IT
SimpleBlog
TurboGears

Comments (9)

Permalink

SimpleBlog - Part 1

I’ve noticed a lot of people asking questions about SQLAlchemy in the #turbogears channel on Freenode and the TurboGears mailing list, and there aren’t that many step-by-step tutorials in using TG and SA so I decided to write one.

The tutorial will be published in two sections; Part 1 will cover the basics and part 2 will extend part 1 to cover a few of the trickier aspects of creating a project with SA.

Continue Reading »

IT
SimpleBlog
TurboGears

Comments (19)

Permalink