From HTML To Services  Building a Site for REST, POX, RSS, SOAP, and WS-* Clemens Vasters Connected Framework Microsoft Co...
From HTML To Services <ul><li>Hypertext and Pictures grew the Web </li></ul><ul><li>Thank You! </li></ul><ul><li>Let’s Mov...
Hypertext <ul><li>Very 90’s </li></ul><ul><li>Your content links their content </li></ul><ul><li>Click, Good-Bye </li></ul>
… But! <ul><li>HTML is parseable markup </li></ul><ul><ul><li>Structure focused on layout but  holds data </li></ul></ul><...
Mashup <ul><li>http://www.vlogmap.org </li></ul><ul><li>http://www.flashearth.com   </li></ul><ul><li>http://www.weatherbo...
Mashup Consumers <ul><li>Your content is your content and their content and the other’s content… and they let you! </li></...
Mashup Providers <ul><li>Their content is your content </li></ul><ul><li>Make it easy to aggregate your stuff </li></ul><u...
It’s A MIX <ul><li>HTML+AJAX: Client Aggregation Platform </li></ul><ul><ul><li>We love Firefox, Safari, Opera for embraci...
It’s A MIX <ul><li>Go cool with Avalon/WPF and Flash </li></ul><ul><li>Go mobile with J2ME and  Windows Mobile </li></ul><...
X’ing The Wire HTML/HTTP <ul><li>HTML/HTTP are the common fabric </li></ul><ul><ul><li>The Web’s Denim Jeans </li></ul></u...
X’ing The Wire REST/POX <ul><li>POX: Plain Old XML </li></ul><ul><ul><li>Ship XML instead of HTML </li></ul></ul><ul><ul><...
X’ing The Wire SOAP <ul><li>SOAP: Data + Metadata for Messaging </li></ul><ul><li>Baseline standard for rich set of messag...
X’ing The Wire Streams/P2P <ul><li>Streamed Media, Large Data access  </li></ul><ul><ul><li>Downloads </li></ul></ul><ul><...
Eastside, Westside, Serverside Pinstripes or Hip-Hop,  nothing happens without the server
Windows Communication Foundation The Windows Communication Foundation is the Universal Communication Runtime SOAP, REST, P...
POX, No SOAP
What Did We See? <ul><li>POX/SOAP, HTTP/TCP, Binary/XML ? </li></ul><ul><ul><li>… all just a matter of configuration </li>...
Still Not Convinced? newtellivision  by newtelligence AG http://www.newtellivision.tv
Summary <ul><li>You asked, we listened </li></ul><ul><li>We have the one runtime for all the backend magic that you need f...
© 2006 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes n...
 
Upcoming SlideShare
Loading in …5
×

From HTML to Services: Building a Site for REST, POX, AJAX, RSS, SOAP, and WS-*

526 views

Published on

Your site is more than a collection of pages; it's a programmable platform that your users are leveraging in innovative new ways. Scraping, mashups, and RSS mean that your site is already a service, and the fastest, most flexible way to build that service is with Windows Communication Foundation (WCF).

Published in: Technology
  • Be the first to comment

  • Be the first to like this

From HTML to Services: Building a Site for REST, POX, AJAX, RSS, SOAP, and WS-*

  1. 1. From HTML To Services Building a Site for REST, POX, RSS, SOAP, and WS-* Clemens Vasters Connected Framework Microsoft Corporation [email_address] BTB021
  2. 2. From HTML To Services <ul><li>Hypertext and Pictures grew the Web </li></ul><ul><li>Thank You! </li></ul><ul><li>Let’s Move On… </li></ul>
  3. 3. Hypertext <ul><li>Very 90’s </li></ul><ul><li>Your content links their content </li></ul><ul><li>Click, Good-Bye </li></ul>
  4. 4. … But! <ul><li>HTML is parseable markup </li></ul><ul><ul><li>Structure focused on layout but holds data </li></ul></ul><ul><ul><ul><li>corzen.com spiders hundreds of jobsites weekly and aggregates that into a leading indicator for Wall Streets job market data </li></ul></ul></ul><ul><li>XML is generalized parseable markup </li></ul><ul><ul><li>Structure focused on data </li></ul></ul><ul><ul><li>Facilitates “Community Standards” </li></ul></ul><ul><ul><ul><li>RSS, OPML, etc </li></ul></ul></ul><ul><li>Sites are services today </li></ul>
  5. 5. Mashup <ul><li>http://www.vlogmap.org </li></ul><ul><li>http://www.flashearth.com </li></ul><ul><li>http://www.weatherbonk.com </li></ul><ul><li>http://www.housingmaps.com </li></ul><ul><li>http://www.corzen.com </li></ul><ul><li>http://www.programmableweb.com </li></ul>
  6. 6. Mashup Consumers <ul><li>Your content is your content and their content and the other’s content… and they let you! </li></ul><ul><li>Keep people on your property </li></ul><ul><li>Rake the ad revenue, drive business for partners </li></ul>
  7. 7. Mashup Providers <ul><li>Their content is your content </li></ul><ul><li>Make it easy to aggregate your stuff </li></ul><ul><ul><li>RSS, OPML, ATOM, ASX, any other XML Lingo </li></ul></ul><ul><ul><li>JSON – JavaScript Object Notation </li></ul></ul><ul><li>Make it easy to interact with your stuff </li></ul><ul><ul><li>REST, POX, and SOAP Services </li></ul></ul><ul><li>Rake in the revenue for your added-value or services </li></ul>
  8. 8. It’s A MIX <ul><li>HTML+AJAX: Client Aggregation Platform </li></ul><ul><ul><li>We love Firefox, Safari, Opera for embracing our XMLHTTP model … and for finally kicking NS 4.x off the cliff </li></ul></ul><ul><ul><li>Critical mass for cross-browser XML and AJAX support is here </li></ul></ul><ul><li>Aggregate, embed, layer, extend, reshape, recompose, map, render… do stuff </li></ul>
  9. 9. It’s A MIX <ul><li>Go cool with Avalon/WPF and Flash </li></ul><ul><li>Go mobile with J2ME and Windows Mobile </li></ul><ul><li>Go living-room with Windows Media Center and Xbox 360 </li></ul><ul><li>The web of now is one of services and many presentation surfaces and facets </li></ul><ul><li>HTML isn’t dead, but it’s got company </li></ul>
  10. 10. X’ing The Wire HTML/HTTP <ul><li>HTML/HTTP are the common fabric </li></ul><ul><ul><li>The Web’s Denim Jeans </li></ul></ul><ul><ul><li>Comfy, essential basics, but not so chic </li></ul></ul><ul><li>Provides the most fundamental layout and content integration capabilities </li></ul><ul><li>HTTP is the ubiquitous, scalable communication underpinning with a huge supporting infrastructure. </li></ul><ul><ul><li>Great for 90% of everything. But just that </li></ul></ul>
  11. 11. X’ing The Wire REST/POX <ul><li>POX: Plain Old XML </li></ul><ul><ul><li>Ship XML instead of HTML </li></ul></ul><ul><ul><li>HTTP GET to access XML data </li></ul></ul><ul><ul><li>Easily aggregate and mashup with AJAX </li></ul></ul><ul><li>REST: REpresentational State Transfer </li></ul><ul><ul><li>Aka “POX with dogma” </li></ul></ul><ul><ul><li>Fully exploits HTTP application protocol </li></ul></ul><ul><ul><li>Create/update/delete and linking </li></ul></ul><ul><li>Very casual, baseline standards, do what works… </li></ul>
  12. 12. X’ing The Wire SOAP <ul><li>SOAP: Data + Metadata for Messaging </li></ul><ul><li>Baseline standard for rich set of messaging features </li></ul><ul><ul><li>Addressing, Routing </li></ul></ul><ul><ul><li>In-Message Security, Identity Federation </li></ul></ul><ul><ul><li>Reliable Messaging </li></ul></ul><ul><li>Very rich model, requires rich stacks </li></ul><ul><li>SOAP is no longer a toddler... or easy </li></ul>
  13. 13. X’ing The Wire Streams/P2P <ul><li>Streamed Media, Large Data access </li></ul><ul><ul><li>Downloads </li></ul></ul><ul><ul><li>Music On-Demand </li></ul></ul><ul><ul><li>Video On-Demand </li></ul></ul><ul><li>P2P: Collaboration, Sharing, Gaming </li></ul>
  14. 14. Eastside, Westside, Serverside Pinstripes or Hip-Hop, nothing happens without the server
  15. 15. Windows Communication Foundation The Windows Communication Foundation is the Universal Communication Runtime SOAP, REST, POX, P2P, Streaming. One-Way, Request/Response, Duplex. Secure, Transacted, Reliable, Federated. Interoperable, Productive, Fast One Way to Program
  16. 16. POX, No SOAP
  17. 17. What Did We See? <ul><li>POX/SOAP, HTTP/TCP, Binary/XML ? </li></ul><ul><ul><li>… all just a matter of configuration </li></ul></ul><ul><ul><li>… you program in one model </li></ul></ul><ul><li>WCF is the natural first choice </li></ul><ul><ul><li>For supplying data to AJAX apps </li></ul></ul><ul><ul><li>For supplying data to smart clients </li></ul></ul><ul><ul><li>For web services </li></ul></ul><ul><ul><li>For integration </li></ul></ul>
  18. 18. Still Not Convinced? newtellivision by newtelligence AG http://www.newtellivision.tv
  19. 19. Summary <ul><li>You asked, we listened </li></ul><ul><li>We have the one runtime for all the backend magic that you need for your sites and experiences </li></ul><ul><li>Check out WCF: http://windowscommunication.net </li></ul><ul><li>Write me e-mail: [email_address] </li></ul>
  20. 20. © 2006 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.

×