Tuesday, April 15, 2003

Hibernate implementation done.

As Matt reports, I have finished the Roller-Hibernate implementation and committed it to CVS. Tonight, I will upgrade this site to the latest code from CVS. Matt wants to know how it works, but I don't know yet. Hibernate has been a pleasure to work with and the results seem fast, but I have not done any benchmarks yet.

Right now, Roller has a pluggable persistence layer with two implementations Hibernate and Castor. I'm not sure how long that will last as it is no fun maintaining two implementations of the very same thing. [Blogging Roller]

One more reason to reconsider Roller. MetaWeblog API, TrackBack-enabled, and now Hybernate instead of Castor.


11:32:39 AM    

Trackback support in Roller.

I just committed the code for Trackback to Roller. Roller now acts as a Trackback server, accepting Trackback pings, and Roller can also act as a Trackback client. The Roller Editor UI now includes a Trackback page that allows you to send Trackback pings for each of your weblog entries and that allows you to view the response from the target Trackback server.

Trackbacks are displayed along with other referers (which are harvested using a Java version of Mark Pilgrim's Linkback technique) via the new #showDayReferers() macro.

I will now test Trackback by sending a ping to the Movable Type Trackback test server. It worked! Please send me a Trackback so that I can test my ability to accept pings, the Trackback URL for this entry is:

http://www.rollerweblogger.org/trackback/roller?trackback_support_in_roller
[Blogging Roller]
So, it looks like I'm back at the drawing board for my own hosted weblog. Roller seems like a contender again.


11:18:44 AM    

MetaWeblog API support in Roller

Turns out, I didn't have to steal much code from Blojsom to get MetaWeblog API support going in Roller. I ended up only stealing method signatures, Javadocs, and logging statements (thanks guys!). Roller and Blojsom are so different and the Blogger and MetaWeblog APIs are so simplistic that no further theft was necessary. In the process, I learned about the simple and clean architecture of Blojsom and I learned that XML-RPC based Weblog APIs are a bit of a mess these days.

[snip]

In the end, I was able to implement all of the Blogger and MetaWeblog APIs except for the MetaWeblog API newMediaObject. Blojsom implements everything except getUserInfo, deletePost, getTemplate, setTemplate, getPost, and newMediaObject. I'm not sure all of those APIs are really all that useful anyway. [Blogging Roller]

Just when I thought I had decided to go with a bloxsom/blojsom approach, Roller comes storming back into the mix.


11:17:26 AM    



Email Subscription
Enter your email address below to subscribe to deeje.com!


powered by Bloglet