4 Sep 2012 11:56 PM #1
- Join Date
- Apr 2012
- Mumbai, India
- Vote Rating
Unanswered: ExtJS 4.1 App Structure for Dynamic Web Project in Eclipse
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.
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
5 Sep 2012 12:30 AM #2
- Join Date
- Mar 2007
- Melbourne, Australia (aka GMT+10)
- Vote Rating
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.
6 Sep 2012 1:53 AM #3
I posted on the other thread but a moderator needs to accept it..
6 Sep 2012 11:45 AM #4
4 Jun 2013 4:19 AM #5
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.
13 Feb 2014 11:00 PM #6
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?