从 ExtJS3 切换到 ExtJS4:值得这么麻烦吗?
我们正在进行一个相对较大的项目,该项目使用 ExtJS3,并且已经投入了约 4 个人年,使用了多个插件,并且我们自己编写了一些插件。快速浏览一下 ExtJS4 后,我们似乎需要做很多工作才能将项目迁移到 ExtJS4。有什么充分的理由切换到 ExtJS4 吗?目前,在我看来,与未来浏览器的兼容性(或缺乏)是唯一的问题。
We are in the middle of a relatively large project which uses ExtJS3 and have already invested ~4 man-years, using several plugins and we have written some plugins ourselfs. After a quick glance at ExtJS4, it seems that we would have a lot of work to do to migrate the project to ExtJS4. Are there any strong reasons to switch to ExtJS4? Currently, it seems to me that compatibility with future browsers (or the lack thereof) is the only one.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我们处于类似的情况,我们的结论是再等一会儿,因为 Ext 3 正在完成它的工作。我们在“测试”迁移中遇到了很多问题,我想说这更多的是应用程序的重写而不是迁移:(。此外,我们的经验表明 Ext JS 4 存在一些性能问题,表单有点不同,存储不能拒绝更改,它更大,有一些非常好的新功能,例如新的类系统、mixin、新图表......
We're in similar situation and our conclusion was to wait a bit more as Ext 3 is doing it's job. We experienced many problems in our "test" migration and I would say that it's more a rewrite of the application than a migration :(. Also, our experience showed that Ext JS 4 has some performance problems, forms are a bit different, store cannot reject changes, it's bigger. There are some very good new features like the new class system, mixins, new charts, ...
我们毫无疑问地将我们的应用程序升级到了 ExtJS4。我们很高兴地说 ExtJS4 比 ExtJS3 更快。新的类系统、mixins、无插件图表、焦点管理...等等。但是如果你想升级,你需要更改很多代码,因为类系统和配置选项都发生了变化。我们已经使用 ExtJS3 和 ExtJS4 测试了我们的应用程序的性能,因此根据我们的观察,ExtJS4 速度很快并且不会中断。根据我们的观察,如果您想自定义组件,CSS 选择器也会发生变化,您可以在 ExtJS4 中轻松完成此操作。
We have upgraded our application to ExtJS4 without fail.We are happy to say that ExtJS4 is fast compare to ExtJS3.A new class system,mixins,plugin-free charts,focus management...etc.,. But if you want to upgrade you need to change a lot of code because class system and config options are changed.We have tested the performance of our application using ExtJS3 and ExtJS4,so as per our observation ExtJS4 is fast and it will not break.As per our observation,CSS selectors are also changed if you want to customize the component you can easily do the thing in ExtJS4.
上周我们尝试从 ExtJS3 迁移到 ExtJS4。不幸的是我必须说这就像将英语翻译成德语。很多工作。从我们的角度来看,或多或少只是图表系统是加号,减号 - 我们使用的许多组件不受支持,需要进行大量 CSS 自定义,ExtJS3 中的工作代码很容易崩溃,有时几乎不可能发现一个错误。
We tried to migrate from ExtJS3 to ExtJS4 previous week. Unfortunately I must say it is like translate english to german. A lot of work. From our point of view more or less just the charting system is plus, minus - a lot of components that we use are not supported, a lot of css customization shoud be done, working code in ExtJS3 breaks easily and there is sometimes almost impossible to find an error.
我不是专家,但就我个人而言,我会使用 extjs4 开始新项目,但不理会现有项目。 4 中的图表内容非常棒!
Not an expert but personally I'd start new project with extjs4 but leave exiting project alone. The charting stuff is amazing in 4!