12. 3.3.1 – Applications may only use Documented
APIs in the manner prescribed by Apple and
must not use or call any private APIs.
Applications must be originally written in
Objective-C, C, C++, or JavaScript as executed
by the iPhone OS WebKit engine, and only code
written in C, C++, and Objective-C may compile
and directly link against the Documented APIs
(e.g., Applications that link to Documented APIs
through an intermediary translation or
compatibility layer or tool are prohibited).
20. WebDatabases
Full-screen support
Location information
(GPS)
Offline support
Canvas
Multi-touch Threading
21.
22. “ We believe the web has won and over the next
several years, the browser [..] will become the
platform that matters and certainly that’s where
Google is investing.
”
Vic Gundotra, Google VP of Engineering
50. service StackOverflow {
root = "http://api.stackoverflow.com/0.8"
resource questions(answers : Bool, body : Bool) : QuestionsResultSet {
uri = "/questions"
method = "GET"
encoding = "json"
}
...
}
51. function fetchQuestions() {
var res = StackOverflow.questions(answers=true, body=true);
for(question : QuestionResult in res.questions) {
mapQuestion(question);
}
}
52. entity Question {
questionId : Num
title : String
body : Text
answers : Collection<Answer> (inverse: question)
creationDate : DateTime
owner : User
}
entity Answer {
question : Question
answerId : Num
owner : User
body : Text
}
entity User {
userId : Num
name : String
reputation : Num
}