{"id":7198,"date":"2013-02-21T12:44:18","date_gmt":"2013-02-21T11:44:18","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/?p=7198"},"modified":"2013-02-21T12:44:18","modified_gmt":"2013-02-21T11:44:18","slug":"cross-platform-frameworks-ordered-by-percentage-of-shared-code","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/7198-cross-platform-frameworks-ordered-by-percentage-of-shared-code.html","title":{"rendered":"Cross-platform frameworks ordered by percentage of shared code"},"content":{"rendered":"<p>Following my <a href=\"http:\/\/www.itwriting.com\/blog\/7193-xamarin-vs-titanium-vs-firemonkey-should-cross-platform-tools-abstract-the-gui.html\" target=\"_blank\">piece<\/a> on different approaches to building the user interface in cross-platform frameworks, twitter user Sam Hogarth <a href=\"https:\/\/twitter.com\/samhogy\/status\/304549193018654720\" target=\"_blank\">pointed me<\/a> to the <a href=\"http:\/\/propertycross.com\/\" target=\"_blank\">PropertyCross<\/a> project. This implements a non-trivial application in 8 different cross-platform tools, covering Android, iOS and Windows Phone. Note that only four of the frameworks support Windows Phone.<\/p>\n<p>Using the pie charts presented for each framework, I was able to order them by percentage of shared code as follows:<\/p>\n<p>1= Adobe AIR (100%), JQTouch (100%) , RhoMobile (100%), Sencha Touch (100%)<\/p>\n<p>5. Appcelerator Titanium (around 90%)<\/p>\n<p>6. JQuery Mobile (around 80%)<\/p>\n<p>7. Xamarin (around 40%)<\/p>\n<p>8. Native (0%)<\/p>\n<p>A couple of notes. Of the 100% frameworks, three do not support Windows Phone, and the one which does (Rhomobile) seems to be a bit broken on Windows Phone, judging by the screenshots. The Property Details and Favourites pages do not render properly.<\/p>\n<p>You would get more code sharing with Xamarin if you only supported two rather than three platforms. That is logical: since it does not abstract the GUI.<\/p>\n<p>In most cases (not Rhomobile) it is striking how different Windows Phone appears versus iOS and Android, even with jQuery Mobile which uses HTML5.<\/p>\n<p><a href=\"http:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2013\/02\/image13.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2013\/02\/image_thumb13.png\" width=\"404\" height=\"307\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following my piece on different approaches to building the user interface in cross-platform frameworks, twitter user Sam Hogarth pointed me to the PropertyCross project. This implements a non-trivial application in 8 different cross-platform tools, covering Android, iOS and Windows Phone. Note that only four of the frameworks support Windows Phone. Using the pie charts presented &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/7198-cross-platform-frameworks-ordered-by-percentage-of-shared-code.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Cross-platform frameworks ordered by percentage of shared code<\/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":[2,26,67,80],"tags":[143,158,499,586,1011],"class_list":["post-7198","post","type-post","status-publish","format-standard","hentry","category-net","category-development","category-professional","category-software-development","tag-android","tag-apple","tag-ios","tag-microsoft","tag-windows-phone"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/7198","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=7198"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/7198\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=7198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=7198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=7198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}