Skip to: Site menu | Main content

A Grails-like Rich Application Platform

Erlang Plugin Print

Description

Allows a Griffon application to communicate with Erlang processes via rpc or even create an Erlang server. Uses Erlang's Jinterface under the covers.

Installation

The current version of griffon-erlang-plugin is 0.3

To install just issue the following command

Usage

This plugin enhances OtpErlang* classes with additional methods via meta classes. Those methods are

  • OtpErlangTuple.getAt(int) - enables array subscript notation. Alias for elementAt(int).
  • OtpErlangTuple.iterator() - enables iterator methods. Immutable iterator based on elements().

Java primitive and wrappers have a toErlang() method that creates their OtpErlang* counterparts. Both String and List have this method too. String has one more, toErlangAtom(), while List has toErlangObjectTuple().

History

Version

Date

Notes

0.3

04-01-11

Release sync with Griffon 0.9.2

0.2

07-22-10

Release sync with Griffon 0.9

0.1

03-01-10

Initial release