Menu

#4 addScriptCall() sends data structures from php to js

closed-accepted
None
5
2006-07-07
2006-03-19
No

Before using xajax I made an application with my own
routines, in which a lot data is cached in browser and
may be rearranged in screen without hitting the server.

With xajax it's much easier to make new features, but
to adapt my code I need to pass data structures (arrays
of hashes) from php to js.

So I created addScriptCall() method, that receives the
js function name as first parameter and will pass other
parameters to js function. It serializes data in same
xml structure that's used to call php functions from js
(the other way).

Discussion

  • Luis Fagundes

    Luis Fagundes - 2006-03-19
     
  • Jared White

    Jared White - 2006-04-01
    • assigned_to: nobody --> gaeldesign
    • status: open --> open-accepted
     
  • Jared White

    Jared White - 2006-04-01

    Logged In: YES
    user_id=762989

    This sounds like a great feature. We'll try to implement it for the next xajax
    release.

     
  • Eion Robb

    Eion Robb - 2006-07-07
    • status: open-accepted --> closed-accepted
     

Log in to post a comment.

MongoDB Logo MongoDB