-
4 Sep 2008 10:16 PM #1
It's better to use only one page or more than one page in ExtJs project?
It's better to use only one page or more than one page in ExtJs project?
as the title if I use the project with 'boder' layout.
Thanks in advance!
-
4 Sep 2008 10:22 PM #2
Do you mean different pages as in different files for your application?
Then your answer would be yes. I`m new to ExtJS, but have found that I like to keep my configs apart from my functions, so I use different files.
Interesting matter though, i`m curious how the experencied programmers manage their application - layouts.
Anybody have some pattern-thoughts on this matter?I`m from Holland!
-
4 Sep 2008 10:51 PM #3
Do you mean different pages as in different files for your application?
I'm not mean that.
different pages should in different files,but I mean an application should has one jsp page or more than one jsp page.
I saw an Extjs application user only one jsp page such as "index.jsp" with many js files.If I use like this,I don't know how to redirect the page.so I'm looking for a best method in the project.
-
4 Sep 2008 10:54 PM #4
Where possible, it's best to use a single page on your application.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
4 Sep 2008 10:59 PM #5
Yes, apart from anything else, having more than one page is going to make browser forward/back button behaviour rather confusing. With one page it's simple - the back button goes back to the last normal webpage the user visited.
-
4 Sep 2008 11:17 PM #6
I think you can create class and use it.But I do not know how will effect the properties of your .jsp (time,performance...)
-
4 Sep 2008 11:50 PM #7
That is to say,it's best to use a single page on Extjs application.
Thanks very much!
-
4 Sep 2008 11:55 PM #8
Yes, I am new ext and trying to learn all stuff for about one month.Yesterday,my subject is creating new class and binding it to link. I achieve this but something goes wrong my content is not showing properly when grid panel is loading.Therefore,I suggest you to take your code's backup if you already created your js file. Have nice job...


Reply With Quote