1. RESTx: Rest for the rest of us
Ken Yagen
Silicon Valley Code Camp, October, 2010
2. Agenda
• The Programmable Web
• What is RESTx?
• Demo
• Building a simple component
• Roadmap
• Questions / More information
3. The Programmable Web
• Resources
• Must have a URI
• Addressability
– Name them using URIs
– Give them structure - http://www.restxdemo.org/resource/sales/2004/Q4
• Representations
– Resources support different representations (XML, JSON, HTML, SVG, …)
• Uniform Interface
– HTTP (GET, HEAD, PUT, DELETE, POST)
• Statelessness, Connectedness
• Building Blocks (HTTP, URI, XML, JSON)
5. What is RESTx?
• The simplest way to create RESTful web services
• Encourages and enables RESTful concepts
• Hides underlying implementation details
• RESTx resources are self documenting and discoverable
• RESTx is a server, not a framework
• Use Cases
• Create rich data services by integrating different data sources
• Customized resources from cloud services and internal databases
• Data Layer for JavaScript application
• Wrap legacy scripts into reusable components