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

PDF:

Review

vCard Reader

Issue: 1.3 (December/January 2002)
Author: Greg Fiumara
Article Description: No description available.
Article Length (in bytes): 3,901
Starting Page Number: 8
RBD Number: 1303
Resource File(s): None
Related Link(s): None
Known Limitations: None

Full text of article...

Ever since Apple started shipping Mac OS X, it has added more and more new technologies with each update. Some of these include Inkwell, Rendezvous, and Sherlock 3 in the highly anticipated "Jaguar" version of OS X. However, there were some smaller technologies added that were not greatly publicized, such as vCard support in the bundled Address Book application. vCard is a Personal Data Interchange (PDI) technology, developed by Versit and currently maintained by the Internet Mail Consortium (IMC), used on most computers, cell phones, and PDAs. Recently, a code example called "vCard Reader" was released and demonstrated how to read the vCard format using REALbasic.

vCard Reader is distributed in an easy to use form. You download the sample project and import the small sized class into your project. With a few lines of code calling the vCard Reader, you're ready to start using it. The vCard format is a fairly easy format to work with. However, reading the format requires many different REALbasic language elements be used. For the experienced REALbasic user, this code example will seem like any other simple weekend project. However, for the REALbasic novice, this snippet could be a great introduction to many aspects of REALbasic that they may not have encountered yet. vCard is written using a syntax similar to HTML, yet less advanced. vCard Reader parses the file in this format and displays its contents in a neater form.

If you were creating a personalized address book application, this code example could save you much time and effort; however, there is a downside. This example only supports vCard versions 2.1 and 3.0. These formats are the most popular, so this limitation should not pose too much of a problem. In fact, unless your users are still using PDAs from 1995, you most likely will not have to deal with vCard version 1.0. The other downside of this code example is that there is no documentation whatsoever included. Not a text file, not a REALbasic 4.5 "note," not even a single code comment. vCard Reader makes use of many syntax elements that can be useful to beginners, but since this project is not commented or even described, novices can find themselves trapped in a world of unknown code that makes them easily give up on their project. Also, the author has created the project in a somewhat unstructured manner, using odd techniques and property ID's to read the vCard information. For an RB rookie, learning these practices could plague their ability to code in a more professional manner later. However, these limitations have little to do with the intermediate developer's ability to work with the example, and if you are looking for an easy way to read the vCard format, vCard Reader would probably be your best choice.

In Brief
 
Product
vCard Reader
 
Manufacturer
Sam Rowlands
 
Price
Free
 
System Requirements
N/A
 
Contact Info
rowlands-at-mac.com
 
Pros

Efficently reads multiple versions of the vCard format; may bring more attention to vCard if successful programs are made with it

 
Cons

No documentation; may be hard to follow author's code, even for experienced users

 
Rating (1.0-5.0): 3.2

End of article.

Article copyrighted by REALbasic Developer magazine. All rights reserved.


 


|

 


Weblog Commenting and Trackback by HaloScan.com