SlideShare uma empresa Scribd logo
1 de 48
A simplified guide By NithyaVidhyaarthi
Purpose & Pre-requisites ,[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Author notes… ,[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Our Roadmap ,[object Object],[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Points to remember… ,[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Setting the basic platform… ,[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Designing text box with Ext 10 - April - 2011 Designing a User-login panel with ExtJS
How to define a textbox in ExtJS? TIPS 10 - April - 2011 Designing a User-login panel with ExtJS
Coding the first step… ,[object Object],xtype: 'textfield' , fieldLabel: 'User name' , width: 150 , id: 'txtUserName' , allowBlank:false , minLength:3 , maxLength: 30 ,[object Object],[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Designing the password field ,[object Object],xtype: 'textfield‘ , fieldLabel: ‘Password' , inputType: 'password‘ , width: 150 , id: 'txtUserName' , allowBlank:false , minLength:3 , maxLength: 30 ,[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Creating a form. ,[object Object],[object Object],var myform = new Ext.form.FormPanel({ width:400 , height: 250 , renderTo: document.body , items:[] /* this is an empty items collection. */ }); 10 - April - 2011 Designing a User-login panel with ExtJS
Form + Textbox ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Additional Info… ,[object Object],[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Additional Info ,[object Object],var myform = new Ext.form.FormPanel({ width:400 , height: 250 , renderTo: document.body , items:[] /* this is an empty items collection. */   , items:[]  /* this cannot exist */ }); 10 - April - 2011 Designing a User-login panel with ExtJS
Additional Info ,[object Object],var myform = new Ext.form.FormPanel({ width:400 , items:[{ items:[{ /* this nesting is permitted */ }] , items:[{ /* this is not permitted, because */ }] /* it is nesting at same level  */ }] }); 10 - April - 2011 Designing a User-login panel with ExtJS
Other Observations… ,[object Object],[object Object],[object Object],[object Object],[object Object],INFO 10 - April - 2011 Designing a User-login panel with ExtJS
Building the form further… ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
First look at screen… ,[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Styling the form a bit… ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],INFO 10 - April - 2011 Designing a User-login panel with ExtJS
The styled login form. ,[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
A close look… ,[object Object],[object Object],Try it yourself:  Try changing the frame value (between  true  &  false) , refresh the screen & observe the changes yourself. 10 - April - 2011 Designing a User-login panel with ExtJS
What about the button? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Code to button ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
And, here we go… 10 - April - 2011 Designing a User-login panel with ExtJS
Observance ,[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Planning the second phase… ,[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Validation criteria, & process. ,[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
The ExtJS default validation ,[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Ok fine, but where’s tooltip? ,[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Coding the tooltip… ,[object Object],[object Object],The first line enables displaying the tooltips, the second line instructs that the error message to be displayed at the right of the “invalid-stated” control. Add these lines of code above the Ext.onReady() line. Now again, lets run the form, and manually cause the blur event for the username field. 10 - April - 2011 Designing a User-login panel with ExtJS
Having a look at tooltip… ,[object Object],[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Other validations and text… ,[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Firing the validation at our will ,[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Firing the validation at our will ,[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Coding the form validation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Wiring form validation & button TIP 10 - April - 2011 Designing a User-login panel with ExtJS
Handlers and Listeners ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
What a listener does? ,[object Object],[object Object],[object Object],[object Object],[object Object],TIP 10 - April - 2011 Designing a User-login panel with ExtJS
Linked listeners ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Clarification INFO 10 - April - 2011 Designing a User-login panel with ExtJS
Reading the values… TIPS 10 - April - 2011 Designing a User-login panel with ExtJS
Beginning authentication… ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Final destination… ,[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Past & Present ,[object Object],10 - April - 2011 Designing a User-login panel with ExtJS Past:  “Beginning ExtJS with ASP.Net”     “ Beginning ExtJS with ASP.Net” (Part two)   Present:  “Designing a User Login panel with ExtJS”
Author epilogue ,[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
With Thanks… ,[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Contact me via ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],10 - April - 2011 Designing a User-login panel with ExtJS
Disclaimer ,[object Object],10 - April - 2011 Designing a User-login panel with ExtJS

Mais conteúdo relacionado

Mais procurados

How to manage a big scale HTML/CSS project
How to manage a big scale HTML/CSS projectHow to manage a big scale HTML/CSS project
How to manage a big scale HTML/CSS project
Renoir Boulanger
 

Mais procurados (20)

Dynamic web 9
Dynamic web 9Dynamic web 9
Dynamic web 9
 
Python seaborn cheat_sheet
Python seaborn cheat_sheetPython seaborn cheat_sheet
Python seaborn cheat_sheet
 
JavaScript: Events Handling
JavaScript: Events HandlingJavaScript: Events Handling
JavaScript: Events Handling
 
Pimp My Confluence Plugin - AtlasCamp 2011
Pimp My Confluence Plugin - AtlasCamp 2011Pimp My Confluence Plugin - AtlasCamp 2011
Pimp My Confluence Plugin - AtlasCamp 2011
 
Testing API platform with Behat BDD tests
Testing API platform with Behat BDD testsTesting API platform with Behat BDD tests
Testing API platform with Behat BDD tests
 
Html introduction
Html introductionHtml introduction
Html introduction
 
CrossUI Tutorial - Advanced - CRUD
CrossUI Tutorial  -  Advanced - CRUDCrossUI Tutorial  -  Advanced - CRUD
CrossUI Tutorial - Advanced - CRUD
 
Token Authentication in ASP.NET Core
Token Authentication in ASP.NET CoreToken Authentication in ASP.NET Core
Token Authentication in ASP.NET Core
 
Design pattern cheat sheet
Design pattern cheat sheetDesign pattern cheat sheet
Design pattern cheat sheet
 
Introdução React.js
Introdução React.jsIntrodução React.js
Introdução React.js
 
Chapter 2 - HTML5.pdf
Chapter 2 - HTML5.pdfChapter 2 - HTML5.pdf
Chapter 2 - HTML5.pdf
 
Joomla
JoomlaJoomla
Joomla
 
EAV Sytem- Magento EAV Model
EAV Sytem- Magento EAV ModelEAV Sytem- Magento EAV Model
EAV Sytem- Magento EAV Model
 
How to Make HTML and CSS Files
How to Make HTML and CSS FilesHow to Make HTML and CSS Files
How to Make HTML and CSS Files
 
JQuery introduction
JQuery introductionJQuery introduction
JQuery introduction
 
How to manage a big scale HTML/CSS project
How to manage a big scale HTML/CSS projectHow to manage a big scale HTML/CSS project
How to manage a big scale HTML/CSS project
 
Laravel ppt
Laravel pptLaravel ppt
Laravel ppt
 
[NHN NEXT] Java 강의 - Week1
[NHN NEXT] Java 강의 - Week1[NHN NEXT] Java 강의 - Week1
[NHN NEXT] Java 강의 - Week1
 
Tips about hibernate with spring data jpa
Tips about hibernate with spring data jpaTips about hibernate with spring data jpa
Tips about hibernate with spring data jpa
 
Angular 8
Angular 8 Angular 8
Angular 8
 

Destaque

Nko workshop - node js crud & deploy
Nko workshop - node js crud & deployNko workshop - node js crud & deploy
Nko workshop - node js crud & deploy
Simon Su
 
Life as an asp.net programmer
Life as an asp.net programmerLife as an asp.net programmer
Life as an asp.net programmer
Arun Prasad
 
Basics of Ext JS
Basics of Ext JSBasics of Ext JS
Basics of Ext JS
ikhwanhayat
 

Destaque (14)

Theming Ext JS 4
Theming Ext JS 4Theming Ext JS 4
Theming Ext JS 4
 
Introduction to ExtJS
Introduction to ExtJSIntroduction to ExtJS
Introduction to ExtJS
 
Nko workshop - node js crud & deploy
Nko workshop - node js crud & deployNko workshop - node js crud & deploy
Nko workshop - node js crud & deploy
 
Ext Js Events
Ext Js EventsExt Js Events
Ext Js Events
 
Life as an asp.net programmer
Life as an asp.net programmerLife as an asp.net programmer
Life as an asp.net programmer
 
Ext js 6
Ext js 6Ext js 6
Ext js 6
 
Matteo Murgida - Monet: a NodeJS enterprise system for IoT and Energy Managem...
Matteo Murgida - Monet: a NodeJS enterprise system for IoT and Energy Managem...Matteo Murgida - Monet: a NodeJS enterprise system for IoT and Energy Managem...
Matteo Murgida - Monet: a NodeJS enterprise system for IoT and Energy Managem...
 
Panal data and the eviews
Panal data and the eviewsPanal data and the eviews
Panal data and the eviews
 
Basics of Ext JS
Basics of Ext JSBasics of Ext JS
Basics of Ext JS
 
Extjs
ExtjsExtjs
Extjs
 
Ext JS Architecture Best Practices - Mitchell Simeons
Ext JS Architecture Best Practices - Mitchell SimeonsExt JS Architecture Best Practices - Mitchell Simeons
Ext JS Architecture Best Practices - Mitchell Simeons
 
SenchaCon 2016: Keynote Presentation - Art Landro, Gautam Agrawal, Mark Brocato
SenchaCon 2016: Keynote Presentation - Art Landro, Gautam Agrawal, Mark BrocatoSenchaCon 2016: Keynote Presentation - Art Landro, Gautam Agrawal, Mark Brocato
SenchaCon 2016: Keynote Presentation - Art Landro, Gautam Agrawal, Mark Brocato
 
Intro to Ext JS 4
Intro to Ext JS 4Intro to Ext JS 4
Intro to Ext JS 4
 
Introduction to .net framework
Introduction to .net frameworkIntroduction to .net framework
Introduction to .net framework
 

Semelhante a Designing an ExtJS user login panel

Sencha touch application v2.00
Sencha touch application v2.00Sencha touch application v2.00
Sencha touch application v2.00
Trịnh Thành
 
Lab #9 and 10 Web Server ProgrammingCreate a New Folder I s.docx
Lab #9 and 10 Web Server ProgrammingCreate a New Folder  I s.docxLab #9 and 10 Web Server ProgrammingCreate a New Folder  I s.docx
Lab #9 and 10 Web Server ProgrammingCreate a New Folder I s.docx
DIPESH30
 

Semelhante a Designing an ExtJS user login panel (20)

Sencha touch
Sencha touchSencha touch
Sencha touch
 
Essential html tweaks for accessible themes
Essential html tweaks for accessible themesEssential html tweaks for accessible themes
Essential html tweaks for accessible themes
 
Creating a New iSites Tool
Creating a New iSites ToolCreating a New iSites Tool
Creating a New iSites Tool
 
IT- 328 Web Administration (Practicals)
IT- 328 Web Administration (Practicals)IT- 328 Web Administration (Practicals)
IT- 328 Web Administration (Practicals)
 
Controls Use in Windows Presentation Foundation (WPF)
Controls Use in Windows Presentation Foundation (WPF)Controls Use in Windows Presentation Foundation (WPF)
Controls Use in Windows Presentation Foundation (WPF)
 
srt311 Project2
srt311 Project2srt311 Project2
srt311 Project2
 
Ext Js
Ext JsExt Js
Ext Js
 
Sencha touch application v2.00
Sencha touch application v2.00Sencha touch application v2.00
Sencha touch application v2.00
 
PPT1
PPT1PPT1
PPT1
 
Enhancements
Enhancements Enhancements
Enhancements
 
Vsto 3 Excel Add-in SNUG
Vsto 3 Excel Add-in SNUGVsto 3 Excel Add-in SNUG
Vsto 3 Excel Add-in SNUG
 
Vsto 3 Snug
Vsto 3 SnugVsto 3 Snug
Vsto 3 Snug
 
Introduction Dojo Toolkit & IBM Lotus Domino
Introduction Dojo Toolkit & IBM Lotus DominoIntroduction Dojo Toolkit & IBM Lotus Domino
Introduction Dojo Toolkit & IBM Lotus Domino
 
Cross Platform Mobile App Development - An Introduction to Sencha Touch
Cross Platform Mobile App Development - An Introduction to Sencha TouchCross Platform Mobile App Development - An Introduction to Sencha Touch
Cross Platform Mobile App Development - An Introduction to Sencha Touch
 
Asp notes
Asp notesAsp notes
Asp notes
 
Lab #9 and 10 Web Server ProgrammingCreate a New Folder I s.docx
Lab #9 and 10 Web Server ProgrammingCreate a New Folder  I s.docxLab #9 and 10 Web Server ProgrammingCreate a New Folder  I s.docx
Lab #9 and 10 Web Server ProgrammingCreate a New Folder I s.docx
 
Building and styling forms
Building and styling formsBuilding and styling forms
Building and styling forms
 
Android interface elements and controls-chapter8
Android interface elements and controls-chapter8Android interface elements and controls-chapter8
Android interface elements and controls-chapter8
 
Vb.net ide
Vb.net ideVb.net ide
Vb.net ide
 
forms
formsforms
forms
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Designing an ExtJS user login panel

  • 1. A simplified guide By NithyaVidhyaarthi
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. Designing text box with Ext 10 - April - 2011 Designing a User-login panel with ExtJS
  • 8. How to define a textbox in ExtJS? TIPS 10 - April - 2011 Designing a User-login panel with ExtJS
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24. And, here we go… 10 - April - 2011 Designing a User-login panel with ExtJS
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36. Wiring form validation & button TIP 10 - April - 2011 Designing a User-login panel with ExtJS
  • 37.
  • 38.
  • 39.
  • 40. Clarification INFO 10 - April - 2011 Designing a User-login panel with ExtJS
  • 41. Reading the values… TIPS 10 - April - 2011 Designing a User-login panel with ExtJS
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.