monkinetic weblog

Steve Ivy's Weblog - Since 1999 - XII Ed.

Learning WO Cont'd

Last night I had a real breakthrough in my study of WebObjects. Unfortunately, I don't have the WO 4.01 databases, so I haven't been able to do some of the exercises in the Programming WebObjects course I'm doing. Instead, I downloaded FrontBase and installed it, created my own model, and completed the exercise.

Well, sort of.

What I did was create my own project – a simple web-based threaded discussion group. I modeled the Message, User, and Enclosure entities, and generated the database in FrontBase. Then I used DBEdit to enter some data into my Message database. Finally I managed to Fetch the message data (including replies!) from the database in WebObjects. WooHoo!

Next up: creating new messages!

My name is Steve Ivy and I write about technology, the open web, social software, and general nerdity on monkinetic.com. You should follow me on Twitter or subscribe to this blog if you like what you're reading. I spend my days hacking Movable Type, python, Django, and various other efforts at Wallrazer. This is my personal site.