PDA

View Full Version : ExtJS 4.1 App Structure for Dynamic Web Project in Eclipse



bomslang
4 Sep 2012, 11:56 PM
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/
(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

dawesi
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.

TBakker
6 Sep 2012, 1:53 AM
Hey,

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

loiane
6 Sep 2012, 11:45 AM
Here is an example.

Hope it helps you.

https://github.com/loiane/javace-conference-2012