Welcome, Guest
  • Author Topic: AMF ZendAMF LCDS  (Read 1730 times)

    winxalex

    • Server what's that
    • *
    • Posts: 26
      • View Profile
    AMF ZendAMF LCDS
    « on: 02/11/11, 16:04 »
    There tousend examples out there of using AMF including
    What is not covered or I wasn't enable to find is client with server data synchronization.
    Example: How changes in db by some client affects display of other clients.
    Someone would tell me to use BlaseDS or LCDS but they are overkill for most projects and not going to use JAVA(Adobe obvious turn to SUN) but most wide spread PHP.
    I've tried to make AMFChannel with polling on ZendAMF but without success. I found in Zend Documentaion(very scarce one  >:( )
    CLIENT_PING_OPERATION = 5
    CLIENT_SYNC_OPERATION = 4
    CLUSTER_REQUEST_OPERATION = 7
    DISCONNECT_OPERATION = 12
    LOGIN_OPERATION = 8
    LOGOUT_OPERATION = 9
    MULTI_SUBSCRIBE_OPERATION = 11
    POLL_OPERATION = 2
    SESSION_INVALIDATE_OPERATION = 10
    SUBSCRIBE_OPERATION = 0
    UNKNOWN_OPERATION = 10000
    UNSUSBSCRIBE_OPERATION = 1
    ....
    When you use Flash Builder it generates Service based on RemoteObjectServiceWrapper which using RPCDataManager without autoSyncronization posibility.
    I will experiment with DataServiceWrapper but I doubt I can trick Adobe to force me using LCDS  ???
     I seem they planing to do something or they have done it just who knows how to setup.
    I want to hear your toughts Jorge too. (O man we haven't chat for 3 years)
    Regards

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: AMF ZendAMF LCDS
    « Reply #1 on: 02/16/11, 06:11 »
    Hi WinAlex, nice to see you here after long time !
    About your question, AFAIK there's no usable messaging system in zend_amf nor amfphp. Probably you can ping Wade Arnold about this issue and please let us know if you find something.

    Jorge

    renee8roberts

    • Server what's that
    • *
    • Posts: 1
    • "No person has the right to rain on your dreams."
      • View Profile
      • Email
    Re: AMF ZendAMF LCDS
    « Reply #2 on: 03/09/11, 02:01 »
    Would it be possible to edit (or write a script) - that allowed you to set/retrieve Shared Objects from PHP?I'm in doubt.

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: AMF ZendAMF LCDS
    « Reply #3 on: 03/09/11, 03:11 »
    What dpo you mean with "shared objects"?

    With AMFPHP you can transfer php objects into AS objects.

    Just elaborate through the samples of AMFPHP and our loading and saving tutorials.
    There you can see the basics, which can be extended on your needs.
    happy flashing
    8)
    Ronald