6 Mar 2012 9:46 PM #1
Learning Problem. Mvc examples are not on a Standard structure
Hi all am new to Ext JS . I started learning extjs4 with the help of docs provided with extjs sdk, My problem is while learning MVC i found some structural conflict in the prescribed mvc architecture and the working samples architecture, And for a new comer the explanations are not easy to understand. we cant identify the keywords and the variables used , and the flow of the program. I liked ext very much , and am very much interested in learning this. Some body please help me . and the resources are very less in internet, i am trying to make a simple mvc example my self but i failed, i have many doubts but haven't found any answer for that, am very thankful to ext community if you are providing a detailed document for extjs 4 mvc , i found many extjs 4 examples but they are not in mvc, and they have not explained how can we convert this to mvc.
Hopefully waiting for your reply
6 Mar 2012 10:56 PM #2
Most of the examples deals with the view part... e.g. how to make a grid, how to configure button-bars etc. This is useful, if you want to learn how to use these components - and it's not really helpful, if you want to learn how to develop with extjs in general - i agree.
But do you see those guides:
http://docs.sencha.com/ext-js/4-0/#!/guide/mvc_pt1 (part 1 to 3)
They deal with the mvc structure of your applications - and with that information you should apply the component focused information gained with the examples to mvc...
6 Mar 2012 11:21 PM #3
@born Thank you ,
I read both and i got confused, now am digging into both of the sample, dear am using dream weaver as the editor, and wamp server and windows xp . my problem is in the editor i cant identify the keywords, and by repeated reading of some docs i got some keywords , some ( getter and setter dynamic keywords ) . And
the problem may be with my low level knowledge, Once again Thank You @born .
I invites valuable supports from you
7 Mar 2012 1:42 AM #4
no problem... - the dynamically created functions are indeed a problem for many ides/editors. I'm currently using IntelliJ IDEA, which has many advantages (for web-only guys i suggest WebStorm) - but it cannot guess all those dynamically created functions either, of course...
7 Mar 2012 3:56 AM #5
Hi dear now am facing a new problem , with the term that EXT JS 4 announced , It is nothing other than "Dynamic loading",
now am playing with two files ext.js and ext-all.js
from some sources i found that for dynamic loading we need to use ext.js, and the comedy thing is, i read from a text book is that " The dynamic class loading system is another new feature for Ext JS 4. It also provides an integrated dependency management system.
This new feature is optional and you should avoid using it in production, though it is very useful for the development environment." Name of text : Ext JS 4 First Look, page number 24,25
and i tested an mvc that was created by me , in the index.html file i replacedCode:
in the Fire Bug i found more than 150 request and GET actions , and the load time also increased,
i googled a lot to reduce or to stop the execution of unwanted(the .js files am not using in my app) .js files but am failed , Dear friend can you give me a good reply , or to whom i want to contact to get more details about this .
Dear @born Thank you very much for replying me very fast, and considering my question and spending time to answer me,