News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Evert Pot:
jCard is now a thing
January 21, 2014 @ 11:04:18

In his most recent post Evert Pot talks about jCard, a JSON-based format that was recently approved to serve up VCard personal information data in an easier-to-parse format.

I'm a big fan of this format. vCards have been around since 1995, and even though we've had a pretty significant update in 2011 in the form of vCard 4.0, the format is still complicated to parse, has a number of problems that go all the way back to the early days. [...] The biggest problem with vCards, is that upon a first glance, the format seems extremely easy to parse and generate with just a couple of string manipulation functions. When you dig deeper into the specifications though, you'll notice that it's actually really complex and hosts a ton of edge cases.

He includes an example of how to generate the jCard format using the Sabre/Object and the resulting output, both in the traditional vCard format and the new jCard structure.

0 comments voice your opinion now!
vcard jcard json format sabre object parse output

Link: http://evertpot.com/jcard-completed

blog comments powered by Disqus

Similar Posts

Professioanl PHP Blog: Building a culture of objects in PHP

PHP-GTK Community Site: Gul 2.0 on the way

Community News: WebGrind Updated (Version 0.7 Released)

Nefarious Designs: Object-Oriented PHP Part 3: Taking Relationships Further

Jim Plush\'s Blog: MyBic AJAX 0.3 released with EASY FORMS & Debug!


Community Events











Don't see your event here?
Let us know!


package language release performance install podcast security component application database unittest composer framework opinion symfony2 hhvm introduction hack facebook support

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework