Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Symfony2 MVC and ExtJS4 MVC

Could someone please explain to me the correct file structure of a Symfony2 MVC and ExtJS4 MVC project? (When used together!)

like image 752
flyboarder Avatar asked Jun 05 '11 23:06

flyboarder


1 Answers

Your ExtJS files should be placed in the Resource/public folder of your Bundle

YourBundle/
  Resources/
    public/
      images/
      css/
      js/
        extjs/
        app/

You can use the assets:install command-line command to install it in the web-folder afterwards. You can use Assetic thats included to the Symfony Standard Edition to take care of your JS-Files too.

like image 194
Timo Haberkern Avatar answered Oct 08 '22 07:10

Timo Haberkern