SlideShare une entreprise Scribd logo
1  sur  13
DOJO TRAINING
Vadivelan.K
• What is Dojo
• Dojo Toolkits (Dojo built with)
• Core
– Core: DOM Handling
– Core: CSS Handling
– Core: Enhancements to JS
• Dijit
– What is Dijit
– What is a Widget
– Using Widget
• DojoX
– What is DojoX
– Inside DojoX
A toolkit that enables the creation of modern interactive web
applications
An open source project
Friendly license
Developed by a community of experts
Used by many companies
IBM, AOL, Sun,…
Professional support is available too
Uxebu, Sitepen
What is Dojo
Core
Basic libraries: Ajax , events, DOM
querying, animation, dnd, i18n and localization, data abstraction
Dijit
Fully accessible and localized predefined set of widgets
Widgetcrafting - mechanisms to create your own widgets
Dojox
Numerous experimental modules that extend the core
functionality
Grid , wiring, client side templating, charting, more
widgets, specific data stores and more and more…
Dojo built with
The DOM is the internal representation of the page within the
browser
Can be manipulated using JavaScript APIs
These APIs are not consistent in all of the browsers (IE…)
Dojo provides a layer that hides this shame
Handling the DOM tree
Querying using css selector syntax: dojo.query
Locating elements by id – dojo.byId
Lifecycle of a DOM element: dojo.create
, dojo.place, dojo.destroy
Attributes handling:
Setting and gettting - dojo.attr
Removing and quering - dojo.removeAttr, dojo.hasAttr
Core: Dom buffering
Dojo provides a layer that hides this shame
Getting and setting styles – dojo.style
Class management –
dojo.hasClass, dojo.addClass, dojo.removeClass, dojo.toggleClas
s
Position –querying for the location of a DOM node
dojo.position
Layout – getting and setting the layout properties of a DOM
node:
dojo.marginBox, dojo.contentBox
Core: CSS Buffering
Handling arrays
dojo.forEach, dojo.some, dojo.every, dojo.filter, dojo.indexOf
Extending strings
dojo.trim, dojo.replace
General utilities
Type checking
dojo.isString, dojo.isArray, dojo.isFunction, dojo.isObject
Core: Enhancements to JS
The dojo component that is responsible for handling widgets
Fully accessible
Fully localized
Provides a rich set of widgets
• General usage widgets
• Layout widgets
• Form widgets
Provides several themes and allows developers to provide themes
of their own
Provides mechanisms for developers to develop new widgets using
dojo’s OO approach for modules
• By extending existing widgets
• By creating brand new widgets
What is Dijit
A widget is an object, that contains not just logic, but also a way to
be presented on the screen
The way a widget is presented is the widget’s template
Widget can contain other widgets
Dijit: What is a Widget
Declarative - using widgets in the markup
<button dojoType=“dijit.form.Button”></button>
<div dojoType=“dijit.form.Button”></div>
Programmatic creation:
var theButton = new dijit.form.Button();
someNode.appendChild(theButton.domNode);
Dijit: Using Widget
The experimental part of dojo
Many projects are included within it (~50)
Some of them may be removed on later releases
Not likely, though
Extending the core functionality
More widgets
More behaviors
What is DojoX
• Many widgets – general, form and layout
• Syntax highlighting
• Many data stores
• Grid
• UUID
• Xml handling
• File uploading
• Client side templating
• Json handling
• Editor plugins
Inside DojoX
QUESTIONS?

Contenu connexe

Tendances

Tendances (20)

Error proofing IATF16949:2016
Error proofing IATF16949:2016Error proofing IATF16949:2016
Error proofing IATF16949:2016
 
Poka yoke
Poka yokePoka yoke
Poka yoke
 
Poka yoke presentation
Poka yoke presentationPoka yoke presentation
Poka yoke presentation
 
Kaizen & Small Group Activities
Kaizen & Small Group ActivitiesKaizen & Small Group Activities
Kaizen & Small Group Activities
 
Javier Garcia - Verdugo Sanchez - The Poka - Yoke System
Javier Garcia - Verdugo Sanchez -  The Poka - Yoke SystemJavier Garcia - Verdugo Sanchez -  The Poka - Yoke System
Javier Garcia - Verdugo Sanchez - The Poka - Yoke System
 
5 why analysis
5 why analysis5 why analysis
5 why analysis
 
KAIZEN Technique
KAIZEN TechniqueKAIZEN Technique
KAIZEN Technique
 
Poka yoke
Poka yokePoka yoke
Poka yoke
 
Kaizen – Forms & Checklists
Kaizen – Forms & ChecklistsKaizen – Forms & Checklists
Kaizen – Forms & Checklists
 
Poka Yoka
Poka Yoka Poka Yoka
Poka Yoka
 
One Point Lesson (OPL) Basic presentation
One Point Lesson (OPL) Basic presentationOne Point Lesson (OPL) Basic presentation
One Point Lesson (OPL) Basic presentation
 
Mistake proofing for web1
Mistake proofing for web1Mistake proofing for web1
Mistake proofing for web1
 
Kaizen training
Kaizen trainingKaizen training
Kaizen training
 
8D Problem Solving - Automotive Industry
8D Problem Solving - Automotive Industry8D Problem Solving - Automotive Industry
8D Problem Solving - Automotive Industry
 
5s
5s5s
5s
 
OPL - One Point Lesson
OPL - One Point LessonOPL - One Point Lesson
OPL - One Point Lesson
 
5S
5S5S
5S
 
Gemba Walk 02.04.19
Gemba Walk 02.04.19Gemba Walk 02.04.19
Gemba Walk 02.04.19
 
Poka yoke
Poka yokePoka yoke
Poka yoke
 
Introduction To Lean
Introduction To LeanIntroduction To Lean
Introduction To Lean
 

Similaire à Dojo training

Introduction To Dojo
Introduction To DojoIntroduction To Dojo
Introduction To Dojo
yoavrubin
 
Building Real-World Dojo Web Applications
Building Real-World Dojo Web ApplicationsBuilding Real-World Dojo Web Applications
Building Real-World Dojo Web Applications
Andrew Ferrier
 
Jquery dojo slides
Jquery dojo slidesJquery dojo slides
Jquery dojo slides
helenmga
 
Intentionally dealing with responsive design
Intentionally dealing with responsive designIntentionally dealing with responsive design
Intentionally dealing with responsive design
everyplace
 
jQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesjQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPages
Mark Roden
 

Similaire à Dojo training (20)

The Dojo Toolkit An Introduction
The Dojo Toolkit   An IntroductionThe Dojo Toolkit   An Introduction
The Dojo Toolkit An Introduction
 
Introduction To Dojo
Introduction To DojoIntroduction To Dojo
Introduction To Dojo
 
Dojo javascript toolkit
Dojo javascript toolkit Dojo javascript toolkit
Dojo javascript toolkit
 
Complete Dojo
Complete DojoComplete Dojo
Complete Dojo
 
Rich internet application development using the dojo toolkit
Rich internet application development using the dojo toolkitRich internet application development using the dojo toolkit
Rich internet application development using the dojo toolkit
 
Getting Started with Dojo Toolkit
Getting Started with Dojo ToolkitGetting Started with Dojo Toolkit
Getting Started with Dojo Toolkit
 
How dojo works
How dojo worksHow dojo works
How dojo works
 
Dojo and Zend Framework
Dojo and Zend  FrameworkDojo and Zend  Framework
Dojo and Zend Framework
 
Building Real-World Dojo Web Applications
Building Real-World Dojo Web ApplicationsBuilding Real-World Dojo Web Applications
Building Real-World Dojo Web Applications
 
Jquery dojo slides
Jquery dojo slidesJquery dojo slides
Jquery dojo slides
 
Test02
Test02Test02
Test02
 
Intentionally dealing with responsive design
Intentionally dealing with responsive designIntentionally dealing with responsive design
Intentionally dealing with responsive design
 
JavaScript Library Overview (Ajax Exp West 2007)
JavaScript Library Overview (Ajax Exp West 2007)JavaScript Library Overview (Ajax Exp West 2007)
JavaScript Library Overview (Ajax Exp West 2007)
 
DOJO
DOJO DOJO
DOJO
 
jQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPagesjQuery - the world's most popular java script library comes to XPages
jQuery - the world's most popular java script library comes to XPages
 
Starting with jQuery
Starting with jQueryStarting with jQuery
Starting with jQuery
 
Dojo GFX workshop slides
Dojo GFX workshop slidesDojo GFX workshop slides
Dojo GFX workshop slides
 
Dojo for programmers (TXJS 2010)
Dojo for programmers (TXJS 2010)Dojo for programmers (TXJS 2010)
Dojo for programmers (TXJS 2010)
 
Responsive web design with various grids and frameworks comparison
Responsive web design with various grids and frameworks comparisonResponsive web design with various grids and frameworks comparison
Responsive web design with various grids and frameworks comparison
 
Why and How to Use Virtual DOM
Why and How to Use Virtual DOMWhy and How to Use Virtual DOM
Why and How to Use Virtual DOM
 

Dernier

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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 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
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
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
 
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
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
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
 
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
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
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...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Dojo training

  • 2. • What is Dojo • Dojo Toolkits (Dojo built with) • Core – Core: DOM Handling – Core: CSS Handling – Core: Enhancements to JS • Dijit – What is Dijit – What is a Widget – Using Widget • DojoX – What is DojoX – Inside DojoX
  • 3. A toolkit that enables the creation of modern interactive web applications An open source project Friendly license Developed by a community of experts Used by many companies IBM, AOL, Sun,… Professional support is available too Uxebu, Sitepen What is Dojo
  • 4. Core Basic libraries: Ajax , events, DOM querying, animation, dnd, i18n and localization, data abstraction Dijit Fully accessible and localized predefined set of widgets Widgetcrafting - mechanisms to create your own widgets Dojox Numerous experimental modules that extend the core functionality Grid , wiring, client side templating, charting, more widgets, specific data stores and more and more… Dojo built with
  • 5. The DOM is the internal representation of the page within the browser Can be manipulated using JavaScript APIs These APIs are not consistent in all of the browsers (IE…) Dojo provides a layer that hides this shame Handling the DOM tree Querying using css selector syntax: dojo.query Locating elements by id – dojo.byId Lifecycle of a DOM element: dojo.create , dojo.place, dojo.destroy Attributes handling: Setting and gettting - dojo.attr Removing and quering - dojo.removeAttr, dojo.hasAttr Core: Dom buffering
  • 6. Dojo provides a layer that hides this shame Getting and setting styles – dojo.style Class management – dojo.hasClass, dojo.addClass, dojo.removeClass, dojo.toggleClas s Position –querying for the location of a DOM node dojo.position Layout – getting and setting the layout properties of a DOM node: dojo.marginBox, dojo.contentBox Core: CSS Buffering
  • 7. Handling arrays dojo.forEach, dojo.some, dojo.every, dojo.filter, dojo.indexOf Extending strings dojo.trim, dojo.replace General utilities Type checking dojo.isString, dojo.isArray, dojo.isFunction, dojo.isObject Core: Enhancements to JS
  • 8. The dojo component that is responsible for handling widgets Fully accessible Fully localized Provides a rich set of widgets • General usage widgets • Layout widgets • Form widgets Provides several themes and allows developers to provide themes of their own Provides mechanisms for developers to develop new widgets using dojo’s OO approach for modules • By extending existing widgets • By creating brand new widgets What is Dijit
  • 9. A widget is an object, that contains not just logic, but also a way to be presented on the screen The way a widget is presented is the widget’s template Widget can contain other widgets Dijit: What is a Widget
  • 10. Declarative - using widgets in the markup <button dojoType=“dijit.form.Button”></button> <div dojoType=“dijit.form.Button”></div> Programmatic creation: var theButton = new dijit.form.Button(); someNode.appendChild(theButton.domNode); Dijit: Using Widget
  • 11. The experimental part of dojo Many projects are included within it (~50) Some of them may be removed on later releases Not likely, though Extending the core functionality More widgets More behaviors What is DojoX
  • 12. • Many widgets – general, form and layout • Syntax highlighting • Many data stores • Grid • UUID • Xml handling • File uploading • Client side templating • Json handling • Editor plugins Inside DojoX

Notes de l'éditeur

  1. This template can be used as a starter file for presenting training materials in a group setting.SectionsRight-click on a slide to add sections. Sections can help to organize your slides or facilitate collaboration between multiple authors.NotesUse the Notes section for delivery notes or to provide additional details for the audience. View these notes in Presentation View during your presentation. Keep in mind the font size (important for accessibility, visibility, videotaping, and online production)Coordinated colors Pay particular attention to the graphs, charts, and text boxes.Consider that attendees will print in black and white or grayscale. Run a test print to make sure your colors work when printed in pure black and white and grayscale.Graphics, tables, and graphsKeep it simple: If possible, use consistent, non-distracting styles and colors.Label all graphs and tables.
  2. Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important.Introduce each of the major topics.To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.
  3. This is another option for an Overview slides using transitions.
  4. This is another option for an Overview slide.