View Full Version : ExtJS 4.1 App Structure for Dynamic Web Project in Eclipse
4 Sep 2012, 11:56 PM
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/
(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.
5 Sep 2012, 12:30 AM
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
I posted on the other thread but a moderator needs to accept it..
6 Sep 2012, 11:45 AM
Here is an example.
Hope it helps you.
4 Jun 2013, 4:19 AM
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
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?
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.