8 Jun 2010 7:15 AM #1
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;
8 Jun 2010 8:03 AM #2
// Backwards compatibility with desktop
Ext.CompositeElementLite = Ext.CompositeElement;
It's a mobile platform...who cares about the desktop!
8 Jun 2010 8:30 AM #3
We're trying to keep some level of familiarity across the platforms, but this one in particular will probably go away.
8 Jun 2010 10:37 AM #4
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.
8 Jun 2010 11:34 AM #5
These are the other ones...
Ext.data.DataProxy = Ext.data.Proxy;
Ext.data.Record.id = Ext.data.Model.id;
//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
idProperty : config.idPath || config.id,
// backwards compat
Ext.data.SimpleStore = Ext.data.ArrayStore;
//backwards compatibility - deprecate in next major release
this.label = this.label || this.fieldLabel;
8 Jun 2010 5:57 PM #6
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.
By damon1977 in forum Ext 3.x: BugsReplies: 1Last Post: 2 Feb 2010, 10:39 AM
By dekely in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 24 Aug 2009, 8:01 AM
By firstname.lastname@example.org in forum Ext 1.x: BugsReplies: 2Last Post: 9 Jul 2007, 8:22 AM
By email@example.com in forum Ext 1.x: Help & DiscussionReplies: 5Last Post: 1 Dec 2006, 1:49 PM
By tryanDLS in forum Ext 1.x: BugsReplies: 8Last Post: 10 Nov 2006, 7:27 AM