1. #1
    Ext User
    Join Date
    Jun 2008
    Posts
    8
    Vote Rating
    0
    erhan is on a distinguished road

      0  

    Default Ext.Direct for CakePHP

    Ext.Direct for CakePHP


    Actually I didn't do so much.

    Just get the Tommy Maintz and goachka implementations ,and apply to CakePHP.

    You can clone a working example from http://github.com/eabay/directcakephp

    It also contains a CakePHP combine helper to minimize javascript and css files.

    Next version will be able to get methods of spesific controllers (with a property or from doc comments like elishnevsky implementation) and return rendered output as result.

  2. #2
    Sencha Premium Member
    Join Date
    Jun 2008
    Posts
    324
    Vote Rating
    9
    Scorpie will become famous soon enough

      0  

    Default


    Nice will have a look at this!
    I`m from Holland!

  3. #3
    Sencha User Dumas's Avatar
    Join Date
    Dec 2008
    Location
    Vienna, Austria
    Posts
    583
    Vote Rating
    9
    Dumas will become famous soon enough

      0  

    Default


    Thx for the project erhan!

    How is the DirectController thought to be used?
    I want to only have ExtJS calls, so should all my Controllers extend the DirectController or should all requests go to the DirectController and this one routes them to the righ tcontroller? Or do I have to right everything as vendor class in directclasses? I'm missing a bit of explanation here....


    Why did you change on the test.php in line 60 ROOT to a specific path?
    define('CAKE_CORE_INCLUDE_PATH', 'X:\Server\htdocs\directcakephp');

    Where do you use the combine helper? Or is this just for usage in your own app? (cause I want to compress my js as well and therefore use YUI Compressor for all my js files)

    thx!
    Roland

  4. #4
    Sencha Premium Member
    Join Date
    Jun 2008
    Posts
    324
    Vote Rating
    9
    Scorpie will become famous soon enough

      0  

    Default


    Is this stack up to date with ExtJS 3.2 and Cake 1.3?
    I`m from Holland!

  5. #5
    Sencha User djcode's Avatar
    Join Date
    Jun 2008
    Posts
    12
    Vote Rating
    0
    djcode is on a distinguished road

      0  

    Default


    I am doing a new implementation based on Tommy's original php stack that will be for ExtJS 3.2 and Cake 1.2. Although Erhan's solution works, I could not find much use for it given it doesn't work using methods from cake controllers.

    I should have something posted in the next couple days!

  6. #6
    Sencha User Dumas's Avatar
    Join Date
    Dec 2008
    Location
    Vienna, Austria
    Posts
    583
    Vote Rating
    9
    Dumas will become famous soon enough

      0  

    Default


    Hey!

    For a complete project with CakePHP 2 and ExtJS 4 see:
    http://www.sencha.com/forum/showthre...ePHP-and-ExtJS

    cheers
    Roland

Thread Participants: 3