1. #1
    Sencha User fabio.policeno's Avatar
    Join Date
    Sep 2010
    Location
    Curitiba - PR / Brasil
    Posts
    308
    Vote Rating
    5
    fabio.policeno is on a distinguished road

      0  

    Default Integrating ExtJS with Yii without the use of extensions

    Integrating ExtJS with Yii without the use of extensions


    Hello everybody, I work with ExtJS and would like to integrate it with Yii (but do not want to use the extension http://www.ext4yii.com/ because I want to use the ExtJS native). I'm trying to put the index.php (which is to include the js files) folder inside the protected/modules/<My module>/views, but he does not give me permission to run/access files directly into this folder. Would anyone have any suggestions for folder structure to use ExtJS with Yii or how I would do to get around this?

    Thank you!

  2. #2
    Sencha User fabio.policeno's Avatar
    Join Date
    Sep 2010
    Location
    Curitiba - PR / Brasil
    Posts
    308
    Vote Rating
    5
    fabio.policeno is on a distinguished road

      0  

    Default


    We create another one. Htaccess allow from all setting inside / views, so the htacces / protected blocks of everything that's inside / protected, but he sees it. Htaccess of / views, then release only / views. I do not know if it's the best way, but ...

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    4
    Vote Rating
    0
    sundae is on a distinguished road

      0  

    Default


    put the js folder outside the protected folder..

  4. #4
    Sencha User
    Join Date
    Mar 2013
    Posts
    2
    Vote Rating
    0
    MikeySmith is on a distinguished road

      0  

    Default


    Hi fabio,

    I am currently also looking at ExtJS for use with YII.

    Can you tell us a bit about your experience with this combination? Did it work out for you?

    I would be happy to hear from you!

    Kind regards
    Mikey

  5. #5
    Sencha User fabio.policeno's Avatar
    Join Date
    Sep 2010
    Location
    Curitiba - PR / Brasil
    Posts
    308
    Vote Rating
    5
    fabio.policeno is on a distinguished road

      0  

    Default


    Quote Originally Posted by MikeySmith View Post
    Hi fabio,

    I am currently also looking at ExtJS for use with YII.

    Can you tell us a bit about your experience with this combination? Did it work out for you?

    I would be happy to hear from you!

    Kind regards
    Mikey
    Yes, it works perfectly and still use and domino.

  6. #6
    Sencha User
    Join Date
    Mar 2013
    Posts
    2
    Vote Rating
    0
    MikeySmith is on a distinguished road

      0  

    Default


    @fabio: Oh thats really good to hear! :-)

    I am currently at the very beginning of a project and I could use some guidance.

    Can you explain a bit how you made both frameworks talk to each other? Do you use YII's CRUD generator? And what is "domino"? Do you have some source code you could show?

    Sorry for those newbie questions... I am totally new to EXT JS and Ajax....

    Thanks a lot for your support!
    Mikey

Thread Participants: 2