Oh for sure. I think there should be HUGE similarities between the two. I just don't think there should be backward compatibility all over the place if there wasn't a previous version to be backward compatible with. Just want to see that the framework isn't being bloated for no apparent reason.
Eric Berens
Intranet Systems Manager @ Best Buy
You should follow me on twitter here.
Well, I imagine it is because a site's data structure is often built on top of Ext classes. To provide a desktop and a mobile UI, one can switch out the UI layer to the appropriate one, but much of how your data works will be the same and so ought to be the underlying layers where appropriate.
I think it is good design that your back end data structure should remain consistent whether you are display it on a desktop browser or mobile browser. You *should* just have to switch out the UI. Now where I am not following is how the back end data structure relates to the front end UI and the client side lib having to deal with backwards compatibility. When you swap the desktop UI for the mobile one you would also have to switch the associated client side code to make the UI functional. You wouldn't be able to use Ext Core/3.x lib on a mobile device with much success much like you wouldn't be able to use the Touch lib on a desktop browser. Sure they might work but probably not as expected or efficient.
My main point was because most of the mobile UI lib will not share much, if any, components from the desktop version why are we maintaining backwards compatibility already at this point. There won't be any cross over. Since Touch v1.0 RTM hasn't been released what's the point? It's in beta still. Things change daily I'm sure. I would say starting after 1.0 is released backwards compatibility should be managed. Until then seems pointless.
Eric Berens
Intranet Systems Manager @ Best Buy
You should follow me on twitter here.
Some of the code base is being developed in parallel with Ext 4.0 and your seeing parts moving back and forth between the code bases. We'll get them straightened out as things become more solidified.
Almost all of the examples you found are within the data package which is the only piece of code that is shared one on one with Ext 4.0. This means that if you write an app for desktop and mobile, you can use all the same stores, models and validations for both versions of the app.
You just have to switch out the UI components.
We will investigate if any of them can be removed though, like label -> fieldLabel and CompositeElementLite. The others are all data related.