Reusing ExtJs code for the Sencha project. Actual experience?

We are currently developing a large project using ExtJs 4.0 as the frontend interface. Backend is Entity Framework + SQL Server, but it is not important for the question of this question (hopefully).

I want to add a mobile version of our application using Sencha Touch. I read a couple of articles that say a few 40-50% of the code can be reused. Does anyone have any real experience ?

If I use ExtJs MVC architecture, will I only use models / stores classes? Or is there a way to reuse, for example, some business logic inside controllers ?

What will be the project structure and folder structure? Do I need to store two different trees or can everything be combined under one roof and only when creating different projects would I get different app-all.js ?

+4
source share
1 answer

There are a few notes here:

The combination of Sencha Touch and ExtJS in your project http://lanyrd.com/2012/sourcedevcon/srryz/

the video is surely coming soon, senchaworld.com is the place for the video.

+1
source

Source: https://habr.com/ru/post/1411516/


All Articles