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

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix 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
 
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
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 

Último (20)

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
[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
 
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
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 

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