{"id":140,"date":"2007-04-03T14:06:56","date_gmt":"2007-04-03T13:06:56","guid":{"rendered":"http:\/\/www.nivas.hr\/blog\/2007\/04\/03\/swx-amfphp-swxamfphp\/"},"modified":"2007-04-03T15:34:39","modified_gmt":"2007-04-03T14:34:39","slug":"swx-amfphp-swxamfphp","status":"publish","type":"post","link":"https:\/\/www.nivas.hr\/blog\/2007\/04\/03\/swx-amfphp-swxamfphp\/","title":{"rendered":"SWX + amfphp = Swxamfphp = null;"},"content":{"rendered":"<p>Aral Balkan has came up with a new data exchange format for Flash codenamed &#8211; SWX. The first beta was released few days ago, and it caused instant <a href=\"http:\/\/www.5etdemi.com\/blog\/archives\/2007\/03\/swx-still-a-bad-idea\/\">contraversy<\/a> among people in remoting community. Since there are tons of various ways to do asynchronous data communication in Flash (LoadVars, XML, Remoting, JSON, SOAP, XML-RPC, and PHPObject) who actually needs new one? The idea behind it is actually pretty neat, and after some flaming, Patrick and Aral decided to <a href=\"http:\/\/aralbalkan.com\/900\"><s>work together<\/s><\/a> (update: As Aral commented my post, it was April 1st joke. Dough!).<\/p>\n<p>SWX uses PHON (PHP Object Notation) which uses native PHP data structure (less serialization and deserialization). Flash sends data to the server with loadMovie() trough POST and receives back SWF file which contains data in native SWF bytecode. After that you can access it just like it was regular data inside loaded movieClip, and you can display a determinate progress indicator on a service call. <\/p>\n<p>I am really interested how things will go on with this project since this sounds like a great way to replace slow XML loading\/parsing in Flash Lite apps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Aral Balkan has came up with a new data exchange format for Flash codenamed &#8211; SWX. The first beta was released few days ago, and it caused instant contraversy among people in remoting community. Since there are tons of various ways to do asynchronous data communication in Flash (LoadVars, XML, Remoting, JSON, SOAP, XML-RPC, and&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,2],"tags":[],"_links":{"self":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/140"}],"collection":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/comments?post=140"}],"version-history":[{"count":0,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/140\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/media?parent=140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/categories?post=140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/tags?post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}