Monday, April 22, 2013

CORS: Cross-origin resource sharing

ASP.NET Web API: CORS support and Attribute Based Routing Improvements - ScottGu's Blog

"Cross-origin resource sharing (CORS) is a W3C standard that allows web pages to make AJAX requests to a different domain. This standard relaxes the same-origin policy implemented in web browsers that restricts calls to the domain of the resource that makes the call. The CORS specification defines how the browser and server interact to make cross-origin calls."

HTTP access control (CORS) @ Mozilla

Cross-origin resource sharing - Wikipedia, the free encyclopedia

Cross-Origin Resource Sharing @ W3C

Glimpse Protocol and Visualization

An interesting idea for visualization of JSON data.
HTML is a perfect match rendering a hierarchy of objectes, tables, etc.
Super-simple.

More about Glimpse

Glimpse Protocol Definition

"The Glimpse Protocol... is a way of interpreting (JSON) JavaScript objects and rendering them based on their structure.

The interpretation that occurs simply makes certain assumptions about how data that is structured a particular way should be formatted.


{
    "Movie" : "Star Wars",
    "Genera/Theme" : "Science Fiction", 
    "Plot & Description" : "Luke Skywalker leaves his home planet, teams up with other rebels, and tries to save Princess Leia from the evil clutches of Darth Vader."
}

KeyValue
MovieStar Wars
Genera/ThemeScience Fiction
Plot & DescriptionLuke Skywalker leaves his home planet, teams up with other rebels, and tries to save Princess Leia from the evil clutches of Darth Vader.

Data
[ 
    [ "Actor", "Character", "Gender", "Age" ], 
    [ "Mark Hamill", "Luke Skywalker", "Male", "21" ], 
    [ "James Earl Jones", "Darth Vader", "Male", "45", "quiet" ], 
    [ "Harrison Ford", "Han Solo", "Male", "25" ], 
    [ "Carrie Fisher", "Princess Leia Organa", "Female", "21" ], 
    [ "Peter Cushing", "Grand Moff Tarkin", "Female", "69" ], 
    [ "Alec Guinness", "Ben Obi-Wan Kenobi", "Female", "70", "selected" ], 
    [ "Anthony Daniels", "C-3PO", "Droid", "101" ], 
    [ "Kenny Baker", "R2-D2", "Droid", "150" ]
]
ActorCharacterGenderAge
Mark HamillLuke SkywalkerMale21
James Earl JonesDarth VaderMale45
Harrison FordHan SoloMale25
Carrie FisherPrincess Leia OrganaFemale21
Peter CushingGrand Moff TarkinFemale69
Alec GuinnessBen Obi-Wan KenobiFemale70
Anthony DanielsC-3PODroid101
Kenny BakerR2-D2Droid150

HP Moonshot

Web Servers that take
  • 89% less energy
  • 80% less space
  • 77% less cost
  • 97% less complex

    HP Moonshot - The Disruption