{"id":680,"date":"2008-06-17T12:29:41","date_gmt":"2008-06-17T11:29:41","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/?p=680"},"modified":"2008-06-17T12:29:41","modified_gmt":"2008-06-17T11:29:41","slug":"the-ria-dilemma-open-vs-predictable","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/680-the-ria-dilemma-open-vs-predictable.html","title":{"rendered":"The RIA dilemma: open vs predictable"},"content":{"rendered":"<p>There\u2019s recently been a <a href=\"http:\/\/www.roughlydrafted.com\/2008\/06\/14\/cocoa-for-windows-flash-killer-sproutcore\/\" target=\"_blank\">bit of hype (RoughlyDrafted.com)<\/a> for Charles Jolley\u2019s <a href=\"http:\/\/www.sproutcore.com\" target=\"_blank\">Sproutcore<\/a>, yet another JavaScript framework, mainly because Apple is using it as its \u201cCocoa for the Web\u201d, <a href=\"http:\/\/www.appleinsider.com\/articles\/08\/06\/16\/apples_open_secret_sproutcore_is_cocoa_for_the_web.html\" target=\"_blank\">according to AppleInsider<\/a>.<\/p>\n<p>I tried the <a href=\"http:\/\/www.sproutcore.com\/static\/sample_controls\/\" target=\"_blank\">sample controls demo<\/a> in IE7 but it didn\u2019t work quite right. For example, the Picker pane opened but would not close. Tried again in Firefox 3.0 and everything was fine.<\/p>\n<p>I\u2019ve got no idea what the problem is with IE7; it is probably because of weak standards support in IE. However, it illustrates the advantages of a plug-in like Flash, Silverlight or Java. With these platforms, the application is largely insulated from differences between browsers.<\/p>\n<p>The snag with the proprietary plug-in approach is that the vendor may not support every platform equally. Microsoft is entrusting the bulk of Silverlight Linux support to a third party. There are also issues of control. Apple most likely does not want any runtimes on iPhone because they open up a route to application deployment that bypasses its App Store and 30% revenue share. Google seems wary of Flash; RoughlyDrafted says that is because of the risk of content being turned into \u201copaque binaries\u201d that are beyond the reach of its contextual advertising analysis, but it may just be&#160; reluctance to cede such an important part of its platform to a third party.<\/p>\n<p>Still, as a developer in search of a predictable app platform I\u2019d rather target a plug-in than trust the browser vendors to be sufficiently consistent, and the Javascript libraries sufficiently smart, to enable my code to run reliably everywhere. It is easier to get away with a requirement for, say, Flash 9, than to insist that users choose a particular browser or operating system.<\/p>\n<p>There are other factors of course. On the Javascript + HTML side, there are advantages in that it extends rather than replaces the HTML model. Things like clipboard support just work. Plus, it runs on iPhone.<\/p>\n<p>On the plug-in side, you get the fast execution of a JIT compiler, and easy use of graphical and multimedia effects that take effort to do in JavaScript, or can\u2019t be done at all.<\/p>\n<p>I would be interested in comments from developers about what RIA platform you are choosing, and why.<\/p>\n<div class=\"wlWriterSmartContent\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:0d601454-ac0d-49c4-a661-a9e663300241\" style=\"padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px\">Technorati tags: <a href=\"http:\/\/technorati.com\/tags\/flash\" rel=\"tag\">flash<\/a>, <a href=\"http:\/\/technorati.com\/tags\/silverlight\" rel=\"tag\">silverlight<\/a>, <a href=\"http:\/\/technorati.com\/tags\/java\" rel=\"tag\">java<\/a>, <a href=\"http:\/\/technorati.com\/tags\/sproutcore\" rel=\"tag\">sproutcore<\/a>, <a href=\"http:\/\/technorati.com\/tags\/apple\" rel=\"tag\">apple<\/a>, <a href=\"http:\/\/technorati.com\/tags\/microsoft\" rel=\"tag\">microsoft<\/a>, <a href=\"http:\/\/technorati.com\/tags\/google\" rel=\"tag\">google<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>There\u2019s recently been a bit of hype (RoughlyDrafted.com) for Charles Jolley\u2019s Sproutcore, yet another JavaScript framework, mainly because Apple is using it as its \u201cCocoa for the Web\u201d, according to AppleInsider. I tried the sample controls demo in IE7 but it didn\u2019t work quite right. For example, the Picker pane opened but would not close. &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/680-the-ria-dilemma-open-vs-predictable.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">The RIA dilemma: open vs predictable<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,8,49,62,77,80,96],"tags":[],"class_list":["post-680","post","type-post","status-publish","format-standard","hentry","category-adobe","category-apple","category-java","category-open-source","category-silverlight","category-software-development","category-web-authoring"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=680"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/680\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}