Forum /
Sencha Touch 1.x Forums /
Sencha Touch 1.x: Discussion /
Ext JS Premium Member
Backwards compatibility (DEPRECATED)
Backwards compatibility (DEPRECATED)
Since we are in beta 3 (I believe) and this is a new framework with notes saying that things might change...should we already be seeing this?
// Backwards compatibility (DEPRECATED)
Ext.Container.LAYOUTS = Ext.layout.TYPES;
Eric Berens
Intranet Systems Manager @ Best Buy
You should follow me on twitter
here .
Ext JS Premium Member
// Backwards compatibility with desktop
Ext.CompositeElementLite = Ext.CompositeElement;
It's a mobile platform...who cares about the desktop!
Eric Berens
Intranet Systems Manager @ Best Buy
You should follow me on twitter
here .
Sencha - Sencha Touch Dev Team
We're trying to keep some level of familiarity across the platforms, but this one in particular will probably go away.
Ext JS Premium Member
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 .
Ext JS Premium Member
These are the other ones...
//backwards compatibility
Ext.data.DataProxy = Ext.data.Proxy;
//[deprecated 5.0]
Ext.ns('Ext.data.Record');
//Backwards compat
Ext.data.Record.id = Ext.data.Model.id;
//[end]
//backwards compatibility, remove in Ext JS 5.0
Ext.data.HttpProxy = Ext.data.AjaxProxy;
//backwards compatibility, will be deprecated in 5.0
this.nocache = this.noCache;
// backwards compat, convert idPath or id / success
// DEPRECATED - remove this in 5.0
Ext.applyIf(config, {
idProperty : config.idPath || config.id,
successProperty: config.success
});
// backwards compat
Ext.data.SimpleStore = Ext.data.ArrayStore;
//backwards compatibility - deprecate in next major release
this.label = this.label || this.fieldLabel;
Eric Berens
Intranet Systems Manager @ Best Buy
You should follow me on twitter
here .
Ext JS Premium Member
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.
Similar Threads
By damon1977 in forum Ext 3.x: Bugs
Replies: 1
Last Post: 2 Feb 2010, 10:39 AM
By dekely in forum Ext 2.x: Help & Discussion
Replies: 7
Last Post: 24 Aug 2009, 8:01 AM
By jay@moduscreate.com in forum Ext 1.x: Bugs
Replies: 2
Last Post: 9 Jul 2007, 8:22 AM
By jay@moduscreate.com in forum Ext 1.x: Help & Discussion
Replies: 5
Last Post: 1 Dec 2006, 1:49 PM
By tryanDLS in forum Ext 1.x: Bugs
Replies: 8
Last Post: 10 Nov 2006, 7:27 AM
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us