Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 35

Thread: Ext.Direct PHP backend

  1. #11
    Sencha User
    Join Date
    Jun 2009
    Posts
    751

    Default

    Thank you ckr.

  2. #12
    Sencha User
    Join Date
    Jun 2009
    Posts
    751

    Default

    I now see the need to sleep at the server side. I updated my post #9 -- added the following to the chkLoad function.
    PHP Code:
    while (!file_exists($statFile)) {
       
    usleep(330000);


  3. #13
    Sencha Premium Member steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,676

    Default

    Hi ckr,

    thanks for your example, it helped me a lot even as i had to modify for my needs.

    Why did you ripped the cache for the API? Saves a lot of time.
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  4. #14
    Sencha User
    Join Date
    Sep 2007
    Location
    Tulsa, Oklahoma
    Posts
    178

    Default

    Thanks Steffenk.

    Ripped the cache for the API? I do not understand the question. Sorry.
    Thanks!
    Chuck

  5. #15
    Sencha Premium Member steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,676

    Default

    i mean this found in Tommy's php-source:
    class ExtDirect_CacheProvider

    and

    $api->setCacheProvider($cache);

    Reason: the api generation can be time expensive because of reflection class. The CacheProvider caches the output of api.php
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  6. #16
    Sencha User
    Join Date
    Sep 2007
    Location
    Tulsa, Oklahoma
    Posts
    178

    Default

    Oh, Tommy's and mine are completely different and independent. I had this one up (to get something out there), while Tommy was still working on his.

    I have said (in my 2nd post) if you want a more robust PHP solution you should look at Tommy's. I considered mine more of a "Lite" implementation that you should be able to pickup and run with quickly.
    Thanks!
    Chuck

  7. #17
    Sencha Premium Member steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,676

    Default

    ok, nevermind, i'm able to combine it. Most important is to understand the way how it works.
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  8. #18
    Sencha User
    Join Date
    Sep 2007
    Location
    Tulsa, Oklahoma
    Posts
    178

    Default

    If I get a chance, I will look at it, and see if I can add it in. Work keeps getting in the way, so no promises.
    Thanks!
    Chuck

  9. #19

    Default

    This works very well! Thank you sir!

  10. #20

    Default Download zip out of sync with online demo?

    Hi! Great lib!

    It seems like the php-lib download is out of sync with your direct-demo though.

    1. JavaScript error: out.el not defined (Might be caused by the current 3.1?)
    2. There seems to be missing actions for fileList, updateChart etc...

    Corrections or new exciting versions in the pipe? :-)

    Regards / Jonas

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •