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

Más contenido relacionado

La actualidad más candente

World Quality Day 2011 - Kaizen Format
World Quality Day 2011 - Kaizen FormatWorld Quality Day 2011 - Kaizen Format
World Quality Day 2011 - Kaizen Format
Dubai Quality Group
 
Choioki
ChoiokiChoioki
Choioki
Robi Cahyadi
 
TPM: Autonomous Maintenance
TPM: Autonomous MaintenanceTPM: Autonomous Maintenance
TPM: Autonomous Maintenance
Operational Excellence Consulting
 

La actualidad más candente (20)

4M Change ppt.pptx
4M Change ppt.pptx4M Change ppt.pptx
4M Change ppt.pptx
 
Apqp questionaire
Apqp  questionaireApqp  questionaire
Apqp questionaire
 
Kaizen
KaizenKaizen
Kaizen
 
8 D – Problem Solving Process
8 D – Problem Solving Process8 D – Problem Solving Process
8 D – Problem Solving Process
 
Kaizen Format(F-09).pptx
Kaizen Format(F-09).pptxKaizen Format(F-09).pptx
Kaizen Format(F-09).pptx
 
World Quality Day 2011 - Kaizen Format
World Quality Day 2011 - Kaizen FormatWorld Quality Day 2011 - Kaizen Format
World Quality Day 2011 - Kaizen Format
 
OPL - One Point Lesson
OPL - One Point LessonOPL - One Point Lesson
OPL - One Point Lesson
 
Ppap training presentation
Ppap   training presentationPpap   training presentation
Ppap training presentation
 
8D analysis presentation
8D analysis presentation8D analysis presentation
8D analysis presentation
 
Advance 5S
Advance 5SAdvance 5S
Advance 5S
 
Autonomous Maintenance (AM)
Autonomous Maintenance (AM)Autonomous Maintenance (AM)
Autonomous Maintenance (AM)
 
Choioki
ChoiokiChoioki
Choioki
 
Single Minute Exchange of Dies (SMED)
Single Minute Exchange of Dies (SMED)Single Minute Exchange of Dies (SMED)
Single Minute Exchange of Dies (SMED)
 
Aim of tpm 16 losses/7 Steps of Jhisu Hozen
Aim of tpm 16 losses/7 Steps of Jhisu HozenAim of tpm 16 losses/7 Steps of Jhisu Hozen
Aim of tpm 16 losses/7 Steps of Jhisu Hozen
 
5 why analysis
5 why analysis5 why analysis
5 why analysis
 
Training ppt for control plan
Training ppt for control plan   Training ppt for control plan
Training ppt for control plan
 
4M-Change-Management.pptx
4M-Change-Management.pptx4M-Change-Management.pptx
4M-Change-Management.pptx
 
Poka yoke hindi
Poka yoke hindiPoka yoke hindi
Poka yoke hindi
 
TPM: Autonomous Maintenance
TPM: Autonomous MaintenanceTPM: Autonomous Maintenance
TPM: Autonomous Maintenance
 
Timwoods- Lean Manufacturing
Timwoods- Lean ManufacturingTimwoods- Lean Manufacturing
Timwoods- Lean Manufacturing
 

Similar a 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
 

Similar a 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
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

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
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
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
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
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...
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
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
 

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

Notas del editor

  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.