1. #1
    Sencha Premium Member
    Join Date
    Apr 2012
    Location
    Mumbai, India
    Posts
    191
    Answers
    10
    Vote Rating
    0
    bomslang has a little shameless behaviour in the past

      1  

    Exclamation Unanswered: ExtJS 4.1 App Structure for Dynamic Web Project in Eclipse

    Unanswered: ExtJS 4.1 App Structure for Dynamic Web Project in Eclipse


    Folks,

    I am trying to run my dynamic web project using ExtJS 4.1 as front end and Java at the backend using REST proxy.

    While running only ExtJS is not an issue, I am not able to identify the correct project / directory structure for all ExtJS files / css files / Java Files etc in my dynamic web project in Eclipse.

    Could Somebody please point me out to how to structure the app ?

    Note : I have already seen this page http://www.sencha.com/blog/helloworld-with-ext-js-4/
    but it tells us a normal project structure, not a dynamic web project along with Server Side code structure.


    Thanks
    --
    Bomslang,
    Software Engineer,
    HTML5 Developer | ExtJS, Sencha Touch, GXT Passionate | Json Supporter

    Twitter : @bomslang

    ----------------------------------------------------------------------------------

    # Learn about Sencha Products via it's Documentation : ExtJS | Sencha Touch | GXT

    # Check for correct Json here : JSONLint.com

    # Want to code Sencha Touch Online ? Try SenchaFiddle.com

    # Want to code and test ExtJS Online ? Try http://ext4all.com/ & http://jsfiddle.net/

    # Must Read : 20 things to avoid / do when starting with ExtJS or Sencha Touch

  2. #2
    Sencha Premium Member dawesi's Avatar
    Join Date
    Mar 2007
    Location
    Melbourne, Australia (aka GMT+10)
    Posts
    1,083
    Answers
    24
    Vote Rating
    44
    dawesi has a spectacular aura about dawesi has a spectacular aura about

      0  

    Default


    you can put your mvc(s) folder structure anywhere that is web accessable and setup references to where it is so that the autowiring still works, just makes it easier if you put the directories under a core ui folder.

    so it could be:

    /scripts/js/myapp/ which has the mvcs folders under it or /global/scripts/js/myappfolder or what ever.

    just put it where you would normally put your javasript file structures and put your css where you would normally put that.
    Teahouse Training Company
    Official Certified Sencha Trainer

    Australia / New Zealand / Singapore / Hong Kong & APAC



    SenchaWorld.com - Sencha webinars, videos, etc
    SenchaForge.org - (coming soon)
    TeahouseHQ.com - Sencha ecosystem training portal

    Code Validation : JSLint | JSONLint | JSONPLint

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    10
    Vote Rating
    0
    TBakker is on a distinguished road

      0  

    Default


    Hey,

    I posted on the other thread but a moderator needs to accept it..

  4. #4
    Sencha User loiane's Avatar
    Join Date
    Aug 2009
    Posts
    183
    Answers
    7
    Vote Rating
    52
    loiane is a jewel in the rough loiane is a jewel in the rough loiane is a jewel in the rough

      0  

    Default


    Here is an example.

    Hope it helps you.

    https://github.com/loiane/javace-conference-2012
    Sencha/Java evangelist
    Author of ExtJS 4 First Look and Mastering Ext JS books
    English blog: http://loianegroner.com
    Portuguese blog: http://loiane.com
    Sencha Examples: https://github.com/loiane

  5. #5
    Sencha User
    Join Date
    May 2013
    Posts
    5
    Vote Rating
    0
    ken4ward is on a distinguished road

      0  

    Default Simple documenation on Extjs-4.2.x directory structure in Eclipse

    Simple documenation on Extjs-4.2.x directory structure in Eclipse


    Please I am new to Extjs. I got involved a couple of days ago. It's very impressing. I want to go further to implement a robust, dynamic web application in Eclipse. I want to use Extjs as the view, Spring for business logic, and hibernate as the ORM. I have searched online but non seem to have addressed what the file structure should look like for Extjs-4.2.x. This is because most of the directories have really changed in many of the documentation online, in which when I followed it to a length I got stalked. Can somebody do me a favor by posting a documentation on this. Please pictorial documentation will greatly help. Thanks. God bless in Jesus name.

  6. #6
    Sencha User
    Join Date
    Jan 2014
    Posts
    21
    Answers
    1
    Vote Rating
    2
    AkshayKalbhor is on a distinguished road

      0  

    Default


    Hello Loiane, Your example from gitHub was of great help, but I am having one more doubt,If I have to do theming/styling of the application then how will i do it if i am using sencha cmd , app watch and all..Using Sencha CMD, It generates the folders like "packages" in which the custom-theme is present, "sass" and the scss files,How do i maintain the same folder structure along with the same project which I will be importing into eclipse,In short do I have to add the Theming specific folders like "packages", "sass", "resources" and "build" folders?