1. #11
    Sencha User
    Join Date
    Jun 2009
    Posts
    750
    Vote Rating
    0
    meroy is on a distinguished road

      0  

    Default


    Thank you ckr.

  2. #12
    Sencha User
    Join Date
    Jun 2009
    Posts
    750
    Vote Rating
    0
    meroy is on a distinguished road

      0  

    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 User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,657
    Vote Rating
    5
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    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
    Vote Rating
    1
    ckr is on a distinguished road

      0  

    Default


    Thanks Steffenk.

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

  5. #15
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,657
    Vote Rating
    5
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    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
    Vote Rating
    1
    ckr is on a distinguished road

      0  

    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 User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,657
    Vote Rating
    5
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    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
    Vote Rating
    1
    ckr is on a distinguished road

      0  

    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
    Ext User
    Join Date
    Oct 2009
    Posts
    9
    Vote Rating
    0
    Jubei is on a distinguished road

      0  

    Default


    This works very well! Thank you sir!

  10. #20
    Ext User
    Join Date
    Sep 2007
    Posts
    13
    Vote Rating
    0
    Cambiata is on a distinguished road

      0  

    Default Download zip out of sync with online demo?

    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