See the question and my original answer on StackOverflow

Maybe the site/doc you're referring to is marked as obsolete, but the technology behind is not. Here are the official links, not marked as obsolete:

I would definitely use this technology.