Feathers UI
  • Docs
  • API
  • Showcase
  • Blog
  • Community

›Recent Posts

Recent Posts

  • Feathers UI v1.1 release for Haxe and OpenFL
  • What a journey! The conclusion of Feathers UI v1.0 Release Week
  • String Formatters 1.0 for Feathers UI
  • Form Validators 1.0 for Feathers UI
  • PureMVC demos for Feathers UI and OpenFL

RPC Services 1.0 for Feathers UI

September 8, 2022

Josh Tynjala

Josh Tynjala

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 RemoteObject and HTTPService.

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

Documentation

The v1.0.0 API Reference includes descriptions of all APIs available in Feathers UI RPC Services.

Questions or comments?

If you need some help, or want to give feedback, feel free to create a thread in either the Feathers UI Community forum or the OpenFL Community forum.

Recent Posts
  • Install RPC Services v1.0.0
  • Documentation
  • Questions or comments?
Feathers UI
Feathers UI
  • Downloads
  • Showcase
  • Testimonials
  • Premium Support
Documentation
  • Getting Started
  • API Reference
  • Samples
    Github
  • Source Code
  • Issue Tracker
Community
  • Forum
  • Discord
  • Stack Overflow
News & Updates
  • Blog (RSS, Atom)
  • Twitter
  • Mastodon
Make a Donation
  • Join Github Sponsors
  • Donate with PayPal
  • Buy a T-Shirt
Copyright © 2023 Bowler Hat LLC — Illustrations by unDraw.