Building OpenSocial Apps- P9: Nhà phát triển của Thư viện Series từ Addison-Wesley cung cấphành nghề lập trình với độc đáo, tài liệu tham khảo chất lượng caohướng dẫn về các ngôn ngữ lập trình công nghệ mới nhất và họsử dụng trong công việc hàng ngày của họ. Tất cả các sách trong thư viện của Nhà phát triển được viết bởichuyên gia công nghệ các học viên những người có kỹ năng đặc biệt tại các tổ chứcvà trình bày thông tin một cách đó là hữu ích cho các lập trình viên khác....
Nội dung trích xuất từ tài liệu:
Building OpenSocial Apps- P9 374 remote content display tags, OSML remote content display tags, OSML, 226 get_profile function, 190–191 removeGame method, 144–145 get_status function, 191 repeater, displaying friends list, 237–238 get_video function, 193 REpresentational State Transfer APIs. See get_videos function, 191 REST (REpresentational State Transfer) APIs send_notification function, 196–197 republishing live app, 275 set_mood function, 195 requestCreateActivity function. See set_status function, 195 opensocial.requestCreateActivity test pages, 197 requesting data, and performance, 286 REST (REpresentational State Transfer) APIs, requestPermission function, 43–45, 87–88 178–208 requestSendMessage function. See client code, 197–199 opensocial.requestSendMessage friends response from, 211–212 requestShareApp function. See opensocial.requestShareApp friends Web service and paging, 199–203 reserved variable names, 81–82 how Web service is addressed, response structure, adding feed reader to 178–179 app, 96–97 os:DataRequest tag resulting in ResponseItem object. See endpoints, 221 opensocial.ResponseItem overview of, 178 responseJSON property, error handling when paging, 202 porting app to OpenSocial 0.9, 343–348 responseValues, arrays, 74 Profile endpoint, 203–208 responsive performance. See performance, responsive server code, 181–183 REST API list, 183–197 setting up external Iframe app, 179–180 create_album function, 195–196 supported endpoints. See endpoints, supported by MySpace SDK get_activities_atom function, 194–195 supporting XML and JSON get_album function, 184–185 formats, 94 get_albums function, 183 retrieving, friend’s app data, 131–132 get_friends function, 185–187 RockYou! ads, 314–316 get_friends_activities_atom function, RPC. See IFPC (inter-frame procedure call) 195 RSS feeds get_friendship function, 187–188 adding content to feed reader app, get_indicators function, 196 97–98 get_mood function, 187–188 building feed reader UI, 98–101 get_moods function, 188 processing with FEED content type, get_photo function, 190 104–105 get_photos function, 188–190 runOnLoad function, 198–199Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. source code 375 S recognizing when new game has started, 145 Sandbox Editor selecting opponent, 138–140 declaring and using basic data, semaphore (flag value), readers-writers 218–219 problem, 52–53 entering and executing code, 215–216 send( ) function, 17 using os:ViewerRequest tag, 236 Send Message, 74–76 Sandbox tool, 214–217, 227–228 ...