Special

Clearance Sale!

We've been publishing for over five years now and it's time to clear out our inventory of back issues, so we're slashing prices!

RBD Magazines

Check out this amazing clearance sale of all our past issues. Missing some issues? This is a great time to complete your RBD collection. Save up to 40% off the regular price of our printed back issue packages. These prices are only good until the end of the year May 2008 and supplies are limited, so place your order today.

Article Preview


Buy Now

Print:
PDF:

Review

iCal Import/Export 0.5

Issue: 3.1 (September/October 2004)
Author: Greg Fiumara
Article Description: No description available.
Article Length (in bytes): 3,976
Starting Page Number: 9
RBD Number: 3104
Resource File(s): None
Related Link(s): None
Known Limitations: None

Full text of article...

By now, every Apple developer has heard of Apple's digital hub strategy; tying in a person's complete life on his or her Macintosh. This marketing campaign has achieved its most recent apex with the release of iLife '04. The digital hub strategy is not just limited to the applications Apple charges for. In fact, the complete line of applications in the digital hub strategy includes Address Book, iCal, and Mail. The majority of the digital hub applications have been controllable through REALbasic for years. For instance, REALbasic has always been able to communicate with Internet mail servers. The advent of REALbasic 5.5 achieved Address Book interoperability. The only item REAL Software missed the mark on was iCal integration. The new iCal Import/Export class from Corey Redlien fixes this tragic flaw.

The iCal Import/Export class does precisely what its name implies. It converts data into the vCalendar format and can render vCalendar format into human readable information. The vCalendar format is a standard, which iCal uses to store data. One can even create a complete calendar using iCal Import/Export and have iCal display the calendar's contents.

The joy of using iCal Import/Export is the ability to learn the vCalendar format. The class includes a log window in which every interaction with the vCalendar format is transcribed. This aids greatly in debugging as well as becoming fluent with the new code being created. In addition, the author of the class commented some -- not all -- of his code, something many programmers forget.

Without realizing it, Redlien included some pieces of code that will save programmers lots of time. In most cases, these snippets can be used separately from a project dealing with the vCalendar format. One of these snippets is an EditField that will only accept properly formatted dates or times. Many programmers need this type of code and can now borrow it from the iCal Import/Export class. Also included is an example of how to integrate with Address Book in REALbasic 5.5.

As of press time, this class relies on Einhugur's UtilsLib plugin for localization information such as time zones. Redlien notes that the same can be achieved through declares but has not bothered to add them in yet. Overall, the example project sports a somewhat unfinished look and functionality. For example, the programmer still needs to add support for "To Do" lists. Potential users of iCal Import/Export should send complaints to the author as he has labeled the current version 0.5 and it is open source.

However, the version number itself is a great reason to become interested in the class. According to the programmer, iCal Import/Export is "in no way complete...dirty...[and] ugly." If it seems that way to the author, this phenomenal class will only get better as it nears a 1.0 release. REALbasic programmers should be holding their breath in eager anticipation of a finished product.

IN BRIEF
 
Product
iCal Import/Export 0.5
 
Manufacturer
Corey Redlien
 
Price
Free
 
Contact Info
http://www.redlien.com/realbasic/ical/
 
Pros
Full featured for a 0.5 release. Excellent rendering of iCal created files. Extra code snippets
 
Cons
Leans toward iCal compatibility rather than vCalendar. Lacking "To Do" list integration
 
Rating (1.0-5.0):
3.8

End of article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com