OutSystems - Integration With Google Services - NextStep 2012

1,504 views

Published on

Google provides access to a wealth of worldwide information, making it globally available to everyone and every application. With such a wide array of services, it is attractive to use and integrate this content into enterprise applications. Come to this session and learn how to use OpenID for global authentication and how to extend the Agile Platform to integrate the Google Data API providing a natural path for getting the most of Google's publicly available services.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,504
On SlideShare
0
From Embeds
0
Number of Embeds
24
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

OutSystems - Integration With Google Services - NextStep 2012

  1. 1. Helping your business grow faster TP024V02(09/03/2011) INTEGRATION  WITH   SERVICES  
  2. 2. Helping your business grow faster TP024V02(09/03/2011) INTEGRATION WITH GOOGLE SERVICES carlos.paredes@noesis.pt, Engagement Manager May, 11th 2012 INTEGRATION  WITH   SERVICES  
  3. 3. INTEGRATION WITH GOOGLE SERVICES First things first QUESTION: WHAT IS THE SINGLE MOST DIFFICULT ISSUE WHEN DEALING WITH GOOGLE R E L A T E D PRESENTATIONS?
  4. 4. INTEGRATION WITH GOOGLE SERVICES First things first MULTICOLORED SENTENCES?
  5. 5. INTEGRATION WITH GOOGLE SERVICES First things first NO, SORRY. TOO OBVIOUS! (and I won’t do it again, by the way)
  6. 6. INTEGRATION WITH GOOGLE SERVICES First things first IT’S DECIDING BETWEEN PRONOUNCING GUGÂL or GÂGÂL (no phonetics, sorry, just plain Portuguese)
  7. 7. INTEGRATION WITH GOOGLE SERVICES First things first
  8. 8. INTEGRATION WITH GOOGLE SERVICES First things first AND THE WINNER IS GUGÂL
  9. 9. INTEGRATION WITH GOOGLE SERVICES Google products and services Best know products and services And  listen  to  the   correct  pronuncia1on  
  10. 10. INTEGRATION WITH GOOGLE SERVICES Google products and services Best know products and services
  11. 11. INTEGRATION WITH GOOGLE SERVICES Google products and services More products and services AdSense (earn revenue with ads) Analytics (web analytics) Blogger (create a blog) Bookmarks (manage web links) Calendar (organize your schedule) Code Hosting (project hosting) Code Search (shutdown!) Contacts (manage your contacts) Health (discontinued!) Notebook (development stopped!) Webmaster Tools (improve site visibility)
  12. 12. INTEGRATION WITH GOOGLE SERVICES Google for Developers APIs and Technologies
  13. 13. INTEGRATION WITH GOOGLE SERVICES Google Static Map Easy start: Static Map h2p://maps.googleapis.com/maps/api/sta1cmap  
  14. 14. INTEGRATION WITH GOOGLE SERVICES Google Static Map Flow and Entities
  15. 15. INTEGRATION WITH GOOGLE SERVICES Google Static Map ShowHotspots WebScreen
  16. 16. INTEGRATION WITH GOOGLE SERVICES Google Static Map Preparation Markers+"&markers=color:"+GetHotspots.List.Current.Color.Label+   "|label:"+GetHotspots.List.Current.Hotspot.Label+   "|"+GetHotspots.List.Current.Hotspot.GPS   "h2p://maps.googleapis.com/maps/api/sta1cmap?size=400x400&maptype=roadmap"+   Markers+"&sensor=false"  
  17. 17. INTEGRATION WITH GOOGLE SERVICES Google Static Map A few Hotspots
  18. 18. INTEGRATION WITH GOOGLE SERVICES Google Static Map Hotspots Map
  19. 19. INTEGRATION WITH GOOGLE SERVICES Google Maps Component Easy enough: Google Maps Component h2p://www.outsystems.com/NetworkSolu1ons/ProjectDetail.aspx?ProjectId=105  
  20. 20. INTEGRATION WITH GOOGLE SERVICES Google Maps Component Get an API Key h2ps://code.google.com/apis/console  
  21. 21. INTEGRATION WITH GOOGLE SERVICES Google Maps Component Reference GoogleMaps in your eSpace
  22. 22. INTEGRATION WITH GOOGLE SERVICES Google Maps Component Drag the script and the map and configure them
  23. 23. INTEGRATION WITH GOOGLE SERVICES Google Maps Component Run it
  24. 24. INTEGRATION WITH GOOGLE SERVICES Intermission How Chrome was invented
  25. 25. INTEGRATION WITH GOOGLE SERVICES Google ID Main course: Ingredients OpenID  is  an  open  standard  that  describes  how  users  can  be  authen1cated   in  a  decentralized  manner,  elimina1ng  the  need  for  services  to  provide   their  own  ad  hoc  systems  and  allowing  users  to  consolidate  their  digital   iden11es.   (source:  Wikipedia)     DotNetOpenAuth  is  a  well  established  open  source  library  that  bring   OpenID  capabili1es  to  the  MicrosoY  .NET  Framework.   (source:  h0p://www.dotnetopenauth.net/)     Integra:on  Studio  provides  proficient  soYware  developers  with  an   environment  that  empowers  their  ability  to  integrate  with  enterprise   systems  and  to  extend  the  exis1ng  func1onality  and  data  model  of  the   Agile  Pla^orm.   (source:  OutSystems)  
  26. 26. INTEGRATION WITH GOOGLE SERVICES Google ID Login with Google ID User  accesses  the  applica1on   Is  there  a  valid  Google  session?   Login  with  the  user  or  con1nue  as  anonymous   Yes;  use  the  e-­‐mail  to  locate  the  user   No;  redirect  to  Google  login  page  and  come  back  aYerwards  
  27. 27. INTEGRATION WITH GOOGLE SERVICES Google ID Google login page
  28. 28. INTEGRATION WITH GOOGLE SERVICES Google Data API Google Data API: Authentication OAuth  is  an  open  standard  for  authoriza1on.  It  allows  users  to  share  their   private  resources  (e.g.  photos,  videos,  contact  lists)  stored  on  one  site  with   another  site  without  having  to  hand  out  their  creden1als,  typically   supplying  username  and  password  tokens  instead.     (source:  Wikipedia)     Authen:ca:ng  to  the  Calendar  service   To  request,  add,  or  delete  data,  your  client  applica1on  needs  an   authen1ca1on  token.  You  should  use  OAuth  as  your  applica1on's   authen1ca1on  method.  You  can  use  OAuth  directly  by  sending  raw  HTTP   requests,  or  you  can  have  Google's  client  libraries  handle  the   authen1ca1on  for  you.     (source:  Google  Calendar  API  Developer's  Guide)  
  29. 29. INTEGRATION WITH GOOGLE SERVICES Google Calendar Data API Google Calendar Data API Calendar  API  feeds:   •   Calendar   •   Event   •   Comment   Calendar  Resource  API;  manage  resources  such  as:   •   Conference  rooms   •   Projectors   •   Company  vehicles  
  30. 30. INTEGRATION WITH GOOGLE SERVICES NOESIS m-meeting NOESIS m-meeting Mee1ng  management  system  that  allows  for  the   booking  of  appointments  and  resources.       Integrates  with                                                      and       Mul1language       Powered  by    
  31. 31. INTEGRATION WITH GOOGLE SERVICES NOESIS m-meeting Architecture m-meeting
  32. 32. INTEGRATION WITH GOOGLE SERVICES NOESIS m-meeting Manage Rooms
  33. 33. INTEGRATION WITH GOOGLE SERVICES NOESIS m-meeting Manage Resources
  34. 34. INTEGRATION WITH GOOGLE SERVICES NOESIS m-meeting Reservations (month view)
  35. 35. INTEGRATION WITH GOOGLE SERVICES NOESIS m-meeting Creating the event User  clicks  the  Create  bu2on   Get  event  components  like   loca1ons  and  par1cipants   Do  whatever  processing  the   components  might  require   Create  a  method  in  an  extension   that  accepts  all  the  components   Move  everything  into  the  correct   Google.GData  structures  and   create  the  event    
  36. 36. INTEGRATION WITH GOOGLE SERVICES NOESIS m-meeting Google Calendar (day view)
  37. 37. INTEGRATION WITH GOOGLE SERVICES NOESIS m-meeting Creating an event (step 1)
  38. 38. INTEGRATION WITH GOOGLE SERVICES NOESIS m-meeting Creating an event (step 2)
  39. 39. INTEGRATION WITH GOOGLE SERVICES NOESIS m-meeting Creating an event (step 3)
  40. 40. INTEGRATION WITH GOOGLE SERVICES NOESIS m-meeting Google Calendar (month view)
  41. 41. INTEGRATION WITH GOOGLE SERVICES NOESIS m-meeting Microsoft Outlook Appointment
  42. 42. INTEGRATION WITH GOOGLE SERVICES NOESIS m-meeting Deleting an event
  43. 43. INTEGRATION WITH GOOGLE SERVICES NOESIS m-meeting Microsoft Outlook Appointment
  44. 44. INTEGRATION WITH GOOGLE SERVICES Conclusion Conclusion Sta:c  maps:   •   write  an  URL  and  a  few  parameters   •   set  it  as  the  source  for  an  image  Widget   OutSystems  Google  Maps  component:   •   get  the  API  key   •   reference  and  configure  the  component   •   control  Google  Maps  from  within  your  apps   Google  Login  and  Calendar  API:   •   leverage  your  apps  with  Google  Services   •   a  li2le  more  work,  a  lot  more  func1onality   •   no  need  to  expose  your  apps  on  the  internet  
  45. 45. INTEGRATION WITH GOOGLE SERVICES Questions?
  46. 46. NOESIS_nome-documentoVx.x-©2011NOESISPORTUGAL PORTO Rua Gonçalo Cristóvão, 347 Sala 204 4049-059 Porto Tel.: +351 22 400 47 13 LISBOA Av. Prof. Dr. Aníbal Cavaco Silva Edifício Ciência II, 13 - 2A/2B Tagus Park 2740-120 - Porto Salvo Tel.: +351 21 423 54 30 Fax.: +351 21 423 54 59 E-mail: comercial@noesis.pt www.noesis.pt CONTACT US

×