Скачать презентацию Portable Contacts and v Card DAV Joseph Smarr Скачать презентацию Portable Contacts and v Card DAV Joseph Smarr

4ef09ef250f1994071f1c20c01ff85d8.ppt

  • Количество слайдов: 11

Portable Contacts and v. Card. DAV Joseph Smarr IETF 74, March 25, 2009 draft-smarr-vcarddav-portable-contacts-00 Portable Contacts and v. Card. DAV Joseph Smarr IETF 74, March 25, 2009 draft-smarr-vcarddav-portable-contacts-00 http: //www. portablecontacts. net

Why am I here? • Portable Contacts and v. Card. DAV share goals: “An Why am I here? • Portable Contacts and v. Card. DAV share goals: “An address book access protocol leveraging the v. Card data format. ” “…keep the base specification feature set small with an adequate extension mechanism” “An XML schema which is semantically identical to v. Card in all ways and can be mechanically translated to and from v. Card format without loss of data” “Such a standard format would be preferable to multiple proprietary XML schemas” http: //www. portablecontacts. net

Why am I here? • Opportunity for greater awareness, interoperability, and overlap between specs Why am I here? • Opportunity for greater awareness, interoperability, and overlap between specs – Communities, use cases, design constraints, lessons from early adopters / implementers – Common XML schema? (cf. draft-perreault-vcarddav-vcardxml-00)? – Card. DAV server as a Portable Contacts Provider? http: //www. portablecontacts. net

Brief history / context of “Po. Co” • Response to proliferation of proprietary Contact Brief history / context of “Po. Co” • Response to proliferation of proprietary Contact APIs (each with their own schema, auth, etc. ) – Started spring 08; early involvement from google, yahoo, msft, aol, myspace, plaxo, sony ericsson, and grass roots (openid/oauth) – Stable draft spec with several live implementations • Engineered for ease of adoption – – Simplest wire format / toolchain requirements Bridging “personal address book” and “social graph” Focus on read-only access to start (vs. write/sync) Based on existing standards wherever possible (v. Card, OAuth, XFN, JSON, Open. Social, etc. ) http: //www. portablecontacts. net

Technical overview • RESTful access API (URL XML/JSON) – Protected by OAuth and/or HTTP Technical overview • RESTful access API (URL XML/JSON) – Protected by OAuth and/or HTTP Basic Auth – Query params to filter / sort / paginate results – Result is a a list of contacts or a single contact • Schema is set of Singular & Plural fields – Values are Simple (strings) or Complex (key/value pairs); specified “canonical values” – Fields based directly on v. Card / Open. Social http: //portablecontacts. net/draft-spec. html http: //www. ietf. org/internet-drafts/draft-smarr-vcarddav-portable-contacts-00. txt http: //www. portablecontacts. net

Sample invocation Request: http: //sample. site. org/path/to/api/@me/@all? start. Index=10&count=10&sort. By=display. Name&format=xml Response (XML): <response> Sample invocation Request: http: //sample. site. org/path/to/api/@me/@all? start. Index=10&count=10&sort. By=display. Name&format=xml Response (XML): Response meta-data 10 10 12 First result 123 Minimal Contact Second result 703887 Mork Hashimoto Simple field Hashimoto Complex field Mork 0000 -01 -16 … http: //www. portablecontacts. net

Response (cont): <gender>male</gender> <drinker>heavily</drinker> Open. Social <tags>plaxo guy</tags> <tags>favorite</tags> Plural field <emails> <value>mhashimoto-04@plaxo. com</value> Response (cont): male heavily Open. Social plaxo guy favorite Plural field mhashimoto-04@plaxo. com work true mhashimoto-04@plaxo. com home mhashimoto@plaxo. com home http: //www. seeyellow. com work http: //www. angryalien. com home KLONDIKE 5 work http: //www. portablecontacts. net … field

Response (cont): <photos> <value>http: //sample. site. org/photos/12345. jpg</value> <type>thumbnail</type> </photos> <ims> <value>plaxodev 8</value> <type>aim</type> Response (cont): http: //sample. site. org/photos/12345. jpg thumbnail plaxodev 8 aim home Springfield VT 12345 USA Burns Worldwide Head Bee Guy plaxo. com 2706 http: //www. portablecontacts. net

More sample queries • “Just names and emails” filter. By=emails&filter. Op=present& fields=display. Name, emails More sample queries • “Just names and emails” filter. By=emails&filter. Op=present& fields=display. Name, emails • “Find-as-you-type” filter. By=display. Name&filter. Op=startswith& filter. Value=Jos&sort. By=display. Name&count=10 • “Family birthday calendar” filter. By=relationships&filter. Op=equals& filter. Value=kin&sort. By=birthday • Interactive test harness: http: //www. plaxo. com/pdata/test. Client http: //www. portablecontacts. net

State of Portable Contacts • Draft spec has been actively reviewed & rev’d by State of Portable Contacts • Draft spec has been actively reviewed & rev’d by participating people / companies (mailing-list archives online) • Wire-aligned with Open. Social REST API • Live implementations by Google, My. Space, Microsoft, Plaxo, and several smaller companies • Open-source reference implementation in Apache Shindig http: //www. portablecontacts. net

Proposed next steps • Get more of the right people together • Explore alignment Proposed next steps • Get more of the right people together • Explore alignment of XML schema • Try to build Card. DAV Po. Co adapter Q&A? http: //www. portablecontacts. net