SlideShare ist ein Scribd-Unternehmen logo
1 von 21
EXTJS 3.4
MI GRATION   NOTES




                     Simo Moujami
                        12/12/2011


                                     12/20/2011   1
Agenda
• Why ExtJS 3.4

• Features & Benefits

   •   Cross-Browser Support

   •   Performance Improvements

   •   Memory Management Improvements

   •   Accessibility / Simplified Theming

• Core Framework Changes

   •   Core Component Changes

   •   Data Package Enhancements

• Operative One Code Changes

• References
Why ExtJS 3.4

   •   3 Years of active development. 12 releases
   •   Hundreds of Bug fixes, New Features and
       Enhancements
   •   Added Support for IE8 & IE9
   •   Enhanced Support for Chrome & Safari
   •   Performance Enhancements
   •   Significant Memory Management Enhancements
   •   Accessibility Features
   •   Theming support
   •   Native Charting Library
   •   Dropped support for ExtJS 2




                                           12/20/2011   3
Features & Benefits
Cross-Browser Support

   •   ExtJS 3 brings support to IE 8 & 9

   •   Enhances support for all major web browsers:
       •   Internet Explorer 6+

       •   Firefox 3.6+ (PC, Mac)

       •   Safari 3+

       •   Chrome 6+

       •   Opera 10.5+ (PC, Mac)
Features & Benefits
Performance Improvements

   •   Reduced layout calculations

   •   Optimized layout process to prevent
       “Layout Storms”

   •   Improved event handling response time
Features & Benefits
Memory Management Improvements

  •   Fixes to several memory leaks.
      •   DOM Leaks

      •   Javascript Leaks

      •   Auto-Removal of Event listeners:


          mon() adds listeners to an internal collection which
          is destroyed when the object is destroyed, assisting
          you in memory management.
Features & Benefits
Accessibility / Simplified Theming

   •   Section 508 and ARIA Support

   •   Easy Keyboard navigation with Focus Manager

   •   Screen reader support

   •   High contrast theme for all components
Core Framework Changes
Stronger Error reporting
   •    More robust error handling throughout the
        framework to assist during a debug process

   •    The developer will be alerted to the issue
        allowing them to quickly find the point of failure
        and rectify the problem.

   •    Example:

        "DataProxy attempted to execute an API-action
        but found an undefined url / function. Please
        review your Proxy url/api-configuration."
Core Framework Changes
New UI Components
 RowEditor              Tree Grid
 ListView               Pivot Grid
 Charting Components    Calendar Panel
 ButtonGroup            Composite Field
 GroupTabs              Slider Field


Enhanced Components
 Buttons                Grid Column Locking
 Toolbar Overflow       Grid Column Grouping
 Menu Overflow          Multiple Data Sorting and
 AnchorTips                filtering

 Buffered GridView      DataView transitions

 Debug Console          Toolbar Plugins
Core Framework Changes
Data Package Enhancements

   •    REST Support in Data Stores
   •    Supports Full CRUD operations
Core Framework Changes
Data Package Enhancements

   •    CRUD support with Ext.data.DataWriter




        The store exposes several methods like save and
        create which will trigger communication with the
        server-side
Operative One Code Changes
Deprecated
   •   Ext 2.2 Library          •   SliderField.js
   •   Calculator.js            •   DateSlider.js
   •   ColumnField.js           •   PaymentItemCards.js
   •   SLIPagingToolbar.js      •   GridRowChecker.js
   •   SlideZone.js

Relocated
   •   3P “extensions” folder   •   SlideZone.js
   •   Calculator.js            •   SliderField.js
   •   ColumnField.js           •   DateSlider.js
   •   SLIPagingToolbar.js      •   PaymentItemCards.js

New & Updated
   •   Ext 3.4 Library          •   SliderField.js
   •   overrides.js             •   DateSlider.js
   •   overrides.css            •   PaymentItemCards.js
Operative One Code Changes
Data Package / DWR Proxy
Operative One Code Changes
Layout configurations
Operative One Code Changes
Pagination Toolbar
Operative One Code Changes
Column Editor

•   No explicit use of the Ext.Editor / Ext.grid.GridEditor
    when setting column editors.

      •   Column Definition:
          {
            header : “Unit Cost”,
            editor : new Ext.form.TextField()
          }

      •   Access Field (Old way):
           column.editor.field.store

      •   Access Field (New way):
           column.editor.store
Operative One Code Changes
Listener Setup
•   set scope per individual listener, especially
    for LovCombos.
Operative One Code Changes
Other Changes
1.   this.remove() only works with direct children. A.remove(B)
     only works if B is a direct child of A.
2.   Use anchor with “100%” value instead of “-20”
3.   Setting collapsible to true will automatically create a header.
     Set header to false in this case.
4.   Don’t explicitely set labelWidth. It’s now set for you by
     default.
5.   Don't rely on record.id. It returns (ext-record-145)
6.   Use wrapper methods instead of accessing properties
     directly.
7.   Use enable(), disable(), show() hide() instead of
     setDisabled(true/false) and setVisible(true/false)
Operative One Code Changes
Other Changes
8.   DON’T USE STATIC IDS AT ALL.
     Use relative references as this.deleteButton or use itemId
     or name as alternative attribute.
9.   Setting autoHeight with auto layouts might affect toolbar
     widths. Only use it if needed.
Operative One Code Changes
Performance Considerations

•   Use Ext.Container instead of Ext.Panel whenever
    possible
     •   use a container instead of a panel when
         advanced configuration like toolbars and
         headers aren't needed.


•   Keep component hierarchy as flat as possible
     •   Every additional container level increases the
         layouting/ rendering time, try to merge
         container levels when possible.
References
Sencha, Inc

•    http://www.sencha.com

Ext Version Archives

•   http://www.sencha.com/learn/legacy/Ext_Version_Archives

Ext3.x Features & Release Notes:

• http://www.sencha.com/blog/ext-js-30-be-outstanding

• http://www.sencha.com/blog/ext-js-30-rc11-released/

• http://www.sencha.com/blog/ext-js-30-rc2-release-stable-robust-and-

    enhanced/

• http://www.sencha.com/blog/ext-js-31-massive-memory-improvements-

    treegrid-and-more/

• http://www.sencha.com/blog/ext-js-32-final-released/

• http://www.sencha.com/blog/announcing-ext-js-33-beta-pivotgrids-

    calendars-and-more/

• http://www.sencha.com/blog/ext-js-33-beta-2-released/

Weitere ähnliche Inhalte

Was ist angesagt?

Oracle on Azure at Windows Azure Conference 2014
Oracle on Azure at Windows Azure Conference 2014Oracle on Azure at Windows Azure Conference 2014
Oracle on Azure at Windows Azure Conference 2014PARIKSHIT SAVJANI
 
PASS VC: SQL Server Performance Monitoring and Baselining
PASS VC: SQL Server Performance Monitoring and BaseliningPASS VC: SQL Server Performance Monitoring and Baselining
PASS VC: SQL Server Performance Monitoring and BaseliningPARIKSHIT SAVJANI
 
Tech ED 2014 Running Oracle Databases and Application Servers on Azurev1
Tech ED 2014   Running Oracle Databases and Application Servers on Azurev1Tech ED 2014   Running Oracle Databases and Application Servers on Azurev1
Tech ED 2014 Running Oracle Databases and Application Servers on Azurev1Brian Benz
 
Stretch Database
Stretch DatabaseStretch Database
Stretch DatabaseSolidQ
 
Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019Antonios Chatzipavlis
 
Always on in sql server 2017
Always on in sql server 2017Always on in sql server 2017
Always on in sql server 2017Gianluca Hotz
 
SQL Server 2019 CTP 2.5
SQL Server 2019 CTP 2.5SQL Server 2019 CTP 2.5
SQL Server 2019 CTP 2.5Gianluca Hotz
 
MySQL Storage Engines Landscape
MySQL Storage Engines LandscapeMySQL Storage Engines Landscape
MySQL Storage Engines LandscapeColin Charles
 
MySQL Atchitecture and Concepts
MySQL Atchitecture and ConceptsMySQL Atchitecture and Concepts
MySQL Atchitecture and ConceptsTuyen Vuong
 
SQL ON Azure (decision-matrix)
SQL  ON  Azure (decision-matrix)SQL  ON  Azure (decision-matrix)
SQL ON Azure (decision-matrix)PARIKSHIT SAVJANI
 
Exploring azure cloud storage
Exploring azure cloud storageExploring azure cloud storage
Exploring azure cloud storageSpiffy
 
Windows Azure and a little SQL Data Services
Windows Azure and a little SQL Data ServicesWindows Azure and a little SQL Data Services
Windows Azure and a little SQL Data Servicesukdpe
 
Presenting Data Effectively in XPages - ATLUG May 2013
Presenting Data Effectively in XPages - ATLUG May 2013Presenting Data Effectively in XPages - ATLUG May 2013
Presenting Data Effectively in XPages - ATLUG May 2013balassaitis
 
Windows Azure platform
Windows Azure platformWindows Azure platform
Windows Azure platformGetDev.NET
 
MySQL Architecture and Engine
MySQL Architecture and EngineMySQL Architecture and Engine
MySQL Architecture and EngineAbdul Manaf
 

Was ist angesagt? (20)

Oracle on Azure at Windows Azure Conference 2014
Oracle on Azure at Windows Azure Conference 2014Oracle on Azure at Windows Azure Conference 2014
Oracle on Azure at Windows Azure Conference 2014
 
PASS VC: SQL Server Performance Monitoring and Baselining
PASS VC: SQL Server Performance Monitoring and BaseliningPASS VC: SQL Server Performance Monitoring and Baselining
PASS VC: SQL Server Performance Monitoring and Baselining
 
Tech ED 2014 Running Oracle Databases and Application Servers on Azurev1
Tech ED 2014   Running Oracle Databases and Application Servers on Azurev1Tech ED 2014   Running Oracle Databases and Application Servers on Azurev1
Tech ED 2014 Running Oracle Databases and Application Servers on Azurev1
 
Stretch Database
Stretch DatabaseStretch Database
Stretch Database
 
Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019
 
Always on in sql server 2017
Always on in sql server 2017Always on in sql server 2017
Always on in sql server 2017
 
SQL Server 2019 CTP 2.5
SQL Server 2019 CTP 2.5SQL Server 2019 CTP 2.5
SQL Server 2019 CTP 2.5
 
SQLite - Overview
SQLite - OverviewSQLite - Overview
SQLite - Overview
 
MySQL Storage Engines Landscape
MySQL Storage Engines LandscapeMySQL Storage Engines Landscape
MySQL Storage Engines Landscape
 
MySQL Atchitecture and Concepts
MySQL Atchitecture and ConceptsMySQL Atchitecture and Concepts
MySQL Atchitecture and Concepts
 
SQL ON Azure (decision-matrix)
SQL  ON  Azure (decision-matrix)SQL  ON  Azure (decision-matrix)
SQL ON Azure (decision-matrix)
 
Exploring azure cloud storage
Exploring azure cloud storageExploring azure cloud storage
Exploring azure cloud storage
 
Windows Azure and a little SQL Data Services
Windows Azure and a little SQL Data ServicesWindows Azure and a little SQL Data Services
Windows Azure and a little SQL Data Services
 
Presenting Data Effectively in XPages - ATLUG May 2013
Presenting Data Effectively in XPages - ATLUG May 2013Presenting Data Effectively in XPages - ATLUG May 2013
Presenting Data Effectively in XPages - ATLUG May 2013
 
Database
DatabaseDatabase
Database
 
Database storage engines
Database storage enginesDatabase storage engines
Database storage engines
 
Windows Azure platform
Windows Azure platformWindows Azure platform
Windows Azure platform
 
Play 2.0
Play 2.0Play 2.0
Play 2.0
 
Nadzor sql a
Nadzor sql aNadzor sql a
Nadzor sql a
 
MySQL Architecture and Engine
MySQL Architecture and EngineMySQL Architecture and Engine
MySQL Architecture and Engine
 

Ähnlich wie Extjs3.4 Migration Notes

Building Rich Internet Applications with Ext JS
Building Rich Internet Applications  with Ext JSBuilding Rich Internet Applications  with Ext JS
Building Rich Internet Applications with Ext JSMats Bryntse
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his Dutyreedmaniac
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyLeslie Doherty
 
Staying Sane with Drupal NEPHP
Staying Sane with Drupal NEPHPStaying Sane with Drupal NEPHP
Staying Sane with Drupal NEPHPOscar Merida
 
SharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi VončinaSharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi VončinaSPC Adriatics
 
Dojo Grids in XPages
Dojo Grids in XPagesDojo Grids in XPages
Dojo Grids in XPagesTeamstudio
 
Why Upgrade to v8.6?
Why Upgrade to v8.6?Why Upgrade to v8.6?
Why Upgrade to v8.6?BillCavaUs
 
SharePoint 2014: Where to save my data, for devs!
SharePoint 2014: Where to save my data, for devs!SharePoint 2014: Where to save my data, for devs!
SharePoint 2014: Where to save my data, for devs!Ben Steinhauser
 
SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4Gianluca Hotz
 
Java development with the dynamo framework
Java development with the dynamo frameworkJava development with the dynamo framework
Java development with the dynamo frameworkPatrick Deenen
 
The Grid the Brad and the Ugly: Using Grids to Improve Your Applications
The Grid the Brad and the Ugly: Using Grids to Improve Your ApplicationsThe Grid the Brad and the Ugly: Using Grids to Improve Your Applications
The Grid the Brad and the Ugly: Using Grids to Improve Your Applicationsbalassaitis
 
Tech Talk Live on Share Extensibility
Tech Talk Live on Share ExtensibilityTech Talk Live on Share Extensibility
Tech Talk Live on Share ExtensibilityAlfresco Software
 
Corporate-informatica-training-in-mumbai
Corporate-informatica-training-in-mumbaiCorporate-informatica-training-in-mumbai
Corporate-informatica-training-in-mumbaiUnmesh Baile
 
Corporate-informatica-training-in-mumbai
Corporate-informatica-training-in-mumbaiCorporate-informatica-training-in-mumbai
Corporate-informatica-training-in-mumbaiUnmesh Baile
 
MySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMark Swarbrick
 
Internet Explorer 8
Internet Explorer 8Internet Explorer 8
Internet Explorer 8David Chou
 
Play Framework and Activator
Play Framework and ActivatorPlay Framework and Activator
Play Framework and ActivatorKevin Webber
 

Ähnlich wie Extjs3.4 Migration Notes (20)

Where to save my data, for devs!
Where to save my data, for devs!Where to save my data, for devs!
Where to save my data, for devs!
 
Building Rich Internet Applications with Ext JS
Building Rich Internet Applications  with Ext JSBuilding Rich Internet Applications  with Ext JS
Building Rich Internet Applications with Ext JS
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his Duty
 
presentation
presentationpresentation
presentation
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his Duty
 
presentation
presentationpresentation
presentation
 
Staying Sane with Drupal NEPHP
Staying Sane with Drupal NEPHPStaying Sane with Drupal NEPHP
Staying Sane with Drupal NEPHP
 
SharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi VončinaSharePoint 2013 Performance Analysis - Robi Vončina
SharePoint 2013 Performance Analysis - Robi Vončina
 
Dojo Grids in XPages
Dojo Grids in XPagesDojo Grids in XPages
Dojo Grids in XPages
 
Why Upgrade to v8.6?
Why Upgrade to v8.6?Why Upgrade to v8.6?
Why Upgrade to v8.6?
 
SharePoint 2014: Where to save my data, for devs!
SharePoint 2014: Where to save my data, for devs!SharePoint 2014: Where to save my data, for devs!
SharePoint 2014: Where to save my data, for devs!
 
SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4
 
Java development with the dynamo framework
Java development with the dynamo frameworkJava development with the dynamo framework
Java development with the dynamo framework
 
The Grid the Brad and the Ugly: Using Grids to Improve Your Applications
The Grid the Brad and the Ugly: Using Grids to Improve Your ApplicationsThe Grid the Brad and the Ugly: Using Grids to Improve Your Applications
The Grid the Brad and the Ugly: Using Grids to Improve Your Applications
 
Tech Talk Live on Share Extensibility
Tech Talk Live on Share ExtensibilityTech Talk Live on Share Extensibility
Tech Talk Live on Share Extensibility
 
Corporate-informatica-training-in-mumbai
Corporate-informatica-training-in-mumbaiCorporate-informatica-training-in-mumbai
Corporate-informatica-training-in-mumbai
 
Corporate-informatica-training-in-mumbai
Corporate-informatica-training-in-mumbaiCorporate-informatica-training-in-mumbai
Corporate-informatica-training-in-mumbai
 
MySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats new
 
Internet Explorer 8
Internet Explorer 8Internet Explorer 8
Internet Explorer 8
 
Play Framework and Activator
Play Framework and ActivatorPlay Framework and Activator
Play Framework and Activator
 

Kürzlich hochgeladen

Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 

Kürzlich hochgeladen (20)

Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 

Extjs3.4 Migration Notes

  • 1. EXTJS 3.4 MI GRATION NOTES Simo Moujami 12/12/2011 12/20/2011 1
  • 2. Agenda • Why ExtJS 3.4 • Features & Benefits • Cross-Browser Support • Performance Improvements • Memory Management Improvements • Accessibility / Simplified Theming • Core Framework Changes • Core Component Changes • Data Package Enhancements • Operative One Code Changes • References
  • 3. Why ExtJS 3.4 • 3 Years of active development. 12 releases • Hundreds of Bug fixes, New Features and Enhancements • Added Support for IE8 & IE9 • Enhanced Support for Chrome & Safari • Performance Enhancements • Significant Memory Management Enhancements • Accessibility Features • Theming support • Native Charting Library • Dropped support for ExtJS 2 12/20/2011 3
  • 4. Features & Benefits Cross-Browser Support • ExtJS 3 brings support to IE 8 & 9 • Enhances support for all major web browsers: • Internet Explorer 6+ • Firefox 3.6+ (PC, Mac) • Safari 3+ • Chrome 6+ • Opera 10.5+ (PC, Mac)
  • 5. Features & Benefits Performance Improvements • Reduced layout calculations • Optimized layout process to prevent “Layout Storms” • Improved event handling response time
  • 6. Features & Benefits Memory Management Improvements • Fixes to several memory leaks. • DOM Leaks • Javascript Leaks • Auto-Removal of Event listeners: mon() adds listeners to an internal collection which is destroyed when the object is destroyed, assisting you in memory management.
  • 7. Features & Benefits Accessibility / Simplified Theming • Section 508 and ARIA Support • Easy Keyboard navigation with Focus Manager • Screen reader support • High contrast theme for all components
  • 8. Core Framework Changes Stronger Error reporting • More robust error handling throughout the framework to assist during a debug process • The developer will be alerted to the issue allowing them to quickly find the point of failure and rectify the problem. • Example: "DataProxy attempted to execute an API-action but found an undefined url / function. Please review your Proxy url/api-configuration."
  • 9. Core Framework Changes New UI Components  RowEditor  Tree Grid  ListView  Pivot Grid  Charting Components  Calendar Panel  ButtonGroup  Composite Field  GroupTabs  Slider Field Enhanced Components  Buttons  Grid Column Locking  Toolbar Overflow  Grid Column Grouping  Menu Overflow  Multiple Data Sorting and  AnchorTips filtering  Buffered GridView  DataView transitions  Debug Console  Toolbar Plugins
  • 10. Core Framework Changes Data Package Enhancements • REST Support in Data Stores • Supports Full CRUD operations
  • 11. Core Framework Changes Data Package Enhancements • CRUD support with Ext.data.DataWriter The store exposes several methods like save and create which will trigger communication with the server-side
  • 12. Operative One Code Changes Deprecated • Ext 2.2 Library • SliderField.js • Calculator.js • DateSlider.js • ColumnField.js • PaymentItemCards.js • SLIPagingToolbar.js • GridRowChecker.js • SlideZone.js Relocated • 3P “extensions” folder • SlideZone.js • Calculator.js • SliderField.js • ColumnField.js • DateSlider.js • SLIPagingToolbar.js • PaymentItemCards.js New & Updated • Ext 3.4 Library • SliderField.js • overrides.js • DateSlider.js • overrides.css • PaymentItemCards.js
  • 13. Operative One Code Changes Data Package / DWR Proxy
  • 14. Operative One Code Changes Layout configurations
  • 15. Operative One Code Changes Pagination Toolbar
  • 16. Operative One Code Changes Column Editor • No explicit use of the Ext.Editor / Ext.grid.GridEditor when setting column editors. • Column Definition: { header : “Unit Cost”, editor : new Ext.form.TextField() } • Access Field (Old way): column.editor.field.store • Access Field (New way): column.editor.store
  • 17. Operative One Code Changes Listener Setup • set scope per individual listener, especially for LovCombos.
  • 18. Operative One Code Changes Other Changes 1. this.remove() only works with direct children. A.remove(B) only works if B is a direct child of A. 2. Use anchor with “100%” value instead of “-20” 3. Setting collapsible to true will automatically create a header. Set header to false in this case. 4. Don’t explicitely set labelWidth. It’s now set for you by default. 5. Don't rely on record.id. It returns (ext-record-145) 6. Use wrapper methods instead of accessing properties directly. 7. Use enable(), disable(), show() hide() instead of setDisabled(true/false) and setVisible(true/false)
  • 19. Operative One Code Changes Other Changes 8. DON’T USE STATIC IDS AT ALL. Use relative references as this.deleteButton or use itemId or name as alternative attribute. 9. Setting autoHeight with auto layouts might affect toolbar widths. Only use it if needed.
  • 20. Operative One Code Changes Performance Considerations • Use Ext.Container instead of Ext.Panel whenever possible • use a container instead of a panel when advanced configuration like toolbars and headers aren't needed. • Keep component hierarchy as flat as possible • Every additional container level increases the layouting/ rendering time, try to merge container levels when possible.
  • 21. References Sencha, Inc • http://www.sencha.com Ext Version Archives • http://www.sencha.com/learn/legacy/Ext_Version_Archives Ext3.x Features & Release Notes: • http://www.sencha.com/blog/ext-js-30-be-outstanding • http://www.sencha.com/blog/ext-js-30-rc11-released/ • http://www.sencha.com/blog/ext-js-30-rc2-release-stable-robust-and- enhanced/ • http://www.sencha.com/blog/ext-js-31-massive-memory-improvements- treegrid-and-more/ • http://www.sencha.com/blog/ext-js-32-final-released/ • http://www.sencha.com/blog/announcing-ext-js-33-beta-pivotgrids- calendars-and-more/ • http://www.sencha.com/blog/ext-js-33-beta-2-released/

Hinweis der Redaktion

  1. During this presentation, I’ll explain the reasons for adopting Ext 3 and also outline some of the key features and benefits after the upgrade.
  2. During this presentation, I’ll explain the reasons in adopting Ext 3 and also outline some of the key features and benefits of this upgrade.
  3. - Let’s look at why migrating to Ext3 has become a necessary task.- As you can see on the release timeline on the left, Ext3.4 represents 3 years of active development, since Ext2.2. What this means is massive amount of bug fixes. - Plus many new features and enhancements that not only enhance the user experience but also helps simplify code complexity.- Cross browser compatibility has also been improved as well and now covers all of the major web browsers. There are also improvements in performance.
  4. Redundant calls to expensive layout calculations were reduced wherever possible.Resizing of child containers is suspended until the layout process is complete which prevents a "Layout Storm" which could occur previously.The event caching mechanism was overhauled to provide a faster response time. Buffered and deferred events are now being removed during element and component destruction stopping extraneous events from being executed.
  5. Since Ext JS 3.1, a wide array of workarounds for memory leaks have been implemented—most notably in IE 6+. Ext JS 3.1 has undergone extensive refactoring to ensure all components are properly removing DOM references.New Element caching flushing of unused elements during garbageCollection in IE. In certain tests, we gained a 50x memory reduction for long-running single-page apps.
  6. - Locking grids columns allow users to view specific columns while scrolling horizontally.- Grid columns can now be grouped together easily. Columns can also be reordered within a group, for maximum flexibility. - TreeGrid combines the power of a Grid(sorting, showing additional information) with the flexibility and UI of a Tree.- PivotGrids are a data summarization tool that are great for breaking large datasets down into an understandable format. -
  7. A single store using the Proxy, Reader and Writer together through a RESTful interface.By setting restful to true, the store will automatically generate GET, POST, PUT and DELETE requests to the server.
  8. DataWriter (along with descendant JsonWriter) along with the Reader and Proxy enable full CRUD operations