Saturday 12 February 2011

Kitten - The Actionsript Based Drupal Communication Library

Hi Readers,

I opened a new repository on Github for my Drupal communication library written in Actionscript 3. The main purpose with it is figuring out how could I make the network layer completely separate and full fledged.
Goals in a nutshell:
  • can connect to Drupal sites (to Services gateway)
  • can use AMFPHP
  • can work without authentication
  • can work with Session authentication
  • can work with API key authentication
  • can have more than one connection
  • can set error handlers
  • can do logging (somehow)
  • can set default handlers for RPC methods
  • most importantly can be used in any kind of Flash project without hassel (not Hoff)
Do you miss any feature?


The idea came from the DPDK guys and this post. I've met them at the Drupal Developer Days Brussel conference. Their library is obviously professional. I'm not planning to beat them.

Bye,
Peter

Update:
Download the latest version of the compiled library: KittenFlexLib (SWC file)

5 comments:

  1. Hi

    What is the new link for the compiled KittenFlexLib I get a "page not found" on dropbox

    Thanks

    ReplyDelete
  2. Hi There
    Thanks for noticing it. Fixed the link in the article. Also: https://dl.dropbox.com/u/2629592/Kitten.swc
    Cheers

    ReplyDelete
  3. Thank you for fixing the link.

    I'm trying to re-compile graphmind to add a custom plugin with this command

    mxmlc -library-path+=Kitten.swc GraphMind.mxml

    but i get this error

    /home/jo/flex/GraphMind/src/com/graphmind/data/DrupalViews.as(42): col: 20 Error: Accès à la propriété target peut-être non définie, via la référence de type static com.kitten.network:Connection.

    return _conn.target;

    I think in english is Access of possibly undefined property target through a reference with static type Class

    This error is also in
    com/graphmind/ConnectionController.as
    com/graphmind/data/NodeDataObject.as
    com/graphmind/NodeViewController.as

    I'am using FLEX 3.6 sdk

    Maybe I missed something
    Thanks
    Jo

    ReplyDelete
    Replies
    1. Hi Jo
      Hm, I'm not really sure about that. Unfortunately I do not work on Flex anymore so I cannot try it out. As far as I remember it was SDK 3.4. And last time in Flash Builder it was compiled without an error. Try in SDK 3.4 and see if the problem has there too.
      Peter

      Delete
    2. I tried with SDK 3.4 difficult to find now ! but same error. I'm on linux also.

      I will post an issue in graphmind project

      Thank
      Jo

      Delete

Note: only a member of this blog may post a comment.