1

We started a new project in which the core should be used for both; Sencha Touch 2.2.1 Touch and ExtJS 4.2.1 but we found two slightly different implementations in both frameworks so we wondered which one we should use.

First Sencha Touch

enter image description here

And ExtJS

enter image description here Where Ext.logger seems to only implement the error method

We thought Sencha shared the core within both frameworks, didn't they? Or do we need to write even the app cores different? (which would be ridiculous! Or are there more critical differences?)

I think NO and we just overseen something here. So please help me to beat my teammates that the Sencha guys are not that stupid.

Again the Question:

Which is the correct logging method that can be used in Sencha Touch 2.x and ExtJS 4.x and if this answer would be no are there more critical differences between Sencha Touch 2.2 MVC and ExtJS4.2 MVC which make reuse impossible?

4

1 回答 1

2

您可以重复使用一些零碎的东西,但您仍然需要更改核心。

您可以在某种程度上重用模型、存储和控制器。其他一切都必须重写。

请参阅有没有办法将 Sencha Touch 转换为 Sencha EXTJ(或 EXTJ 到 Touch)?

于 2013-07-22T14:03:47.853 回答