SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

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
 

La actualidad más candente (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 a 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 a 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
 

Último

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
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
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
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
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
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
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
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
 

Último (20)

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
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
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
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
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
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
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
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
 

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