SlideShare a Scribd company logo
1 of 24
(An overview of the ExtJSJavaScript Framework)
2© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
Introduction to ExtJS
ExtJS is a java-script framework (client-side) that enables developers to develop Rich Internet
Applications (RIA) (static websites or data-driven applications) with a large number of options.
ExtJS has a huge collection of controls (ranging from textboxes to highly sophisticated UI Controls)
along with a brilliant demo + examples.
Points to Remember
• Since ExtJS is a java-script framework, all of the java script rules are applicable for ExtJS.
• ExtJS makes excellent & extensive use on DOM, CSS etc.
• ExtJS is case-sensitive, i.e., a != A
• ExtJS is “Asynchronous” by default.
3© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
WHY EXT JS ?
• This is really what matters (MVC)
o Easy Client-side data modeling
 Relational Models
o Simple to use GUI widgets
Client Side JS With ExtJS
• MVC for JavaScript
• Exactly same process for server side stack, except we now try to use the server as little as possible
o This allows for powerful client machines to do most of our processing and rendering
o Only allow the client to manipulate data that can be considered hostile!
4© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
Cross Browser
5© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
ExtJS View
• Since this is JavaScript, we immediately expect robust GUI widgets
• Of course, you can add CSS and style them
6© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
ExtJS Control
• This allows for very JavaScript is a functional language
• strong and very easy control logic
7© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
Good Documentation
8© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
Data Grid
•Sort
•Columns
•Editable
•Data source
•Filter
9© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
Charts
10© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
Calendars
11© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
Example Of Creating Tabs
12© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
What Else Extjs Can Do?
• Ajax support
• Dom traversing
• Dom manipulation
• Event Handling
• Selectors
• OOP emulation
• Animation
13© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
Component
• All widgets extends component class
• Provide base widget functions like
o enable()/disable()
o show()/hide()
o addClass()/removeClass()
o update(data/html) – update content area
o getEl() return element
o getId()
o getXType()
o render(target)
o focus()
• XType – alternate way to define component
o Lazy component creation
• var panel1 = {
• xtype : 'panel',
• title : 'Plain Panel',
• html : 'Panel with an xtype specified'
• }
• var myPanel = new Ext.Panel({
• renderTo : document.body,
• height : 50,
• width : 150,
• title : 'Panel',
• frame : true
• Components are managed by Ext.ComponentMgr
o get(componentId)
o registerType(xtype, object) (shorthand Ext.reg())
14© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
Container
• Handle the basic behavior of containing items, namely
adding, inserting and removing items
• Main functions
o add()
o remove()/removeAll()
o insert()
o find()/findBy()/findById()/findByType
o doLayout()
o get(index or id)/getComponent(component or index or id)
• Main prop
o Items - MixedCollection of children components
15© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
Panels
• Main panel functions/prop/conf prop
o load()
o body – prop
o html – conf prop
o autoLoad – conf prop
• Toolbar and Bottombar
• Panel subclasses
o TabPanel
o Window
o FormPanel
o GridPanel
o TreePanel
16© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
Layout
• Layouts manages by containers – there is no
need to create Layouts directly
• The most useful are Fit, VBox, HBox, Border
o Only VBox, HBox, Border layouts supports margins
• Flex prop of VBox, HBox
• BorderLayout must have center item
• Table layout does not support resizing of items
17© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
What We Did?
18© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
19© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
20© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
21© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
22© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
23© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
REFERENCES AND LINKS:
• Main Website
http://www.sencha.com/
• EXT JS Download
http://www.sencha.com/products/extjs/download/
• EXT JS API Documentation
http://dev.sencha.com/deploy/dev/docs/
• EXT JS Samples
http://dev.sencha.com/deploy/dev/examples/
24© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
Thank You!

More Related Content

Viewers also liked

Gedurfd realisme prioriteiten voor 25 mei
Gedurfd realisme   prioriteiten voor 25 meiGedurfd realisme   prioriteiten voor 25 mei
Gedurfd realisme prioriteiten voor 25 meiItinera Institute
 
Presentatie Svin Deneckere 28/01/2014
Presentatie Svin Deneckere 28/01/2014Presentatie Svin Deneckere 28/01/2014
Presentatie Svin Deneckere 28/01/2014Itinera Institute
 
Maatschappelijke weerbaarheid en radicalisering
Maatschappelijke weerbaarheid en radicaliseringMaatschappelijke weerbaarheid en radicalisering
Maatschappelijke weerbaarheid en radicaliseringguido walraven
 
20120701 oriëntatie onderwijs_ivdc_laatsteversie
20120701 oriëntatie onderwijs_ivdc_laatsteversie20120701 oriëntatie onderwijs_ivdc_laatsteversie
20120701 oriëntatie onderwijs_ivdc_laatsteversieItinera Institute
 
Présentation Bilal Benyaich 22-01-2014 FR
Présentation Bilal Benyaich 22-01-2014 FRPrésentation Bilal Benyaich 22-01-2014 FR
Présentation Bilal Benyaich 22-01-2014 FRItinera Institute
 

Viewers also liked (6)

Gedurfd realisme prioriteiten voor 25 mei
Gedurfd realisme   prioriteiten voor 25 meiGedurfd realisme   prioriteiten voor 25 mei
Gedurfd realisme prioriteiten voor 25 mei
 
Presentatie Svin Deneckere 28/01/2014
Presentatie Svin Deneckere 28/01/2014Presentatie Svin Deneckere 28/01/2014
Presentatie Svin Deneckere 28/01/2014
 
Maatschappelijke weerbaarheid en radicalisering
Maatschappelijke weerbaarheid en radicaliseringMaatschappelijke weerbaarheid en radicalisering
Maatschappelijke weerbaarheid en radicalisering
 
20120701 oriëntatie onderwijs_ivdc_laatsteversie
20120701 oriëntatie onderwijs_ivdc_laatsteversie20120701 oriëntatie onderwijs_ivdc_laatsteversie
20120701 oriëntatie onderwijs_ivdc_laatsteversie
 
Présentation Bilal Benyaich 22-01-2014 FR
Présentation Bilal Benyaich 22-01-2014 FRPrésentation Bilal Benyaich 22-01-2014 FR
Présentation Bilal Benyaich 22-01-2014 FR
 
Roadmap 2014-2019
Roadmap 2014-2019Roadmap 2014-2019
Roadmap 2014-2019
 

Similar to ExtjsPart1

Employee Info Starter Kit
Employee Info Starter KitEmployee Info Starter Kit
Employee Info Starter Kitjoycsc
 
Html5 today
Html5 todayHtml5 today
Html5 todayRoy Yu
 
Asp.NETZERO - A Workshop Presentation by Citytech Software
Asp.NETZERO - A Workshop Presentation by Citytech SoftwareAsp.NETZERO - A Workshop Presentation by Citytech Software
Asp.NETZERO - A Workshop Presentation by Citytech SoftwareRitwik Das
 
The future of web development write once, run everywhere with angular js an...
The future of web development   write once, run everywhere with angular js an...The future of web development   write once, run everywhere with angular js an...
The future of web development write once, run everywhere with angular js an...Mark Leusink
 
The future of web development write once, run everywhere with angular.js and ...
The future of web development write once, run everywhere with angular.js and ...The future of web development write once, run everywhere with angular.js and ...
The future of web development write once, run everywhere with angular.js and ...Mark Roden
 
LvivCSS: Web Components as a foundation for Design System
LvivCSS: Web Components as a foundation for Design SystemLvivCSS: Web Components as a foundation for Design System
LvivCSS: Web Components as a foundation for Design SystemVlad Fedosov
 
HTML5 Overview (Silicon Valley User Group)
HTML5 Overview (Silicon Valley User Group)HTML5 Overview (Silicon Valley User Group)
HTML5 Overview (Silicon Valley User Group)robinzimmermann
 
An Introduction to Web Components
An Introduction to Web ComponentsAn Introduction to Web Components
An Introduction to Web ComponentsRed Pill Now
 
Getting Started with HTML5 in Tech Com (STC 2012)
Getting Started with HTML5 in Tech Com (STC 2012)Getting Started with HTML5 in Tech Com (STC 2012)
Getting Started with HTML5 in Tech Com (STC 2012)Peter Lubbers
 
Accessibility Testing - Using Asqatasun - Meetup Webinar
Accessibility Testing - Using Asqatasun - Meetup WebinarAccessibility Testing - Using Asqatasun - Meetup Webinar
Accessibility Testing - Using Asqatasun - Meetup WebinarKeyur Shah
 
Web Development with Delphi and React - ITDevCon 2016
Web Development with Delphi and React - ITDevCon 2016Web Development with Delphi and React - ITDevCon 2016
Web Development with Delphi and React - ITDevCon 2016Marco Breveglieri
 
Adam Bien at GlassFish Community Event, JavaOne 2011
Adam Bien at GlassFish Community Event, JavaOne 2011Adam Bien at GlassFish Community Event, JavaOne 2011
Adam Bien at GlassFish Community Event, JavaOne 2011Arun Gupta
 
AngularJS 1.x - your first application (problems and solutions)
AngularJS 1.x - your first application (problems and solutions)AngularJS 1.x - your first application (problems and solutions)
AngularJS 1.x - your first application (problems and solutions)Igor Talevski
 
2008_478_Lyons_ppt.ppt
2008_478_Lyons_ppt.ppt2008_478_Lyons_ppt.ppt
2008_478_Lyons_ppt.pptChadharris42
 
NEW LAUNCH! Rapidly Build IoT applications - IOT216 - re:Invent 2017
NEW LAUNCH! Rapidly Build IoT applications - IOT216 - re:Invent 2017NEW LAUNCH! Rapidly Build IoT applications - IOT216 - re:Invent 2017
NEW LAUNCH! Rapidly Build IoT applications - IOT216 - re:Invent 2017Amazon Web Services
 
Node.js and the MySQL Document Store
Node.js and the MySQL Document StoreNode.js and the MySQL Document Store
Node.js and the MySQL Document StoreRui Quelhas
 
Lessons learned Building Nuxeo EP - Component-based, open source ECM platform
Lessons learned Building Nuxeo EP - Component-based, open source ECM platformLessons learned Building Nuxeo EP - Component-based, open source ECM platform
Lessons learned Building Nuxeo EP - Component-based, open source ECM platformNuxeo
 

Similar to ExtjsPart1 (20)

AWValuePitch, 7_12
AWValuePitch, 7_12AWValuePitch, 7_12
AWValuePitch, 7_12
 
Employee Info Starter Kit
Employee Info Starter KitEmployee Info Starter Kit
Employee Info Starter Kit
 
Html5 today
Html5 todayHtml5 today
Html5 today
 
Asp.NETZERO - A Workshop Presentation by Citytech Software
Asp.NETZERO - A Workshop Presentation by Citytech SoftwareAsp.NETZERO - A Workshop Presentation by Citytech Software
Asp.NETZERO - A Workshop Presentation by Citytech Software
 
The future of web development write once, run everywhere with angular js an...
The future of web development   write once, run everywhere with angular js an...The future of web development   write once, run everywhere with angular js an...
The future of web development write once, run everywhere with angular js an...
 
The future of web development write once, run everywhere with angular.js and ...
The future of web development write once, run everywhere with angular.js and ...The future of web development write once, run everywhere with angular.js and ...
The future of web development write once, run everywhere with angular.js and ...
 
LvivCSS: Web Components as a foundation for Design System
LvivCSS: Web Components as a foundation for Design SystemLvivCSS: Web Components as a foundation for Design System
LvivCSS: Web Components as a foundation for Design System
 
HTML5 Overview (Silicon Valley User Group)
HTML5 Overview (Silicon Valley User Group)HTML5 Overview (Silicon Valley User Group)
HTML5 Overview (Silicon Valley User Group)
 
An Introduction to Web Components
An Introduction to Web ComponentsAn Introduction to Web Components
An Introduction to Web Components
 
Getting Started with HTML5 in Tech Com (STC 2012)
Getting Started with HTML5 in Tech Com (STC 2012)Getting Started with HTML5 in Tech Com (STC 2012)
Getting Started with HTML5 in Tech Com (STC 2012)
 
Accessibility Testing - Using Asqatasun - Meetup Webinar
Accessibility Testing - Using Asqatasun - Meetup WebinarAccessibility Testing - Using Asqatasun - Meetup Webinar
Accessibility Testing - Using Asqatasun - Meetup Webinar
 
Web Development with Delphi and React - ITDevCon 2016
Web Development with Delphi and React - ITDevCon 2016Web Development with Delphi and React - ITDevCon 2016
Web Development with Delphi and React - ITDevCon 2016
 
Adam Bien at GlassFish Community Event, JavaOne 2011
Adam Bien at GlassFish Community Event, JavaOne 2011Adam Bien at GlassFish Community Event, JavaOne 2011
Adam Bien at GlassFish Community Event, JavaOne 2011
 
AngularJS 1.x - your first application (problems and solutions)
AngularJS 1.x - your first application (problems and solutions)AngularJS 1.x - your first application (problems and solutions)
AngularJS 1.x - your first application (problems and solutions)
 
2008_478_Lyons_ppt.ppt
2008_478_Lyons_ppt.ppt2008_478_Lyons_ppt.ppt
2008_478_Lyons_ppt.ppt
 
Prueba ppt
Prueba pptPrueba ppt
Prueba ppt
 
Html5v1
Html5v1Html5v1
Html5v1
 
NEW LAUNCH! Rapidly Build IoT applications - IOT216 - re:Invent 2017
NEW LAUNCH! Rapidly Build IoT applications - IOT216 - re:Invent 2017NEW LAUNCH! Rapidly Build IoT applications - IOT216 - re:Invent 2017
NEW LAUNCH! Rapidly Build IoT applications - IOT216 - re:Invent 2017
 
Node.js and the MySQL Document Store
Node.js and the MySQL Document StoreNode.js and the MySQL Document Store
Node.js and the MySQL Document Store
 
Lessons learned Building Nuxeo EP - Component-based, open source ECM platform
Lessons learned Building Nuxeo EP - Component-based, open source ECM platformLessons learned Building Nuxeo EP - Component-based, open source ECM platform
Lessons learned Building Nuxeo EP - Component-based, open source ECM platform
 

Recently uploaded

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
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
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Recently uploaded (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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...
 
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...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

ExtjsPart1

  • 1. (An overview of the ExtJSJavaScript Framework)
  • 2. 2© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL Introduction to ExtJS ExtJS is a java-script framework (client-side) that enables developers to develop Rich Internet Applications (RIA) (static websites or data-driven applications) with a large number of options. ExtJS has a huge collection of controls (ranging from textboxes to highly sophisticated UI Controls) along with a brilliant demo + examples. Points to Remember • Since ExtJS is a java-script framework, all of the java script rules are applicable for ExtJS. • ExtJS makes excellent & extensive use on DOM, CSS etc. • ExtJS is case-sensitive, i.e., a != A • ExtJS is “Asynchronous” by default.
  • 3. 3© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL WHY EXT JS ? • This is really what matters (MVC) o Easy Client-side data modeling  Relational Models o Simple to use GUI widgets Client Side JS With ExtJS • MVC for JavaScript • Exactly same process for server side stack, except we now try to use the server as little as possible o This allows for powerful client machines to do most of our processing and rendering o Only allow the client to manipulate data that can be considered hostile!
  • 4. 4© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL Cross Browser
  • 5. 5© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL ExtJS View • Since this is JavaScript, we immediately expect robust GUI widgets • Of course, you can add CSS and style them
  • 6. 6© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL ExtJS Control • This allows for very JavaScript is a functional language • strong and very easy control logic
  • 7. 7© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL Good Documentation
  • 8. 8© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL Data Grid •Sort •Columns •Editable •Data source •Filter
  • 9. 9© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL Charts
  • 10. 10© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL Calendars
  • 11. 11© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL Example Of Creating Tabs
  • 12. 12© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL What Else Extjs Can Do? • Ajax support • Dom traversing • Dom manipulation • Event Handling • Selectors • OOP emulation • Animation
  • 13. 13© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL Component • All widgets extends component class • Provide base widget functions like o enable()/disable() o show()/hide() o addClass()/removeClass() o update(data/html) – update content area o getEl() return element o getId() o getXType() o render(target) o focus() • XType – alternate way to define component o Lazy component creation • var panel1 = { • xtype : 'panel', • title : 'Plain Panel', • html : 'Panel with an xtype specified' • } • var myPanel = new Ext.Panel({ • renderTo : document.body, • height : 50, • width : 150, • title : 'Panel', • frame : true • Components are managed by Ext.ComponentMgr o get(componentId) o registerType(xtype, object) (shorthand Ext.reg())
  • 14. 14© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL Container • Handle the basic behavior of containing items, namely adding, inserting and removing items • Main functions o add() o remove()/removeAll() o insert() o find()/findBy()/findById()/findByType o doLayout() o get(index or id)/getComponent(component or index or id) • Main prop o Items - MixedCollection of children components
  • 15. 15© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL Panels • Main panel functions/prop/conf prop o load() o body – prop o html – conf prop o autoLoad – conf prop • Toolbar and Bottombar • Panel subclasses o TabPanel o Window o FormPanel o GridPanel o TreePanel
  • 16. 16© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL Layout • Layouts manages by containers – there is no need to create Layouts directly • The most useful are Fit, VBox, HBox, Border o Only VBox, HBox, Border layouts supports margins • Flex prop of VBox, HBox • BorderLayout must have center item • Table layout does not support resizing of items
  • 17. 17© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL What We Did?
  • 18. 18© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
  • 19. 19© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
  • 20. 20© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
  • 21. 21© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
  • 22. 22© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL
  • 23. 23© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL REFERENCES AND LINKS: • Main Website http://www.sencha.com/ • EXT JS Download http://www.sencha.com/products/extjs/download/ • EXT JS API Documentation http://dev.sencha.com/deploy/dev/docs/ • EXT JS Samples http://dev.sencha.com/deploy/dev/examples/
  • 24. 24© COPYRIGHT 2011 SAPIENT CORPORATION | CONFIDENTIAL Thank You!