SlideShare une entreprise Scribd logo
1  sur  15
Télécharger pour lire hors ligne
SEAD 2006



               Usabilidade
                  com
                  Ajax
CHRISTIANO MILFONT - cmilfont@gmail.com Fortaleza, Ceará. 29/09/2006
Ajax
Set 29 by Milfont in ROTEIRO >>
    Add a comment/0 trackback(s)




            1. WEB 2.0
            2. XMLHttpRequest
            3. COMO FUNCIONA.
            4. USABILIDADE.
            5. EXEMPLOS.
            6. CONCLUSÃO.
Ajax
Set 29 by Milfont in AJAX >> WEB 2.0 >>
    Add a comment/0 trackback(s)
Ajax
Set 29 by Milfont in AJAX >> WEB 2.0 >>
    Add a comment/0 trackback(s)


                   Apresentação com XHTML e CSS


                             XMLHttpRequest
                             na comunicação
                             assíncrona

Trocando dados
                                          Interação
e manipulando
                                          com DOM
com XML e XSLT



                             Tudo temperado com javascript
Ajax
Set 29 by Milfont in AJAX >> XMLHttpRequest >>
   Add a comment/0 trackback(s)




 XMLHttpRequest foi
 criado pela MS para o
 Outlook Web Access
 como objeto ActiveX e
 incorporado aos
 padrões do W3C.


     quot;Asynchronous JavaScript + XMLquot;
Ajax
Set 29 by Milfont in AJAX >> XMLHttpRequest >>
   Add a comment/0 trackback(s)

 new XMLHttpRequest();
 new ActiveXObject(quot;Msxml2.XMLHTTP”);
 new ActiveXObject(quot;Msxml2.XMLHTTP.3.0”);
 new ActiveXObject(quot;Microsoft.XMLHTTP”);


     if(window.XMLHttpRequest){
         request = new XMLHttpRequest();
     }else {
         if(window.ActiveXObject){
               request = new ActiveXObject(quot;Microsoft.XMLHTTPquot;);
         }else{
               request = new ActiveXObject(quot;Msxml2.XMLHTTPquot;);
         }
     }
Ajax
Set 29 by Milfont in AJAX >> XMLHttpRequest >>
   Add a comment/0 trackback(s)

  var theUrl = quot;sead.do?page=AjaxXML”;
  request.onreadystatechange ={
       if(request.readyState ==4){
           if(request.status == 200){
                 var ajaxResponse = request.responseXML;
                 //MANIPULA O XML
           }
                                                 ReadyState
           if(request.status == 404){
                                                 0 – Uninitiated
                 //PROCESSA ERRO
           }
                                                 1 – Loading
           ...
                                                 2 – Loaded
       }
                                                 3 – Interactive
  };
                                                 4 - Complete
  request.open(quot;POSTquot;, theUrl, true);
  request.send(null);
Ajax
Set 29 by Milfont in AJAX >> COMO FUNCIONA >>
   Add a comment/0 trackback(s)




                                      Com Ajax,
Controle do
                                      transferimos o
fluxo de
                                      controle de
navegação da
                                      fluxo de
 aplicação é
                                      navegação
feito no lado
                                      para o
servidor.
                                      Browser.
Ajax
Set 29 by Milfont in AJAX >> COMO FUNCIONA >>
   Add a comment/0 trackback(s)




 O servidor passa a fornecer dados e não conteúdo.
 O controle de apresentação é definido no Browser
Ajax
Set 29 by Milfont in AJAX >> COMO FUNCIONA >>
   Add a comment/0 trackback(s)
Ajax
Set 29 by Milfont in AJAX >> COMO FUNCIONA >>
   Add a comment/0 trackback(s)




                                  Modelo Tradicional.




                                    Modelo Ajax.
Ajax
Set 29 by Milfont in AJAX >> USABILIDADE >>
   Add a comment/0 trackback(s)

 Interação com submissão de formulários.
 Auto-completar.
 Efeitos como Fade, Colapse, etc...
 Slider
 Menus dinâmicos
 TreeView
 Modal
 Upload sem refresh
 ...
Ajax
Set 29 by Milfont in AJAX >> USABILIDADE >>
   Add a comment/0 trackback(s)




                                           Mashup
                                  Combinação de conteúdo
                                  de mais de uma fonte
Ajax
Set 29 by Milfont in AJAX >> USABILIDADE >>
   Add a comment/0 trackback(s)




    Efeitos
Ajax
Set 29 by Milfont in AJAX >> CONCLUSÃO >>
   Add a comment/0 trackback(s)




                 http://www.milfont.org

Contenu connexe

Similaire à Sead 29 09 2006 Usabilidade Com Ajax

Mvc & java script
Mvc & java scriptMvc & java script
Mvc & java scriptEyal Vardi
 
Taking Apache Camel For a Ride
Taking Apache Camel For a RideTaking Apache Camel For a Ride
Taking Apache Camel For a RideBruce Snyder
 
Easy Enterprise Integration Patterns with Apache Camel, ActiveMQ and ServiceMix
Easy Enterprise Integration Patterns with Apache Camel, ActiveMQ and ServiceMixEasy Enterprise Integration Patterns with Apache Camel, ActiveMQ and ServiceMix
Easy Enterprise Integration Patterns with Apache Camel, ActiveMQ and ServiceMixelliando dias
 
DOSUG Taking Apache Camel For A Ride
DOSUG Taking Apache Camel For A RideDOSUG Taking Apache Camel For A Ride
DOSUG Taking Apache Camel For A RideMatthew McCullough
 
HTML5, The Open Web, and what it means for you - MDN Hack Day, Sao Paulo
HTML5, The Open Web, and what it means for you - MDN Hack Day, Sao PauloHTML5, The Open Web, and what it means for you - MDN Hack Day, Sao Paulo
HTML5, The Open Web, and what it means for you - MDN Hack Day, Sao PauloRobert Nyman
 
Ajax Rails
Ajax RailsAjax Rails
Ajax Railshot
 
Struts tutorial
Struts tutorialStruts tutorial
Struts tutorialOPENLANE
 
Pracitcal AJAX
Pracitcal AJAXPracitcal AJAX
Pracitcal AJAXjherr
 
jQuery for beginners
jQuery for beginnersjQuery for beginners
jQuery for beginnersDivakar Gu
 
2013 - Nate Abele: HTTP ALL THE THINGS: Simplificando aplicaciones respetando...
2013 - Nate Abele: HTTP ALL THE THINGS: Simplificando aplicaciones respetando...2013 - Nate Abele: HTTP ALL THE THINGS: Simplificando aplicaciones respetando...
2013 - Nate Abele: HTTP ALL THE THINGS: Simplificando aplicaciones respetando...PHP Conference Argentina
 
Ajax Fundamentals Web Applications
Ajax Fundamentals Web ApplicationsAjax Fundamentals Web Applications
Ajax Fundamentals Web Applicationsdominion
 
자바 웹 개발 시작하기 (1주차 : 웹 어플리케이션 체험 실습)
자바 웹 개발 시작하기 (1주차 : 웹 어플리케이션 체험 실습)자바 웹 개발 시작하기 (1주차 : 웹 어플리케이션 체험 실습)
자바 웹 개발 시작하기 (1주차 : 웹 어플리케이션 체험 실습)DK Lee
 
Implement Search Screen Using Knockoutjs
Implement Search Screen Using KnockoutjsImplement Search Screen Using Knockoutjs
Implement Search Screen Using KnockoutjsNeeraj Kaushik
 

Similaire à Sead 29 09 2006 Usabilidade Com Ajax (20)

Mvc & java script
Mvc & java scriptMvc & java script
Mvc & java script
 
Taking Apache Camel For a Ride
Taking Apache Camel For a RideTaking Apache Camel For a Ride
Taking Apache Camel For a Ride
 
Easy Enterprise Integration Patterns with Apache Camel, ActiveMQ and ServiceMix
Easy Enterprise Integration Patterns with Apache Camel, ActiveMQ and ServiceMixEasy Enterprise Integration Patterns with Apache Camel, ActiveMQ and ServiceMix
Easy Enterprise Integration Patterns with Apache Camel, ActiveMQ and ServiceMix
 
DOSUG Taking Apache Camel For A Ride
DOSUG Taking Apache Camel For A RideDOSUG Taking Apache Camel For A Ride
DOSUG Taking Apache Camel For A Ride
 
Aimaf
AimafAimaf
Aimaf
 
Ajax
AjaxAjax
Ajax
 
HTML5, The Open Web, and what it means for you - MDN Hack Day, Sao Paulo
HTML5, The Open Web, and what it means for you - MDN Hack Day, Sao PauloHTML5, The Open Web, and what it means for you - MDN Hack Day, Sao Paulo
HTML5, The Open Web, and what it means for you - MDN Hack Day, Sao Paulo
 
Ajax Rails
Ajax RailsAjax Rails
Ajax Rails
 
Struts tutorial
Struts tutorialStruts tutorial
Struts tutorial
 
Pracitcal AJAX
Pracitcal AJAXPracitcal AJAX
Pracitcal AJAX
 
jQuery for beginners
jQuery for beginnersjQuery for beginners
jQuery for beginners
 
Ajax
AjaxAjax
Ajax
 
2013 - Nate Abele: HTTP ALL THE THINGS: Simplificando aplicaciones respetando...
2013 - Nate Abele: HTTP ALL THE THINGS: Simplificando aplicaciones respetando...2013 - Nate Abele: HTTP ALL THE THINGS: Simplificando aplicaciones respetando...
2013 - Nate Abele: HTTP ALL THE THINGS: Simplificando aplicaciones respetando...
 
Servlet 3.0
Servlet 3.0Servlet 3.0
Servlet 3.0
 
Ajax Fundamentals Web Applications
Ajax Fundamentals Web ApplicationsAjax Fundamentals Web Applications
Ajax Fundamentals Web Applications
 
Spring 3.0
Spring 3.0Spring 3.0
Spring 3.0
 
자바 웹 개발 시작하기 (1주차 : 웹 어플리케이션 체험 실습)
자바 웹 개발 시작하기 (1주차 : 웹 어플리케이션 체험 실습)자바 웹 개발 시작하기 (1주차 : 웹 어플리케이션 체험 실습)
자바 웹 개발 시작하기 (1주차 : 웹 어플리케이션 체험 실습)
 
Ajax
AjaxAjax
Ajax
 
mukesh
mukeshmukesh
mukesh
 
Implement Search Screen Using Knockoutjs
Implement Search Screen Using KnockoutjsImplement Search Screen Using Knockoutjs
Implement Search Screen Using Knockoutjs
 

Plus de Milfont Consulting (20)

Continuous integration e continuous delivery para salvar o seu projeto!
Continuous integration e continuous delivery para salvar o seu projeto!Continuous integration e continuous delivery para salvar o seu projeto!
Continuous integration e continuous delivery para salvar o seu projeto!
 
MVC Model 3
MVC Model 3MVC Model 3
MVC Model 3
 
Dar caos à ordem
Dar caos à ordemDar caos à ordem
Dar caos à ordem
 
I TDD my jQuery code without Browser
I TDD my jQuery code without BrowserI TDD my jQuery code without Browser
I TDD my jQuery code without Browser
 
Oxente BDD
Oxente BDDOxente BDD
Oxente BDD
 
Construindo WebApps ricas com Rails e Sencha
Construindo WebApps ricas com Rails e SenchaConstruindo WebApps ricas com Rails e Sencha
Construindo WebApps ricas com Rails e Sencha
 
Dar Ordem ao Caos
Dar Ordem ao CaosDar Ordem ao Caos
Dar Ordem ao Caos
 
Domain driven design
Domain driven designDomain driven design
Domain driven design
 
BDD com Cucumber, Selenium e Rails
BDD com Cucumber, Selenium e RailsBDD com Cucumber, Selenium e Rails
BDD com Cucumber, Selenium e Rails
 
Mare de Agilidade - BDD e TDD
Mare de Agilidade - BDD e TDDMare de Agilidade - BDD e TDD
Mare de Agilidade - BDD e TDD
 
Apresentando Extreme Programming
Apresentando Extreme ProgrammingApresentando Extreme Programming
Apresentando Extreme Programming
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven Development
 
Behaviour Driven Development
Behaviour Driven DevelopmentBehaviour Driven Development
Behaviour Driven Development
 
Primeiro Dia Livre Opensocial
Primeiro Dia Livre OpensocialPrimeiro Dia Livre Opensocial
Primeiro Dia Livre Opensocial
 
Tw Dwr 2007 Ap01
Tw Dwr 2007 Ap01Tw Dwr 2007 Ap01
Tw Dwr 2007 Ap01
 
Course Hibernate 2008
Course Hibernate 2008Course Hibernate 2008
Course Hibernate 2008
 
Opensocial
OpensocialOpensocial
Opensocial
 
Frameworks Ajax
Frameworks AjaxFrameworks Ajax
Frameworks Ajax
 
OpenSocial CCT
OpenSocial CCTOpenSocial CCT
OpenSocial CCT
 
Cct Dsl
Cct DslCct Dsl
Cct Dsl
 

Dernier

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
 
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
 
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
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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 organizationRadu Cotescu
 
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
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
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.pdfUK Journal
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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
 
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
 
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
 
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
 

Dernier (20)

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...
 
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
 
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...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
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...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 
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
 
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...
 
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
 

Sead 29 09 2006 Usabilidade Com Ajax

  • 1. SEAD 2006 Usabilidade com Ajax CHRISTIANO MILFONT - cmilfont@gmail.com Fortaleza, Ceará. 29/09/2006
  • 2. Ajax Set 29 by Milfont in ROTEIRO >> Add a comment/0 trackback(s) 1. WEB 2.0 2. XMLHttpRequest 3. COMO FUNCIONA. 4. USABILIDADE. 5. EXEMPLOS. 6. CONCLUSÃO.
  • 3. Ajax Set 29 by Milfont in AJAX >> WEB 2.0 >> Add a comment/0 trackback(s)
  • 4. Ajax Set 29 by Milfont in AJAX >> WEB 2.0 >> Add a comment/0 trackback(s) Apresentação com XHTML e CSS XMLHttpRequest na comunicação assíncrona Trocando dados Interação e manipulando com DOM com XML e XSLT Tudo temperado com javascript
  • 5. Ajax Set 29 by Milfont in AJAX >> XMLHttpRequest >> Add a comment/0 trackback(s) XMLHttpRequest foi criado pela MS para o Outlook Web Access como objeto ActiveX e incorporado aos padrões do W3C. quot;Asynchronous JavaScript + XMLquot;
  • 6. Ajax Set 29 by Milfont in AJAX >> XMLHttpRequest >> Add a comment/0 trackback(s) new XMLHttpRequest(); new ActiveXObject(quot;Msxml2.XMLHTTP”); new ActiveXObject(quot;Msxml2.XMLHTTP.3.0”); new ActiveXObject(quot;Microsoft.XMLHTTP”); if(window.XMLHttpRequest){ request = new XMLHttpRequest(); }else { if(window.ActiveXObject){ request = new ActiveXObject(quot;Microsoft.XMLHTTPquot;); }else{ request = new ActiveXObject(quot;Msxml2.XMLHTTPquot;); } }
  • 7. Ajax Set 29 by Milfont in AJAX >> XMLHttpRequest >> Add a comment/0 trackback(s) var theUrl = quot;sead.do?page=AjaxXML”; request.onreadystatechange ={ if(request.readyState ==4){ if(request.status == 200){ var ajaxResponse = request.responseXML; //MANIPULA O XML } ReadyState if(request.status == 404){ 0 – Uninitiated //PROCESSA ERRO } 1 – Loading ... 2 – Loaded } 3 – Interactive }; 4 - Complete request.open(quot;POSTquot;, theUrl, true); request.send(null);
  • 8. Ajax Set 29 by Milfont in AJAX >> COMO FUNCIONA >> Add a comment/0 trackback(s) Com Ajax, Controle do transferimos o fluxo de controle de navegação da fluxo de aplicação é navegação feito no lado para o servidor. Browser.
  • 9. Ajax Set 29 by Milfont in AJAX >> COMO FUNCIONA >> Add a comment/0 trackback(s) O servidor passa a fornecer dados e não conteúdo. O controle de apresentação é definido no Browser
  • 10. Ajax Set 29 by Milfont in AJAX >> COMO FUNCIONA >> Add a comment/0 trackback(s)
  • 11. Ajax Set 29 by Milfont in AJAX >> COMO FUNCIONA >> Add a comment/0 trackback(s) Modelo Tradicional. Modelo Ajax.
  • 12. Ajax Set 29 by Milfont in AJAX >> USABILIDADE >> Add a comment/0 trackback(s) Interação com submissão de formulários. Auto-completar. Efeitos como Fade, Colapse, etc... Slider Menus dinâmicos TreeView Modal Upload sem refresh ...
  • 13. Ajax Set 29 by Milfont in AJAX >> USABILIDADE >> Add a comment/0 trackback(s) Mashup Combinação de conteúdo de mais de uma fonte
  • 14. Ajax Set 29 by Milfont in AJAX >> USABILIDADE >> Add a comment/0 trackback(s) Efeitos
  • 15. Ajax Set 29 by Milfont in AJAX >> CONCLUSÃO >> Add a comment/0 trackback(s) http://www.milfont.org