SlideShare a Scribd company logo
1 of 41
Adriano Almeida
Instrutor e desenvolvedor pela Caelum


             encontre-me:
          @adrianoalmeida7
     github.com/adrianoalmeida7
A aplicação desenvolvida
 • Já tem modelagem pronta
A aplicação desenvolvida
 • Já tem modelagem pronta
 • Já tem como cadastrar os dados
A aplicação desenvolvida
 • Já tem modelagem pronta
 • Já tem como cadastrar os dados

 • Ainda não disponibiliza dados para outras
   aplicações
A aplicação desenvolvida
 • Já tem modelagem pronta
 • Já tem como cadastrar os dados

 • Ainda não disponibiliza dados para outras
   aplicações
 • Não está disponibilizado em lugar nenhum
A aplicação desenvolvida
 • Já tem modelagem pronta
 • Já tem como cadastrar os dados

 • Ainda não disponibiliza dados para outras
   aplicações
 • Não está disponibilizado em lugar nenhum
 • Ninguém consome esses dados
A aplicação desenvolvida



 • Ainda não disponibiliza dados para outras
   aplicações
App Android
request
                http
App Android             Nossa app
request
                http
App Android             Nossa app   BD
request
                http
App Android             Nossa app   BD
request
                 http
App Android              Nossa app   BD

              XML/JSON
request
       http
?              Nossa app   BD

    XML/JSON
XML
JSON
MVCs: Pull
MVCs: Pull
request para
onibus.xhtml
MVCs: Pull
request para
onibus.xhtml


                 Front-Controller
                  (O framework)
MVCs: Pull
request para
onibus.xhtml


                 Front-Controller
                                    Descobre qual
                  (O framework)
                                       é a tela




                                               Processa o
                                                 .xhtml
MVCs: Pull
request para
onibus.xhtml


                 Front-Controller
                                          Descobre qual
                  (O framework)
                                             é a tela




                                                     Processa o
                                achou a “lazanha”      .xhtml
                                 #{mb.onibuses}


                   Chama o
                 Managed Bean
MVCs: Pull
          request para
          onibus.xhtml


                           Front-Controller
                                                    Descobre qual
                            (O framework)
                                                       é a tela




                                                               Processa o
                                          achou a “lazanha”      .xhtml
                                           #{mb.onibuses}
             Busca dados
              no banco
Chama o                      Chama o
 DAO                       Managed Bean
MVCs: Pull
          request para
          onibus.xhtml


                              Front-Controller
                                                       Descobre qual
                               (O framework)
                                                          é a tela




                                                                  Processa o
                                             achou a “lazanha”      .xhtml
                                              #{mb.onibuses}
             Busca dados
              no banco
Chama o                         Chama o
 DAO                          Managed Bean

           devolve os dados
MVCs: Pull
          request para
          onibus.xhtml


                              Front-Controller
                                                       Descobre qual
                               (O framework)
                                                          é a tela




                                                                   Processa o
                                             achou a “lazanha”       .xhtml
                                              #{mb.onibuses}
             Busca dados
              no banco
Chama o                         Chama o
                                                      devolve os dados
 DAO                          Managed Bean
                                                   e continua processando
           devolve os dados                                o xhtml
MVCs: Pull (puxe)
          request para
          onibus.xhtml


                              Front-Controller
                                                       Descobre qual
                               (O framework)
                                                          é a tela




                                                                   Processa o
                                             achou a “lazanha”       .xhtml
                                              #{mb.onibuses}
             Busca dados
              no banco
Chama o                         Chama o
                                                      devolve os dados
 DAO                          Managed Bean
                                                   e continua processando
           devolve os dados                                o xhtml
MVCs: Push
request para
/linha/140-M
               Front-Controller
                (O framework)
MVCs: Push
request para
/linha/140-M
               Front-Controller
                                  Descobre quem
                (O framework)
                                      trata




                                          Action/Controller
MVCs: Push
request para
/linha/140-M
               Front-Controller
                                  Descobre quem
                (O framework)
                                      trata




                                          Action/Controller



                                                  pega informacoes


                                           DAO / Modelos
MVCs: Push
request para
/linha/140-M
                 Front-Controller
                                           Descobre quem
                  (O framework)
                                               trata



                                     Descobre quem
                                        mostra
                                                     Action/Controller
           jsp, ftl, vm, xml, json


                                                             pega informacoes


                                                      DAO / Modelos
MVCs: Push
request para
/linha/140-M
                 Front-Controller
                                           Descobre quem
                  (O framework)
                                               trata



                                     Descobre quem
                                        mostra
                                                     Action/Controller
           jsp, ftl, vm, xml, json


                                                             pega informacoes


                                                      DAO / Modelos
MVCs: Push (Empurra)
request para
/linha/140-M
                 Front-Controller
                                           Descobre quem
                  (O framework)
                                               trata



                                     Descobre quem
                                        mostra
                                                     Action/Controller
           jsp, ftl, vm, xml, json


                                                             pega informacoes


                                                      DAO / Modelos
Push - Pull - Puxe - Empurra
Push - Pull - Puxe - Empurra
Puxe - Empurra - Pull - Push
Push - Pull - Puxe - Empurra
Puxe - Empurra - Pull - Push
Pull - Empurra - Push - Puxa
Push - Pull - Puxe - Empurra
Puxe - Empurra - Pull - Push
Pull - Empurra - Push - Puxa
Push - Pull - Puxe - Empurra
Puxe - Empurra - Pull - Push
Pull - Empurra - Push - Puxa
Push - Pull - Puxe - Empurra
Puxe - Empurra - Pull - Push
Pull - Empurra - Push - Puxa
Pull - Puxa
Pull - Puxa




Push - Empurra
Pull - Puxa
Component Based




 Push - Empurra
Pull - Puxa
Component Based




 Push - Empurra
  Action Based
Bora fazer :)
OBRIGADO!



     @adrianoalmeida7
github.com/adrianoalmeida7

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Instrutor Adriano Almeida desenvolvedor Caelum

  • 1.
  • 2. Adriano Almeida Instrutor e desenvolvedor pela Caelum encontre-me: @adrianoalmeida7 github.com/adrianoalmeida7
  • 3. A aplicação desenvolvida • Já tem modelagem pronta
  • 4. A aplicação desenvolvida • Já tem modelagem pronta • Já tem como cadastrar os dados
  • 5. A aplicação desenvolvida • Já tem modelagem pronta • Já tem como cadastrar os dados • Ainda não disponibiliza dados para outras aplicações
  • 6. A aplicação desenvolvida • Já tem modelagem pronta • Já tem como cadastrar os dados • Ainda não disponibiliza dados para outras aplicações • Não está disponibilizado em lugar nenhum
  • 7. A aplicação desenvolvida • Já tem modelagem pronta • Já tem como cadastrar os dados • Ainda não disponibiliza dados para outras aplicações • Não está disponibilizado em lugar nenhum • Ninguém consome esses dados
  • 8. A aplicação desenvolvida • Ainda não disponibiliza dados para outras aplicações
  • 10. request http App Android Nossa app
  • 11. request http App Android Nossa app BD
  • 12. request http App Android Nossa app BD
  • 13. request http App Android Nossa app BD XML/JSON
  • 14. request http ? Nossa app BD XML/JSON
  • 15. XML
  • 16. JSON
  • 19. MVCs: Pull request para onibus.xhtml Front-Controller (O framework)
  • 20. MVCs: Pull request para onibus.xhtml Front-Controller Descobre qual (O framework) é a tela Processa o .xhtml
  • 21. MVCs: Pull request para onibus.xhtml Front-Controller Descobre qual (O framework) é a tela Processa o achou a “lazanha” .xhtml #{mb.onibuses} Chama o Managed Bean
  • 22. MVCs: Pull request para onibus.xhtml Front-Controller Descobre qual (O framework) é a tela Processa o achou a “lazanha” .xhtml #{mb.onibuses} Busca dados no banco Chama o Chama o DAO Managed Bean
  • 23. MVCs: Pull request para onibus.xhtml Front-Controller Descobre qual (O framework) é a tela Processa o achou a “lazanha” .xhtml #{mb.onibuses} Busca dados no banco Chama o Chama o DAO Managed Bean devolve os dados
  • 24. MVCs: Pull request para onibus.xhtml Front-Controller Descobre qual (O framework) é a tela Processa o achou a “lazanha” .xhtml #{mb.onibuses} Busca dados no banco Chama o Chama o devolve os dados DAO Managed Bean e continua processando devolve os dados o xhtml
  • 25. MVCs: Pull (puxe) request para onibus.xhtml Front-Controller Descobre qual (O framework) é a tela Processa o achou a “lazanha” .xhtml #{mb.onibuses} Busca dados no banco Chama o Chama o devolve os dados DAO Managed Bean e continua processando devolve os dados o xhtml
  • 26. MVCs: Push request para /linha/140-M Front-Controller (O framework)
  • 27. MVCs: Push request para /linha/140-M Front-Controller Descobre quem (O framework) trata Action/Controller
  • 28. MVCs: Push request para /linha/140-M Front-Controller Descobre quem (O framework) trata Action/Controller pega informacoes DAO / Modelos
  • 29. MVCs: Push request para /linha/140-M Front-Controller Descobre quem (O framework) trata Descobre quem mostra Action/Controller jsp, ftl, vm, xml, json pega informacoes DAO / Modelos
  • 30. MVCs: Push request para /linha/140-M Front-Controller Descobre quem (O framework) trata Descobre quem mostra Action/Controller jsp, ftl, vm, xml, json pega informacoes DAO / Modelos
  • 31. MVCs: Push (Empurra) request para /linha/140-M Front-Controller Descobre quem (O framework) trata Descobre quem mostra Action/Controller jsp, ftl, vm, xml, json pega informacoes DAO / Modelos
  • 32. Push - Pull - Puxe - Empurra
  • 33. Push - Pull - Puxe - Empurra Puxe - Empurra - Pull - Push
  • 34. Push - Pull - Puxe - Empurra Puxe - Empurra - Pull - Push Pull - Empurra - Push - Puxa
  • 35. Push - Pull - Puxe - Empurra Puxe - Empurra - Pull - Push Pull - Empurra - Push - Puxa Push - Pull - Puxe - Empurra Puxe - Empurra - Pull - Push Pull - Empurra - Push - Puxa Push - Pull - Puxe - Empurra Puxe - Empurra - Pull - Push Pull - Empurra - Push - Puxa
  • 37. Pull - Puxa Push - Empurra
  • 38. Pull - Puxa Component Based Push - Empurra
  • 39. Pull - Puxa Component Based Push - Empurra Action Based
  • 41. OBRIGADO! @adrianoalmeida7 github.com/adrianoalmeida7

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. \n
  41. \n