SlideShare a Scribd company logo
1 of 24
EXT JS FRAMEWORK




         Sergiu-George Boboc
EXT JS FRAMEWORK

                        OVERVIEW
1. What is EXT JS?
2. UI Widgets
        2.1 Panels, Forms
        2.2 Menus, toolbars, buttons
        2.3 Displaying Data with Grids
        2.4 Editable Grids
        2.5 Trees
        2.6 Windows and Dialogs
        2.7 Charts
3. Layouts
4. Working with Data
5. Other features
6. Resources
1. What is Ext JS
 E   • Ext JS,is a cross-browser JavaScript library for building
X      rich internet applications, using techniques such as
 T     AJAX, DHTML and DOM scripting
JS
     • Originally built as an extension of YUI, Ext JS can now
       also extend jQuery and Prototype.
F
R    • In early 2006, Jack Slocum began working on a set of
A      extension utilities for the Yahoo! User Interface (YUI)
M      library. These extensions were quickly organized into
E      an independent library of code and distributed under
W      the name "yui-ext”
O    • By the end of the year, the library had gained so much
R      in popularity that the name was changed simply to Ext
K
Ext JS supports all major web browsers including:
     • Internet Explorer 6+
     • Firefox 3.6+ (PC, Mac)
 E   • Safari 3+
X
     • Chrome 6+
 T
JS   • Opera 10.5+ (PC, Mac)

F
R    Ext JS releases
A
M
E
W
O
R
K
Why Ext JS?
     • as a client-side framework, Ext JS can run against any
       server platform that can process POST requests and
 E     return structured data. Common choices include PHP,
X      Java, .NET and many more.
 T
JS
     •   Mature library
F
R    •   Extensible, object-oriented architecture
A    •   Good documentation and community support
M    •   Already adopted by important clients
E
W
O
R
K
Why Ext JS?
     • Dual licensing model – GPL and commercial with
       support
 E   • Feature-rich UI widgets (windows, panels, grids, forms,
X      buttons, trees, toolbars, menus, etc.)
 T
JS

F
R
A
M
E
W
O
R
K
EXT JS FRAMEWORK

                  2. UI Widgets
2.1   Forms
2.2   Menus, toolbars, buttons
2.3   Displaying Data with Grids
2.4   Editable Grids
2.5   Trees
2.6   Windows and Dialogs
2.7   Charts
2.1 Panels, Forms
 E
X
 T
JS

F
R
A
M
E
W
O
R
K
     Load and submit form values asynchronously
2.2 Menus, toolbars, buttons
 E
X
 T
JS

F
R
A
M
E
W
O
R
K
2.3 Displaying Data with Grids
 E
X
 T
JS   XML FILE
     <Items>
                <Request>

F                   <IsValid>True</IsValid>
                    <ItemSearchRequest>

R
                        <Author>Sidney Sheldon</Author>
                        <SearchIndex>Books</SearchIndex>
                    </ItemSearchRequest>

A               </Request>
                <TotalResults>203</TotalResults>

M
                <TotalPages>21</TotalPages>
                <Item>
                    <ASIN>0446355453</ASIN>
E                   <DetailPageURL>
                        …

W                   </DetailPageURL>
                    <ItemAttributes>

O
                        <Author>Sidney Sheldon</Author>
                        <Manufacturer>Warner Books</Manufacturer>
                        <ProductGroup>Book</ProductGroup>

R                       <Title>Master of the Game</Title>
                    </ItemAttributes>

K
                </Item>
     ……
     </Items>

     http://dev.sencha.com/deploy/ext-4.0.2a/examples/grid/xml-grid.html
2.3 Displaying Data with Grids
     Ext.onReady(function(){

 E
         Ext.define('Book',{
             extend: 'Ext.data.Model',
             fields: [

X                // set up the fields mapping into the xml doc
                 // The first needs mapping, the others are very basic
                 {name: 'Author', mapping: 'ItemAttributes > Author'},
 T       });
                 'Title', 'Manufacturer', 'ProductGroup']


JS
         // create the Data Store
         var store = Ext.create('Ext.data.Store', {
             model: 'Book',
             autoLoad: true,
             proxy: {
                 // load using HTTP
F                type: 'ajax',
                 url: 'sheldon.xml',

R
                 // the return will be XML, so lets set up a reader
                 reader: {
                      type: 'xml',

A                     // records will have an "Item" tag
                      record: 'Item',
                      idProperty: 'ASIN',
M                }
                      totalRecords: '@total'


E
             }
         });
         // create the grid

W        var grid = Ext.create('Ext.grid.Panel', {
             store: store,
             columns: [
O                {text: "Author", flex: 1, dataIndex: 'Author', sortable: true},
                 {text: "Title", width: 180, dataIndex: 'Title', sortable: true},

R
                 {text: "Manufacturer", width: 115, dataIndex: 'Manufacturer', sortable: true},
                 {text: "Product Group", width: 100, dataIndex: 'ProductGroup', sortable: true}
             ],

K            renderTo:'example-grid',
             width: 540,
             height: 200
         });
     });
2.3 Displaying Data with Grids
 E
X
 T
JS

F
R
A
M
E
W
O    • Configurable features:
R    paging, filtering, progress bar, sorting, cell and row editing, locking,
K    searching, buffered scrolling, etc.
     • Customizable data views
     • Plugins
2.4 Editable Grids
 E
X
 T
JS

F
R
A
M
E
W
O
R
K
2.4 Trees
 E
X
 T
JS

F
R
A
M
E
W
O
R
K
2.4 Windows and Dialogs
 E
X
 T
JS

F
R
A
M
E
W
O
R
K
2.4 Windows and Dialogs
 E
X
 T
JS

F
R
A
M
E
W
O
R
K
2.5 Charts
 E
X
 T
JS

F
R
A
M
E
W
O
R
K
EXT JS FRAMEWORK

                            3. Layouts
Accordion layout                           Anchor layout (form)



Anchor layout (panel)                      Column layout



Table layout                               HBox layout



VBox layout                                Border Layout



Card layout - TAB                          Card Layout – WHIZARD


 http://dev.sencha.com/deploy/ext-4.0.2a/examples/layout-browser/layout-browser.html
EXT JS FRAMEWORK

           4. Working with Data

       Clean separation of presentation and data.
       Thin client which connects to web services.
       Data encapsulated in JSON/XML
{                       <data>
    person: {             <person>
      name: 'Ali',          <name>Ali</name>
      age: 15,              <age>15</age>
      isCitizen: true       <isCitizen>true</isCitizen>
    }                     </person>
}                       </data>
4. Working with Data
 E
X
 T
JS                     JSON/
                        XML

F                                  Web
     Backend    WS
R                                Browser
A
M
E
W
O
R
K
4. Working with Data
         Store manage data
 E            Fetch from a web service, or
X             using loadData()
 T       Kept as Record

JS

F                   JSON/XML

R           WS                     Store        Record
A
M
E
W                       UI Components displays the
O                        data
R
K
4. Working with Data
 E               var btn = new Ext.Button({
X                    text: 'Click me!',
 T                   width: 200,
                     height: 100,
JS
     listeners       listeners: {
                         'click': function() {
F    on()                    alert('Clicked!');
R    handler             }
A                    }
                 });
M
E                btn.on('mouseover', function() {
W                    alert('Hovered!');
O                });
R
K
EXT JS FRAMEWORK

          5. Other features
   Themes
   Accessibility
   SVG drawing
   Drag-and-drop support
   Data-views
   Google-maps
   Resizable components
   Quick tips
   Keyboard navigation
   Templates
EXT JS FRAMEWORK

               6. Resources
Website:
   http://www.sencha.com/products/extjs/
Samples:
   http://www.sencha.com/products/extjs/examples/
Documentation:
   http://docs.sencha.com/ext-js/4-0/
Forum:
   http://www.sencha.com/forum/
Learn:
   http://www.sencha.com/learn/extjs/?4x
Screencast:
    http://www.extjs.tv
   http://docs.sencha.com/ext-js/4-0/#!/video

More Related Content

What's hot

Html and css presentation
Html and css presentationHtml and css presentation
Html and css presentationumesh patil
 
Introduction to whats new in css3
Introduction to whats new in css3Introduction to whats new in css3
Introduction to whats new in css3Usman Mehmood
 
Rich Internet Applications con JavaFX e NetBeans
Rich Internet Applications  con JavaFX e NetBeans Rich Internet Applications  con JavaFX e NetBeans
Rich Internet Applications con JavaFX e NetBeans Fabrizio Giudici
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object ModelWebStackAcademy
 
Efficient use of jQuery selector
Efficient use of jQuery selectorEfficient use of jQuery selector
Efficient use of jQuery selectorchandrashekher786
 
Boostrap basics
Boostrap basicsBoostrap basics
Boostrap basicsJTechTown
 
Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3Devang Garach
 
HTML & CSS Workshop Notes
HTML & CSS Workshop NotesHTML & CSS Workshop Notes
HTML & CSS Workshop NotesPamela Fox
 
Persistence on iOS
Persistence on iOSPersistence on iOS
Persistence on iOSMake School
 
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложенияCodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложенияCodeFest
 
[2015/2016] Require JS and Handlebars JS
[2015/2016] Require JS and Handlebars JS[2015/2016] Require JS and Handlebars JS
[2015/2016] Require JS and Handlebars JSIvano Malavolta
 
Class Intro / HTML Basics
Class Intro / HTML BasicsClass Intro / HTML Basics
Class Intro / HTML BasicsShawn Calvert
 
HTML 5 Complete Reference
HTML 5 Complete ReferenceHTML 5 Complete Reference
HTML 5 Complete ReferenceEPAM Systems
 
Everything you need to know about PowerShell
Everything you need to know about PowerShellEverything you need to know about PowerShell
Everything you need to know about PowerShellShane Hoey
 
Web development basics (Part-1)
Web development basics (Part-1)Web development basics (Part-1)
Web development basics (Part-1)Rajat Pratap Singh
 
Ejb3 Struts Tutorial En
Ejb3 Struts Tutorial EnEjb3 Struts Tutorial En
Ejb3 Struts Tutorial EnAnkur Dongre
 

What's hot (20)

Html and css presentation
Html and css presentationHtml and css presentation
Html and css presentation
 
Jquery fundamentals
Jquery fundamentalsJquery fundamentals
Jquery fundamentals
 
Introduction to whats new in css3
Introduction to whats new in css3Introduction to whats new in css3
Introduction to whats new in css3
 
Rich Internet Applications con JavaFX e NetBeans
Rich Internet Applications  con JavaFX e NetBeans Rich Internet Applications  con JavaFX e NetBeans
Rich Internet Applications con JavaFX e NetBeans
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object Model
 
Hushang Gaikwad
Hushang GaikwadHushang Gaikwad
Hushang Gaikwad
 
Efficient use of jQuery selector
Efficient use of jQuery selectorEfficient use of jQuery selector
Efficient use of jQuery selector
 
Boostrap basics
Boostrap basicsBoostrap basics
Boostrap basics
 
Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3Intro to HTML, CSS & JS - Internship Presentation Week-3
Intro to HTML, CSS & JS - Internship Presentation Week-3
 
HTML & CSS Workshop Notes
HTML & CSS Workshop NotesHTML & CSS Workshop Notes
HTML & CSS Workshop Notes
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Persistence on iOS
Persistence on iOSPersistence on iOS
Persistence on iOS
 
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложенияCodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
CodeFest 2014. Пухальский И. — Отзывчивые кроссплатформенные веб-приложения
 
[2015/2016] Require JS and Handlebars JS
[2015/2016] Require JS and Handlebars JS[2015/2016] Require JS and Handlebars JS
[2015/2016] Require JS and Handlebars JS
 
Class Intro / HTML Basics
Class Intro / HTML BasicsClass Intro / HTML Basics
Class Intro / HTML Basics
 
HTML 5 Complete Reference
HTML 5 Complete ReferenceHTML 5 Complete Reference
HTML 5 Complete Reference
 
Everything you need to know about PowerShell
Everything you need to know about PowerShellEverything you need to know about PowerShell
Everything you need to know about PowerShell
 
Web development basics (Part-1)
Web development basics (Part-1)Web development basics (Part-1)
Web development basics (Part-1)
 
HTML/CSS Lecture 1
HTML/CSS Lecture 1HTML/CSS Lecture 1
HTML/CSS Lecture 1
 
Ejb3 Struts Tutorial En
Ejb3 Struts Tutorial EnEjb3 Struts Tutorial En
Ejb3 Struts Tutorial En
 

Similar to Ext JS Presentation

Creating a Single View Part 2: Loading Disparate Source Data and Creating a S...
Creating a Single View Part 2: Loading Disparate Source Data and Creating a S...Creating a Single View Part 2: Loading Disparate Source Data and Creating a S...
Creating a Single View Part 2: Loading Disparate Source Data and Creating a S...MongoDB
 
What's New for Developers in SQL Server 2008?
What's New for Developers in SQL Server 2008?What's New for Developers in SQL Server 2008?
What's New for Developers in SQL Server 2008?ukdpe
 
SQL Server 2008 Overview
SQL Server 2008 OverviewSQL Server 2008 Overview
SQL Server 2008 OverviewEric Nelson
 
The Magic Revealed: Four Real-World Examples of Using the Client Object Model...
The Magic Revealed: Four Real-World Examples of Using the Client Object Model...The Magic Revealed: Four Real-World Examples of Using the Client Object Model...
The Magic Revealed: Four Real-World Examples of Using the Client Object Model...SPTechCon
 
MongoDB at the Silicon Valley iPhone and iPad Developers' Meetup
MongoDB at the Silicon Valley iPhone and iPad Developers' MeetupMongoDB at the Silicon Valley iPhone and iPad Developers' Meetup
MongoDB at the Silicon Valley iPhone and iPad Developers' MeetupMongoDB
 
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)Red Hat Developers
 
Developing your first application using FI-WARE
Developing your first application using FI-WAREDeveloping your first application using FI-WARE
Developing your first application using FI-WAREFermin Galan
 
Developing your first application using FIWARE
Developing your first application using FIWAREDeveloping your first application using FIWARE
Developing your first application using FIWAREFIWARE
 
Working with XML and JSON Serializing
Working with XML and JSON SerializingWorking with XML and JSON Serializing
Working with XML and JSON Serializingssusere19c741
 
Web Development Study Jam #2 _ Basic JavaScript.pptx
Web Development Study Jam #2 _ Basic JavaScript.pptxWeb Development Study Jam #2 _ Basic JavaScript.pptx
Web Development Study Jam #2 _ Basic JavaScript.pptxSekarMaduKusumawarda1
 
Wire It 0.5.0 Presentation
Wire It 0.5.0 PresentationWire It 0.5.0 Presentation
Wire It 0.5.0 PresentationEric Abouaf
 
Native Phone Development 101
Native Phone Development 101Native Phone Development 101
Native Phone Development 101Sasmito Adibowo
 
Softshake - Offline applications
Softshake - Offline applicationsSoftshake - Offline applications
Softshake - Offline applicationsjeromevdl
 

Similar to Ext JS Presentation (20)

Creating a Single View Part 2: Loading Disparate Source Data and Creating a S...
Creating a Single View Part 2: Loading Disparate Source Data and Creating a S...Creating a Single View Part 2: Loading Disparate Source Data and Creating a S...
Creating a Single View Part 2: Loading Disparate Source Data and Creating a S...
 
What's New for Developers in SQL Server 2008?
What's New for Developers in SQL Server 2008?What's New for Developers in SQL Server 2008?
What's New for Developers in SQL Server 2008?
 
SQL Server 2008 Overview
SQL Server 2008 OverviewSQL Server 2008 Overview
SQL Server 2008 Overview
 
Ext JS Introduction
Ext JS IntroductionExt JS Introduction
Ext JS Introduction
 
treeview
treeviewtreeview
treeview
 
treeview
treeviewtreeview
treeview
 
The Magic Revealed: Four Real-World Examples of Using the Client Object Model...
The Magic Revealed: Four Real-World Examples of Using the Client Object Model...The Magic Revealed: Four Real-World Examples of Using the Client Object Model...
The Magic Revealed: Four Real-World Examples of Using the Client Object Model...
 
MongoDB at the Silicon Valley iPhone and iPad Developers' Meetup
MongoDB at the Silicon Valley iPhone and iPad Developers' MeetupMongoDB at the Silicon Valley iPhone and iPad Developers' Meetup
MongoDB at the Silicon Valley iPhone and iPad Developers' Meetup
 
R data interfaces
R data interfacesR data interfaces
R data interfaces
 
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
Boost Development With Java EE7 On EAP7 (Demitris Andreadis)
 
Developing your first application using FI-WARE
Developing your first application using FI-WAREDeveloping your first application using FI-WARE
Developing your first application using FI-WARE
 
Developing your first application using FIWARE
Developing your first application using FIWAREDeveloping your first application using FIWARE
Developing your first application using FIWARE
 
Local Storage
Local StorageLocal Storage
Local Storage
 
Play 2.0
Play 2.0Play 2.0
Play 2.0
 
Learning with F#
Learning with F#Learning with F#
Learning with F#
 
Working with XML and JSON Serializing
Working with XML and JSON SerializingWorking with XML and JSON Serializing
Working with XML and JSON Serializing
 
Web Development Study Jam #2 _ Basic JavaScript.pptx
Web Development Study Jam #2 _ Basic JavaScript.pptxWeb Development Study Jam #2 _ Basic JavaScript.pptx
Web Development Study Jam #2 _ Basic JavaScript.pptx
 
Wire It 0.5.0 Presentation
Wire It 0.5.0 PresentationWire It 0.5.0 Presentation
Wire It 0.5.0 Presentation
 
Native Phone Development 101
Native Phone Development 101Native Phone Development 101
Native Phone Development 101
 
Softshake - Offline applications
Softshake - Offline applicationsSoftshake - Offline applications
Softshake - Offline applications
 

Recently uploaded

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Recently uploaded (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Ext JS Presentation

  • 1. EXT JS FRAMEWORK Sergiu-George Boboc
  • 2. EXT JS FRAMEWORK OVERVIEW 1. What is EXT JS? 2. UI Widgets 2.1 Panels, Forms 2.2 Menus, toolbars, buttons 2.3 Displaying Data with Grids 2.4 Editable Grids 2.5 Trees 2.6 Windows and Dialogs 2.7 Charts 3. Layouts 4. Working with Data 5. Other features 6. Resources
  • 3. 1. What is Ext JS E • Ext JS,is a cross-browser JavaScript library for building X rich internet applications, using techniques such as T AJAX, DHTML and DOM scripting JS • Originally built as an extension of YUI, Ext JS can now also extend jQuery and Prototype. F R • In early 2006, Jack Slocum began working on a set of A extension utilities for the Yahoo! User Interface (YUI) M library. These extensions were quickly organized into E an independent library of code and distributed under W the name "yui-ext” O • By the end of the year, the library had gained so much R in popularity that the name was changed simply to Ext K
  • 4. Ext JS supports all major web browsers including: • Internet Explorer 6+ • Firefox 3.6+ (PC, Mac) E • Safari 3+ X • Chrome 6+ T JS • Opera 10.5+ (PC, Mac) F R Ext JS releases A M E W O R K
  • 5. Why Ext JS? • as a client-side framework, Ext JS can run against any server platform that can process POST requests and E return structured data. Common choices include PHP, X Java, .NET and many more. T JS • Mature library F R • Extensible, object-oriented architecture A • Good documentation and community support M • Already adopted by important clients E W O R K
  • 6. Why Ext JS? • Dual licensing model – GPL and commercial with support E • Feature-rich UI widgets (windows, panels, grids, forms, X buttons, trees, toolbars, menus, etc.) T JS F R A M E W O R K
  • 7. EXT JS FRAMEWORK 2. UI Widgets 2.1 Forms 2.2 Menus, toolbars, buttons 2.3 Displaying Data with Grids 2.4 Editable Grids 2.5 Trees 2.6 Windows and Dialogs 2.7 Charts
  • 8. 2.1 Panels, Forms E X T JS F R A M E W O R K Load and submit form values asynchronously
  • 9. 2.2 Menus, toolbars, buttons E X T JS F R A M E W O R K
  • 10. 2.3 Displaying Data with Grids E X T JS XML FILE <Items> <Request> F <IsValid>True</IsValid> <ItemSearchRequest> R <Author>Sidney Sheldon</Author> <SearchIndex>Books</SearchIndex> </ItemSearchRequest> A </Request> <TotalResults>203</TotalResults> M <TotalPages>21</TotalPages> <Item> <ASIN>0446355453</ASIN> E <DetailPageURL> … W </DetailPageURL> <ItemAttributes> O <Author>Sidney Sheldon</Author> <Manufacturer>Warner Books</Manufacturer> <ProductGroup>Book</ProductGroup> R <Title>Master of the Game</Title> </ItemAttributes> K </Item> …… </Items> http://dev.sencha.com/deploy/ext-4.0.2a/examples/grid/xml-grid.html
  • 11. 2.3 Displaying Data with Grids Ext.onReady(function(){ E Ext.define('Book',{ extend: 'Ext.data.Model', fields: [ X // set up the fields mapping into the xml doc // The first needs mapping, the others are very basic {name: 'Author', mapping: 'ItemAttributes > Author'}, T }); 'Title', 'Manufacturer', 'ProductGroup'] JS // create the Data Store var store = Ext.create('Ext.data.Store', { model: 'Book', autoLoad: true, proxy: { // load using HTTP F type: 'ajax', url: 'sheldon.xml', R // the return will be XML, so lets set up a reader reader: { type: 'xml', A // records will have an "Item" tag record: 'Item', idProperty: 'ASIN', M } totalRecords: '@total' E } }); // create the grid W var grid = Ext.create('Ext.grid.Panel', { store: store, columns: [ O {text: "Author", flex: 1, dataIndex: 'Author', sortable: true}, {text: "Title", width: 180, dataIndex: 'Title', sortable: true}, R {text: "Manufacturer", width: 115, dataIndex: 'Manufacturer', sortable: true}, {text: "Product Group", width: 100, dataIndex: 'ProductGroup', sortable: true} ], K renderTo:'example-grid', width: 540, height: 200 }); });
  • 12. 2.3 Displaying Data with Grids E X T JS F R A M E W O • Configurable features: R paging, filtering, progress bar, sorting, cell and row editing, locking, K searching, buffered scrolling, etc. • Customizable data views • Plugins
  • 13. 2.4 Editable Grids E X T JS F R A M E W O R K
  • 14. 2.4 Trees E X T JS F R A M E W O R K
  • 15. 2.4 Windows and Dialogs E X T JS F R A M E W O R K
  • 16. 2.4 Windows and Dialogs E X T JS F R A M E W O R K
  • 17. 2.5 Charts E X T JS F R A M E W O R K
  • 18. EXT JS FRAMEWORK 3. Layouts Accordion layout Anchor layout (form) Anchor layout (panel) Column layout Table layout HBox layout VBox layout Border Layout Card layout - TAB Card Layout – WHIZARD http://dev.sencha.com/deploy/ext-4.0.2a/examples/layout-browser/layout-browser.html
  • 19. EXT JS FRAMEWORK 4. Working with Data  Clean separation of presentation and data.  Thin client which connects to web services.  Data encapsulated in JSON/XML { <data> person: { <person> name: 'Ali', <name>Ali</name> age: 15, <age>15</age> isCitizen: true <isCitizen>true</isCitizen> } </person> } </data>
  • 20. 4. Working with Data E X T JS JSON/ XML F Web Backend WS R Browser A M E W O R K
  • 21. 4. Working with Data  Store manage data E  Fetch from a web service, or X  using loadData() T  Kept as Record JS F JSON/XML R WS Store Record A M E W  UI Components displays the O data R K
  • 22. 4. Working with Data E var btn = new Ext.Button({ X text: 'Click me!', T width: 200, height: 100, JS listeners listeners: { 'click': function() { F on() alert('Clicked!'); R handler } A } }); M E btn.on('mouseover', function() { W alert('Hovered!'); O }); R K
  • 23. EXT JS FRAMEWORK 5. Other features  Themes  Accessibility  SVG drawing  Drag-and-drop support  Data-views  Google-maps  Resizable components  Quick tips  Keyboard navigation  Templates
  • 24. EXT JS FRAMEWORK 6. Resources Website: http://www.sencha.com/products/extjs/ Samples: http://www.sencha.com/products/extjs/examples/ Documentation: http://docs.sencha.com/ext-js/4-0/ Forum: http://www.sencha.com/forum/ Learn: http://www.sencha.com/learn/extjs/?4x Screencast: http://www.extjs.tv http://docs.sencha.com/ext-js/4-0/#!/video