Sunday, April 24, 2005

BlogPoster is born (barely!)

As you can see, the previous post is a test post from an OS X application that I am developing. Its called BlogPoster, and it will allow you to post to your weblog from your favorite mac, without actually opening the weblog service in a browser. I know, I know -- applications like these are retro, and they are a dime-a-dozen. But I am writing it to mainly hone my developing skills in Cocoa, Python, pyobjc, and to gain more familiarity with XML.

Interface Builder is an OS X application that lets you create Cocoa/Carbon based GUI applications quickly and intelligently. It also defines skeleton classes that capture the interaction between the various GUI compnents, leaving the user to flesh out the classes for functionality. It is especially suited for applications that follow the Model-View-Controller (MVC) design pattern.

Python, as you might know, is the most kick-ass scripting/object-oriented/whatever language ever. Python rocks! Objective-C is an extended C, with, as the name implies, object oriented features. pyobjc is an extension of python that allows a developer to combine the features provided by both Python and Objective-C. Since its an extension of python, the syntax of pyobjc resembles that of Python.

BlogPoster is still in its infancy - I spent 6 hours reading others' code (isn't that the best way to learn?), and 2 hours writing my own - about a 100 lines of python code. So, the only blog to which posts can be uploaded is mine :) I want to make it complete, by adding the following features (in order of priority):

  • HTML Editing
  • HTML preview
  • Image upload
  • Support for all blogging services that provide an XML-RPC based API for developers


Screenshots, and source code will be posted (via BlogPoster :) ), once the project is in a respectable state. Not too many people are mac users, leave alone being mac hackers, but people - if you are not at least one of these, you are missing out on something sweet.

1 comment:

Anonymous said...

Boy..some body is really GHotting HUH?