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