Porting from EXT js 3.4 to EXT js 5.0

早过忘川 提交于 2019-12-25 03:05:09

问题


I have a web application on Sencha currently using ExtJS 3.4 functionality using the Sencha Architect 3.2, want to port/Migrate some forms to ExtJS 5.0.

What will be the changes required? they will be minor or Major ? Do I need to change whole structure to MVC ?

Quick reply will be appreciated.


回答1:


Moving from Ext JS 3.x to >= 4.x (in your case, 5.x) is a complete application rewrite.

In 4.0, Ext JS completely changed how the class system works (using syntax like Ext.define()) -- a breaking change so drastic that porting a 3.x app is just not possible. API changes abound, particularly the farther along you look into 5.x and 6.x. The use of Sencha Cmd will also be completely foreign to you.

Do you need to use MVC? No... but it's certainly a recommended practice. If you're considering Ext JS 5.x, MVVM also becomes an option.

My advice is to take a training class from Sencha to get up-to-speed on the latest-and-greatest things offered in Ext JS. Then start from scratch on a new version of your app; don't just try to port it from one version to another.



来源:https://stackoverflow.com/questions/33491746/porting-from-ext-js-3-4-to-ext-js-5-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!