ExtJS ChangeLog 2.2 -> 3.0.0

郁闷...本来都写完的了...结果插入一个表格...编辑器就出问题了...内容不见了一半...格式也全乱了...得重来...

 

翻译的不好,请多见谅。其中有些地方觉得太拗口了,就直接给出原文了,如果你有更好的翻译,请跟帖,谢谢。

 

原文地址: http://extjs.com/forum/showthread.php?t=70352

 

Changes, Additions  (roughly organized alphabetically)

 

1.Ext

  •  新增:
    •  iterate 方法 - 遍历一个数组或对象,对每个元素都执行指定的函数
    •  isNumber 方法 - 判断传递的参数对象是否是数字
    •  isString 方法 - 判断传递的参数对象是否是字符串
    •  isBoolean 方法 - 判断传递的参数对象是否是布尔值
    •  isDefined 方法 - 判断传递的参数对象是否已经定义

2.Ext.lib.Ajax

  • 变更: Ajax responses. The core adapter file in the Ext.lib.Ajax class has been changed in line with the W3 XMLHttpRequest specification. The response object which emulates the XHR now has getResponseHeader and getAllResponseHeaders as f unctions rather than Arrays to keep inline with the real XHR object. So, anyone who was currenltly examining headers using an Array (as inherited from YUI via yui-ext) will need to change to use a function.

3.Ext.Componet

  • 新增:
    • A Component's Observable  events may now be set to bubble up the Component-ownerCt axis.

4.Ext.BoxComponent

  • 新增:
    • getWidth() 
    • getHeight()
    • getOuterSize()

5.Ext.Button

  • 新增:
    • Rather than being limited to only positioning buttons in a buttons configuration, they can now be placed anywhere you please. 你的按钮现在可以放在任意地方,而不仅限于buttons配置项
    • Button现在可以缩放为任意高宽,并且有高级的文字布局。 (Buttons can now scale to any height or width and have advanced text positioning.)
    •  新的配置:scale: 'small'  ,  iconAlign : 'left' , arrowAlign : 'right'
  • 变更:
    • Button现在是一个有效的BoxComponent,可以被布局管理器管理。 (Button is now a valid BoxComponent and can partake in layout management. )
    • Button的实现已经完全重写,所以旧版本时候写的自定义样式/主题需要相应的修改。(The markup for buttons is completely different and will require changes if you had implemented a custom theme. )
6.Ext.Component
  • 新增:
    • afterrender事件
    • ref 配置项 - establish a named reference for an object an ancestor Container (mitigate dependency on 'id' and Ext.getCmp).
    • ptypes - ComponentMgr manages plugins similar to xtypes (use Ext.preg similar to Ext.reg)
    • nextSibling
    • previousSibling
    • getDomPositionEl
7.Ext.ComponentMgr
  • 新增:
    • isRegistered 方法 - 检查一个xtype是否已经被注册
8.Ext.Container
  • 新增:
    • get()
9.Ext.data.Reader
  • 已过时:
    • 推荐使用id , 请用 propertyIdidIndex
10.Ext.data.Store
  • 新增:
    • store xtypes
    • autoDestroy  配置项 - 当store绑定的component被销毁的时候,销毁该Store
    • setBaseParam()
  • 变更:
    • baseParams可以被load方法传递的同名参数所覆盖。( baseParams may be overwritten by params of same name passed to load() )
  • 已过时:
    • 不推荐使用 id ,请用 storeId 代替它
    • 不推荐使用 loadexception 事件,请用 exception 事件
    • SimpleStore 更名为 ArrayStore
11.Ext.Element
  • 新增:
    • mouseenter事件
    • mouseleave事件
  • 变更/已过时:
    • getAttributeNS() - 已过时,用getAttribute()代替
    • autoHeight() - 移除
    • alignTo() - 变更参数"position"
    • query() - 新增参数"unique"
    • focus() - 新增参数"defer"
12.Ext.EventManager
  • 变更:
    • within() - can now also check if the passed element is the target or related target
13.Ext.form
  • 新增:
    • 当动态添加Container到FormPanel时,Fields会被添加到BasicForm's的集合中。所以BasicForm's setValues 方法现在可以始终对动态添加的Fields有效。(When dynamically adding Container s anywhere in a FormPanel, any  Fields are now found and added to the BasicForm 's Collection. So BasicForm's setValues  method  will now work consistently with dynamically added Fields.)
  • 变更:
14.Ext.grid.GridPanel
  • 新增:
    • columnLines 配置项 (boolean) - adds class ' x-grid-with-col-lines'
    •  Ext.grid.Column
      • 用来作为columns参数传递给ColumnModel (Instances of this class are used as columns passed to ColumnModel)
      •  xtypes可以用来指定一些预先配置好的renderer(xtypes can be used to specify a preconfigured renderer)
      • renderer may be specified in additional ways
    • Grid RowEditor Class
    • Grid like ListView and ListView.Sorter Classes (译注:就是一个用DataView+XTemplate来模拟的Grid,轻量)
    • Grid BufferedView Class. Buffered GridView enhances performance by waiting to render rows until they are visible.(译注:对大数据量的Grid有明显的性能提升,实际上就是只渲染用户可见的列,拖动的时候再渲染其他.官方还有其他的一个扩展 Ext.ux.LiveGrid,详见:http://extjs.com/forum/showthread.php?t=17791)
15.Layouts:
16.Ext.Menu
  • 新增:
    • Menu Overflow. Whenever a menu gets so long that the items won’t fit the viewable area, it provides the user with an easy UI to scroll the menu. This feature is turned on by default and can be disabled by the configuration option enableScrolling.(译注:简单的说就是Menu溢出后的滚动效果,默认是开启该效果,可以通过enableScrolling来配置,详见官方示例)
  • 变更/已过时:
    • Toolbar and Menu are now proper Containers (formerly extended from BoxComponent). 现在Toolbar和Menu都继承Container
    • Breaking change: MenuItem的ids现在已经不是局部变量了,所以你不能在多个menu里面用一个id.建议:用唯一的id或者用itemIds来替代它。(MenuItem ids are no longer local to their menu but global component ids. This means that you can't use the same id in multiple menus. Suggested fix: Use unique ids or switch to using itemIds.)
    • As well as Menu being a Container, this also means Menu can be a regular Component. Menu did not extend BoxComponent before, but was out on its own. Now, it can behave either as a regular floating Menu, or, if configured floating: false, it can be used as a usual inline Component of a Container.(译注:简单的说就是由于menu的继承改变,现在你可以设置Menu为浮动的,或者像平常的组件那样使用它)
    • DateItem和ColorItem已经被移出,因为没有必要了,现在你可以把任意组件放入menu的items中
    • autoWidth() - 变更为autoSize()
17.Ext.MenuButton - 该类已经被移除,用SplitButton代替它

18.Ext.StatusBar - 该类已经被移出core库,在3.0final版会有个Ext.ux.StatusBar

19.Ext.Toolbar
  • 新增:
    • Toolbar Overflow. A menu for items that don’t fit the visible toolbar area will be created by default and can be disabled with the configuration option enableOverflow. Items in the menu react with the same handlers as the toolbar items.(译注:简单的说就是Toolbar溢出后的滚动效果详见官方示例)
  • 变更:
    • Toolbar and Menu are now proper Containers (formerly extended from BoxComponent).现在Toolbar和Menu都继承Container
20.Ext.Tooltip
  • 新增:
    • delegate option added so one Tooltip can handle multiple child elements of its target based on selection using the delegate config.(译注:新增的这个属性很有用,就是通过设置的selector对某个元素的子对象设置Tip,在2.0的时候我们经常需要的Gird RowTip,CellTip都可以实现了,不需要实例化很多Tip对象)
    • AnchorTips - Tooltips now support an anchor configuration which will allow you to bring attention to a particular element or component with a small callout arrow.(译注:简单的说就是箭头Tip,详见:http://extjs.com/deploy/dev/examples/simple-widgets/qtips.html )
21.Ext.util.Format
  • 新增 /变更:
    • ellipsis() - "word" parameter added
    • focus() - "defer" parameter added
    • number() - added
    •  numberRenderer() - added
    • plural() - added
22.Ext.util.Observable
  • 新增:
    • Ext.util.Observable.observeClass() - Class level observability 类级别的观察/通知
23. ux's that worked prior to 3.x may need some tweaking (especially if the ux used private properties). ux's should be checked they are utilizing the latest preferred techniques and properties. More notes here. 旧的扩展需要相应的进行修改,详见: http://extjs.com/forum/showthread.php?p=338913#post338913

24.CSS . general updates, as well as refactoring to split css into visual and structural files to simplify theming.

25. 新增: 图表 Charting (Chart, PieChart, CartesianChart, LineChart, BarChart - numeric, time, category axis) -- (译注:其实就是YUI Chart,可以看: http://developer.yahoo.com/yui/charts/  , 或者可以看下我的blog: ExtJS 3.0 Chart 小用一下 http://atian25.iteye.com/blog/413947 )

26. 新增: Ext.FlashComponent (译注:似乎是用了swfobject,管理swf方便多了,不用adobe那又长又臭的代码)

27. 新增: Direct (Direct, Ext.data.DirectStore, Ext.data.DirectProxy) - 官方3.0极力推出的东西,详见: http://extjs.com/blog/2009/05/13/introducing-ext-direct/

28. 新增: Writer

29. 新增: Ext.Spacer - xtype 'spacer' (for empty box component)

30. 新增: ButtonGroup (xtype: 'buttongroup')  (译注:按钮组,仿office2007风格,详见: http://extjs.com/deploy/dev/examples/button/buttons.html )

31. 新增: GroupTabs - (译注:详见 http://extjs.com/deploy/dev/examples/grouptabs/grouptabs.html )

32. 增强: Debug Console (译注:还是firebug好用,不过它可以看到store等,详见: http://extjs.com/deploy/dev/examples/debug/debug-console.html )

33. 新增: Ext.Error


Changes to some example classes: 示例类的修改
(不敢用javaeye编辑器的表格了..自己将就着看吧...)

Class                                              x(p)type                Deprecates
Ext.ux.data.PagingMemoryProxy                                   Ext.data.PagingMemoryProxy
Ext.ux.form.FileUploadField             fileuploadfield         Ext.ux.FileUploadField
Ext.ux.form.SelectBox                     selectbox                Ext.ux.SelectBox
Ext.ux.form.SpinnerField                 spinnerfield             Ext.form.SpinnerField (remove xtype=spinner)
Ext.ux.form.ItemSelector                 itemselector           Ext.ux.ItemSelector
Ext.ux.form.MultiSelect                    multiselect              Ext.ux.Multiselect  
Ext.ux.grid.CheckColumn                checkcolumn (p)      
Ext.ux.grid.GroupSummary                                            Ext.grid.GroupSummary
Ext.ux.grid.HybridSummary                                            Ext.grid.HybridSummary
Ext.ux.grid.RowEditor                     roweditor   (p)
Ext.ux.grid.RowExpander               rowexpander (p)      Ext.grid.RowExpander
Ext.ux.grid.TableGrid                                                       Ext.grid.TableGrid
Ext.ux.GMapPanel                          gmappanel
Ext.ux.SliderTip
Ext.ux.SlidingPager
Ext.ux.Spinner               
Ext.ux.Spotlight                                                              Ext.Spotlight
Ext.ux.Statusbar                                                            Ext.Statusbar
Ext.ux.TabCloseMenu                    tabclosemenu (p)
Ext.ux.tree.ColumnTree                 columntree              Ext.tree.ColumnTree
Ext.ux.tree.ColumnNodeUI                                            Ext.tree.ColumnNodeUI
Ext.ux.tree.XmlTreeLoader                                            Ext.ux.XmlTreeLoader

Changes to Resources 资源的变更
  • Ensure you have updated all the Ext-provided CSS with the new CSS from version 3.
  • Ensure you have updated all the Ext-provided images with the new images from version 3.
Additional References 其他参考



by Tz.
标题基于SpringBoot+Vue的学生交流互助平台研究AI更换标题第1章引言介绍学生交流互助平台的研究背景、意义、现状、方法与创新点。1.1研究背景与意义分析学生交流互助平台在当前教育环境下的需求及其重要性。1.2国内外研究现状综述国内外在学生交流互助平台方面的研究进展与实践应用。1.3研究方法与创新点概述本研究采用的方法论、技术路线及预期的创新成果。第2章相关理论阐述SpringBoot与Vue框架的理论基础及在学生交流互助平台中的应用。2.1SpringBoot框架概述介绍SpringBoot框架的核心思想、特点及优势。2.2Vue框架概述阐述Vue框架的基本原理、组件化开发思想及与前端的交互机制。2.3SpringBoot与Vue的整合应用探讨SpringBoot与Vue在学生交流互助平台中的整合方式及优势。第3章平台需求分析深入分析学生交流互助平台的功能需求、非功能需求及用户体验要求。3.1功能需求分析详细阐述平台的各项功能需求,如用户管理、信息交流、互助学习等。3.2非功能需求分析对平台的性能、安全性、可扩展性等非功能需求进行分析。3.3用户体验要求从用户角度出发,提出平台在易用性、美观性等方面的要求。第4章平台设计与实现具体描述学生交流互助平台的架构设计、功能实现及前后端交互细节。4.1平台架构设计给出平台的整体架构设计,包括前后端分离、微服务架构等思想的应用。4.2功能模块实现详细阐述各个功能模块的实现过程,如用户登录注册、信息发布与查看、在线交流等。4.3前后端交互细节介绍前后端数据交互的方式、接口设计及数据传输过程中的安全问题。第5章平台测试与优化对平台进行全面的测试,发现并解决潜在问题,同时进行优化以提高性能。5.1测试环境与方案介绍测试环境的搭建及所采用的测试方案,包括单元测试、集成测试等。5.2测试结果分析对测试结果进行详细分析,找出问题的根源并
内容概要:本文详细介绍了一个基于灰狼优化算法(GWO)优化的卷积双向长短期记忆神经网络(CNN-BiLSTM)融合注意力机制的多变量多步时间序列预测项目。该项目旨在解决传统时序预测方法难以捕捉非线性、复杂时序依赖关系的问题,通过融合CNN的空间特征提取、BiLSTM的时序建模能力及注意力机制的动态权重调节能力,实现对多变量多步时间序列的精准预测。项目不仅涵盖了数据预处理、模型构建与训练、性能评估,还包括了GUI界面的设计与实现。此外,文章还讨论了模型的部署、应用领域及其未来改进方向。 适合人群:具备一定编程基础,特别是对深度学习、时间序列预测及优化算法有一定了解的研发人员和数据科学家。 使用场景及目标:①用于智能电网负荷预测、金融市场多资产价格预测、环境气象多参数预报、智能制造设备状态监测与预测维护、交通流量预测与智慧交通管理、医疗健康多指标预测等领域;②提升多变量多步时间序列预测精度,优化资源调度和风险管控;③实现自动化超参数优化,降低人工调参成本,提高模型训练效率;④增强模型对复杂时序数据特征的学习能力,促进智能决策支持应用。 阅读建议:此资源不仅提供了详细的代码实现和模型架构解析,还深入探讨了模型优化和实际应用中的挑战与解决方案。因此,在学习过程中,建议结合理论与实践,逐步理解各个模块的功能和实现细节,并尝试在自己的项目中应用这些技术和方法。同时,注意数据预处理的重要性,合理设置模型参数与网络结构,控制多步预测误差传播,防范过拟合,规划计算资源与训练时间,关注模型的可解释性和透明度,以及持续更新与迭代模型,以适应数据分布的变化。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值