Today, I'm happy to introduce version 1.0 of the new feathersui-rpc-services open source project, which is a port of the RPC service classes from Apache Flex (formerly Adobe Flex) to Feathers UI, Haxe and OpenFL. The available service classes include
This is the newest of multiple projects that I'll be releasing as part of the Feathers UI v1.0 release week celebration.
RemoteObject sends and loads typed objects using AMF (Action Message Format). This service enables developers to transfer data using the same types on both server and client. This feature is powered by the amfio library that I released earlier this week.
HTTPService can load various data formats from a server, similar to OpenFL's
URLLoader class. Supported formats include JSON, XML, and URL query strings. These formats are automatically converted from strings into appropriate types, saving a manual parsing step. JSON is converted to an anonymous structure with
haxe.Json.parse(). An URL query string is also converted into an anonymous structure, and each variable becomes a field. Finally, XML data can be automatically parsed into one of multiple types. Of course, that includes
haxe.Xml. However, if the XML is formatted in a particular way, it can be converted into an anonymous structure or an array as well.
Install RPC Services v1.0.0
RPC Services v1.0.0 may be installed using the haxelib install command in your terminal.
haxelib install feathersui-rpc-services 1.0.0
The v1.0.0 API Reference includes descriptions of all APIs available in Feathers UI RPC Services.