ArticleDirectory
- Improved ie memory
- Layout Optimization
- Eventmanager Reconstruction
- Improved flexibility
- New Components
Ext js 3.1: massive memory improvements, treegrid,
And more
December 17,200 9 by Jamie avins
On behalf of the ext team, I am very happy to announce this ext JS 3.1
. In this release, we strive to optimize the performance and functions of Ext. In download
Full can be found on the page.
Change log
And online documentation
(Chinese address
).
Improved ie memory
More and more complex single-page webProgramThe emergence of browser memory management issues become more critical. In ext 3.1, especially for IE6 or later versions, we have implemented a series of solutions for Memory leakage.
Dom Leakage
The leakage of reference DOM objects is one of the biggest causes of poor performance. After greatly refactoring, ext 3.1 enables those components to "intelligently" Remove Dom references. Of course, ext
Core
It is also included. The result is that when the IE element is removed, the isolated nodes are also cleared (IE6/7 Form
Tag misfortune!
).
JScript Engine Leakage
Surprisingly, a common JavaScript Object may also cause memory leakage, as does the new IE8. There is a problem with all versions of IE, that is, the bad compaction crit object reality. The performance is that when an object is used as the cache (which we often use), the memory will be exposed in a terrible way. This problem may be corrected by ie9. However, as you can see, 3.1 adopts the unified elementcache mechanism to better fix this problem. The solution is to refresh garbagecollection in IE. In some tests, we recorded a 50-fold reduction in memory, just in the long-running single-page program.
Layout Optimization
In 3.0, some components are restructured into containers.
To provide complex dynamic interfaces. In version 3.1, we checked some of the layout processes, optimized them, and cut down the redundant layout calculation process. After the layout is adjusted, the sub-container adjustment is aborted to prevent Layout
Storm. To destroy a component in 3.1 is to remove it from the container, which greatly improves the performance and optimizes functions called by other old versions.
Eventmanager Reconstruction
The eventmanager
And the core adapter has been fully reconstructed, reducing the number of duplicates and inefficiency.Code. The previous event cache has been improved to a faster and more consistent experience. The benefit of complex containers is the improvement in response time. Event buffering and latency during the element/component in the deconstruct process have been removed to prevent unnecessary events from being executed.
Improved flexibility
Now you can use the svn respository
Access ext
Core
. At that time, many core methods were private and difficult to expand. EXT Forum
Some people want higher flexibility, so we have updated 3.1 and many methods become public prototypes. Ext. Each is also expanded in most built-in underlying layers (unrolled). As a result, the efficiency of many tasks is improved.
New Components
While effectively improving the performance by 3.1, we are also happy to release some of the latest visual components. The following are the components with higher requirements or enhanced components in 3.1:
New treegrid Extension
New treegrid component
Create a perfect solution for the composite list-combine the grid
(Sort, display additional information) and include the power of tree
The flexibility of the UI. Treegrid is an extension of code optimization for treepanel. We are still developing treestore to support the hierarchical data structure, which will appear in 3.2. This is one of the most demanding components. We are naturally very happy to use it now.
Grid column lock
Relockinggidview/lockingcolumnmodel
When the scale-out is returned, you can specify some horizontal directions to move these columns.
Plug-in for grid grouping Columns
New columnheadergroup
Plug-ins, making it easier to organize columns. Columns can be rendered in a group for higher flexibility.
Summary
3.1 new ie OptimizationAlgorithm, All the performance improvements and new features are added to it. We believe that these enhancements will greatly improve the productivity of your products. We are also working hard to build ext
Designer
I hope it will be available in a few months. Please update your version immediately
Check which new functions are suitable for you!