Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Ruben rodriguez best practices implementing oracle mobile cloud service

369 views

Published on

Slides of my session in UKOUG Tech 2017 (Birmingham)

  • Be the first to comment

  • Be the first to like this

Ruben rodriguez best practices implementing oracle mobile cloud service

  1. 1. © avanttic Consultoría Tecnológica, S.L Best Practices Implementing Oracle Mobile Cloud Service Rubén Rodríguez Cloud & Mobile Solution Specialist 05/12/2017 Best Practices Implementing Oracle Mobile Cloud Service
  2. 2. © avanttic Consultoría Tecnológica, S.L Introduction About me •ADF Technical Lead, Cloud & Mobile Solution Specialist •Blogger (www.rsantrod.com & blog.avanttic.com) •Developer Community Forums •Author www.linkedin.com/in/rsantrod @rsantrodruben.rodriguez@avanttic.com 2 Best Practices Implementing Oracle Mobile Cloud Service
  3. 3. © avanttic Consultoría Tecnológica, S.L Introduction 3 Why develop and test in the cloud? • Traditional Software Release Process – Slow, costly, error prone • Cloud Infrastructure and Platform Services – Fast, efficient, cost • effective, empowers the business Database Developer • Oracle Cloud offers choice of industry leading cloud databases: • Oracle Database, Oracle MySQL • Oracle Database Cloud Services – Rich set of tools to develop for a wide variety of applications Cloud Native Developer • Shift from large, monolithic applications to microservices and API • first for a better product and easier changes • Oracle Application Container Cloud Service (ACC) Mobile Developer • Enterprises need a mobile strategy that enables them to fulfill the need of a scalable, efficient, and robust platform • Oracle Mobile Cloud Service Best Practices Implementing Oracle Mobile Cloud Service
  4. 4. © avanttic Consultoría Tecnológica, S.L Introduction 4 • Build RESTful APIs using Oracle ADF BC as REST and Node.js and deploy on Java Cloud Service and Application Container Cloud Service • The architecture and functionality of the Oracle Mobile Cloud Enterprise • Integrate different systems and building Mobile ready APIs using Mobile Core • Build hybrid applications using Oracle JavaScript Extension Toolkit • Create mobile-first Uis using zero-code platforms: Oracle VBCS and Oracle MAX • Build a Chatbot for your enterprise using Oracle Intelligent Bots Cloud Service Best Practices Implementing Oracle Mobile Cloud Service
  5. 5. © avanttic Consultoría Tecnológica, S.L5 + 160 Solutions Business Analytics Fusion Middleware Infraestructura y Plataforma Cloud (IaaS & PaaS) Offices in Madrid y Barcelona 32 Specialized Introduction About avanttic
  6. 6. © avanttic Consultoría Tecnológica, S.L Agenda 1. Oracle MCS Overview 2. Tips & Tricks 3. Demo 4. Customer case 6 Best Practices Implementing Oracle Mobile Cloud Service
  7. 7. © avanttic Consultoría Tecnológica, S.L Oracle MCS overview 7 Best Practices Implementing Oracle Mobile Cloud Service
  8. 8. © avanttic Consultoría Tecnológica, S.L Oracle MCS overview Challenges of Enterprise Mobile Development •Cross platform support 8 Best Practices Implementing Oracle Mobile Cloud Service •Existing enterprise services aren’t built for mobile. •Push notifications •Offline data synchronization •Analytics •Security
  9. 9. © avanttic Consultoría Tecnológica, S.L9 Solution Oracle Mobile Cloud Service Oracle Cloud Cloud/Internet On-Premise Mobile Client SDKs Custom APIsMobile Backend Connectors REST APIs Diagnostics Analytics Lifecycle Node JavaScript SDK Oracle MAF & MAX Platform APIs Push Notifications User Services File Storage Relational Database Data Offline App Policies REST SOAP ICS Developer Location Services © avanttic Consultoría Tecnológica, S.L Oracle MCS overview Arquitecture Best Practices Implementing Oracle Mobile Cloud Service
  10. 10. © avanttic Consultoría Tecnológica, S.L9 Solution Oracle Mobile Cloud Service Oracle Cloud Cloud/Internet On-Premise Mobile Client SDKs Custom APIsMobile Backend Connectors REST APIs Diagnostics Analytics Lifecycle Node JavaScript SDK Oracle MAF & MAX Platform APIs Push Notifications User Services File Storage Relational Database Data Offline App Policies REST SOAP ICS Developer Location Services © avanttic Consultoría Tecnológica, S.L Oracle MCS overview Arquitecture Best Practices Implementing Oracle Mobile Cloud Service
  11. 11. © avanttic Consultoría Tecnológica, S.L9 Solution Oracle Mobile Cloud Service Oracle Cloud Cloud/Internet On-Premise Mobile Client SDKs Custom APIsMobile Backend Connectors REST APIs Diagnostics Analytics Lifecycle Node JavaScript SDK Oracle MAF & MAX Platform APIs Push Notifications User Services File Storage Relational Database Data Offline App Policies REST SOAP ICS Developer Location Services © avanttic Consultoría Tecnológica, S.L Oracle MCS overview Arquitecture Best Practices Implementing Oracle Mobile Cloud Service
  12. 12. © avanttic Consultoría Tecnológica, S.L9 Solution Oracle Mobile Cloud Service Oracle Cloud Cloud/Internet On-Premise Mobile Client SDKs Custom APIsMobile Backend Connectors REST APIs Diagnostics Analytics Lifecycle Node JavaScript SDK Oracle MAF & MAX Platform APIs Push Notifications User Services File Storage Relational Database Data Offline App Policies REST SOAP ICS Developer Location Services © avanttic Consultoría Tecnológica, S.L Oracle MCS overview Arquitecture Best Practices Implementing Oracle Mobile Cloud Service
  13. 13. © avanttic Consultoría Tecnológica, S.L9 Solution Oracle Mobile Cloud Service Oracle Cloud Cloud/Internet On-Premise Mobile Client SDKs Custom APIsMobile Backend Connectors REST APIs Diagnostics Analytics Lifecycle Node JavaScript SDK Oracle MAF & MAX Platform APIs Push Notifications User Services File Storage Relational Database Data Offline App Policies REST SOAP ICS Developer Location Services © avanttic Consultoría Tecnológica, S.L Oracle MCS overview Arquitecture Best Practices Implementing Oracle Mobile Cloud Service
  14. 14. © avanttic Consultoría Tecnológica, S.L9 Solution Oracle Mobile Cloud Service Oracle Cloud Cloud/Internet On-Premise Mobile Client SDKs Custom APIsMobile Backend Connectors REST APIs Diagnostics Analytics Lifecycle Node JavaScript SDK Oracle MAF & MAX Platform APIs Push Notifications User Services File Storage Relational Database Data Offline App Policies REST SOAP ICS Developer Location Services © avanttic Consultoría Tecnológica, S.L Oracle MCS overview Arquitecture Best Practices Implementing Oracle Mobile Cloud Service
  15. 15. © avanttic Consultoría Tecnológica, S.L9 Solution Oracle Mobile Cloud Service Oracle Cloud Cloud/Internet On-Premise Mobile Client SDKs Custom APIsMobile Backend Connectors REST APIs Diagnostics Analytics Lifecycle Node JavaScript SDK Oracle MAF & MAX Platform APIs Push Notifications User Services File Storage Relational Database Data Offline App Policies REST SOAP ICS Developer Location Services © avanttic Consultoría Tecnológica, S.L Oracle MCS overview Arquitecture Best Practices Implementing Oracle Mobile Cloud Service
  16. 16. © avanttic Consultoría Tecnológica, S.L Tips & Tricks 16 Best Practices Implementing Oracle Mobile Cloud Service
  17. 17. © avanttic Consultoría Tecnológica, S.L Tips & Tricks API design 17 Resource POST create GET read PUT update DELETE delete /employees Create a new employee List employees Bulk update of employees Delete all employees /employees/100 Show employee 100 Update employee 100 Delete employee 100 /getAllEmployees /createNewEmployee /deleteAllEmployees GET /employees?name=John GET /employees?salary<=25000 Filtering GET /employees?sort=+salary,-nameSorting Best Practices Implementing Oracle Mobile Cloud Service
  18. 18. © avanttic Consultoría Tecnológica, S.L Tips & Tricks API design 18 Code Name Meaning 200 OK Everything went fine. I return the resource you requested. 201 Created We successfully created a new resource. 204 No Content There is nothing to see here. 401 Unauthorized You did not provide valid credentials. 404 Not found Return this if a requested object could not be found. 422 Unprocessable Entity Resource cannot be saved. Best Practices Implementing Oracle Mobile Cloud Service
  19. 19. © avanttic Consultoría Tecnológica, S.L Tips & Tricks API design 19 Best Practices Implementing Oracle Mobile Cloud Service
  20. 20. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Express API 20 Best Practices Implementing Oracle Mobile Cloud Service
  21. 21. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Express API 21 Best Practices Implementing Oracle Mobile Cloud Service
  22. 22. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Express API 22 Best Practices Implementing Oracle Mobile Cloud Service
  23. 23. © avanttic Consultoría Tecnológica, S.L Tips & Tricks API-First approach Best Practices Implementing Oracle Mobile Cloud Service23 Connectors Departments Employees Tasks … … Custom APIs DepartmentsAPI Departments REST Employees SOAP Tasks SOAP EmployeesAPI /departments /departments/1 /departments /1/employees /departments /1/employees/10 … /employees /employees/1 /employees/1/tasks /employees /1/tasks/10
  24. 24. © avanttic Consultoría Tecnológica, S.L Tips & Tricks API-First approach Best Practices Implementing Oracle Mobile Cloud Service24 Connectors Departments Employees Tasks … … Custom APIs Departments REST Employees SOAP Tasks SOAP … DepartmentsAPI /departments /departments/1 /departments /1/employees /departments /1/employees/10 EmployeesAPI /employees /employees/1 /employees /1/tasks /Employees /1/tasks/10 DepartmentsBase EmployeesBase … GET POST PUT DELETE GET POST PUT DELETE
  25. 25. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Using node.js modules 25 http://bit.ly/MCSPDFKit Best Practices Implementing Oracle Mobile Cloud Service
  26. 26. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Using node.js modules 26 http://bit.ly/MCSTwitterFeed Best Practices Implementing Oracle Mobile Cloud Service
  27. 27. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Callback Hell Best Practices Implementing Oracle Mobile Cloud Service27
  28. 28. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Callback Hell 28 Best Practices Implementing Oracle Mobile Cloud Service
  29. 29. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Callback Hell 29 Best Practices Implementing Oracle Mobile Cloud Service
  30. 30. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Callback Hell Best Practices Implementing Oracle Mobile Cloud Service30
  31. 31. © avanttic Consultoría Tecnológica, S.L Tips & Tricks JSON Translator 31 Best Practices Implementing Oracle Mobile Cloud Service
  32. 32. © avanttic Consultoría Tecnológica, S.L Tips & Tricks JSON Translator 32 Best Practices Implementing Oracle Mobile Cloud Service
  33. 33. © avanttic Consultoría Tecnológica, S.L Tips & Tricks JSON Translator 33 Best Practices Implementing Oracle Mobile Cloud Service
  34. 34. © avanttic Consultoría Tecnológica, S.L Tips & Tricks JSON Translator 34 Best Practices Implementing Oracle Mobile Cloud Service
  35. 35. © avanttic Consultoría Tecnológica, S.L Tips & Tricks JSON Translator: Using xml2js module • ' $ ' means that we want to add attributes to the XML element. http://bit.ly/MCSBypassTranslator • ' _ ' means that we want to have something inside that element. 35 Best Practices Implementing Oracle Mobile Cloud Service
  36. 36. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Application Policies Best Practices Implementing Oracle Mobile Cloud Service36
  37. 37. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Application Policies Best Practices Implementing Oracle Mobile Cloud Service37
  38. 38. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Application Policies Best Practices Implementing Oracle Mobile Cloud Service38
  39. 39. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Application Policies Best Practices Implementing Oracle Mobile Cloud Service39 http://bit.ly/MCSAppPolicies
  40. 40. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Application Policies Best Practices Implementing Oracle Mobile Cloud Service40 http://bit.ly/MCSAppPolicies
  41. 41. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Application Policies Best Practices Implementing Oracle Mobile Cloud Service41 http://bit.ly/MCSAppPolicies
  42. 42. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Application Policies Best Practices Implementing Oracle Mobile Cloud Service42 http://bit.ly/MCSAppPolicies
  43. 43. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Different personas Service Developer VS Mobile App Developer 43 Best Practices Implementing Oracle Mobile Cloud Service
  44. 44. © avanttic Consultoría Tecnológica, S.L Tips & Tricks API-design first Avoid rework: feedback early in the cycle By getting feedback very early in the lifecycle, changes of rework late in the cycle are slim. Saving time and cost. 1 Parallel development: Decouple App dev from Service dev By defining APIs with API Blueprints or Swagger, app dev and service dev can occur in parallel. Agile: be ready for change By continuously verifying service builds against API definitions, non-compliant updates can be detected quickly. 3 2 Thanks to Luis Weir for sharing this slide
  45. 45. © avanttic Consultoría Tecnológica, S.L Tips & Tricks API-design first Best Practices Implementing Oracle Mobile Cloud Service45
  46. 46. © avanttic Consultoría Tecnológica, S.L Tips & Tricks API-design first Best Practices Implementing Oracle Mobile Cloud Service46
  47. 47. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Custom Code Test Tools Best Practices Implementing Oracle Mobile Cloud Service47 Oracle MCS Oracle Mobile API Platform APIs MCS-TOOLS MCS-CCC MCS-DEPLOY MCS-TEST Custom API Implementation
  48. 48. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Custom Code Test Tools Best Practices Implementing Oracle Mobile Cloud Service48
  49. 49. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Custom Code Test Tools Best Practices Implementing Oracle Mobile Cloud Service49
  50. 50. © avanttic Consultoría Tecnológica, S.L Tips & Tricks Custom Code Test Tools Best Practices Implementing Oracle Mobile Cloud Service50 mcs-test <path to toolsConfig.json> <test name> [-—verbose] mcs-deploy <toolsConfig.json> -u <MCS team member> -p <pass> [--verbose] mcs-ccc <path to toolsConfig.json> [--debug] [--verbose]
  51. 51. © avanttic Consultoría Tecnológica, S.L Demo 51 Best Practices Implementing Oracle Mobile Cloud Service
  52. 52. © avanttic Consultoría Tecnológica, S.L Customer cases Industrial Farmacéutica Cantabria (IFC) 52 Best Practices Implementing Oracle Mobile Cloud Service
  53. 53. © avanttic Consultoría Tecnológica, S.L Customer case: IFC Customer problems 53 Best Practices Implementing Oracle Mobile Cloud Service
  54. 54. © avanttic Consultoría Tecnológica, S.L Customer case: IFC Customer problems • Internet connection is required to work. • Delivery performance. • General application vs Specific application. • CRM application is not mobile friendly. • Catalog. Oracle Mobile Cloud Service54 Best Practices Implementing Oracle Mobile Cloud Service
  55. 55. © avanttic Consultoría Tecnológica, S.L Customer case: IFC Challenges • Provide an agile tool to the sales force so they can work with their corporate CRM (Oracle Siebel). • Implement a scalable, secure, and flexible platform. • Incorporate Oracle MCS at half-way of the project • Develop specific application for iOS/Android devices. • 100% offline application. • Short development time needed. Oracle Mobile Cloud Service55 Best Practices Implementing Oracle Mobile Cloud Service
  56. 56. © avanttic Consultoría Tecnológica, S.L Customer case: IFC Solution 56 Best Practices Implementing Oracle Mobile Cloud Service
  57. 57. © avanttic Consultoría Tecnológica, S.L www.linkedin.com/in/rsantrod @rsantrodruben.rodriguez@avanttic.com Questions 57 Best Practices Implementing Oracle Mobile Cloud Service
  58. 58. © avanttic Consultoría Tecnológica, S.L58 Rubén Rodríguez ruben.rodriguez@avanttic.com Best Practices Implementing Oracle Mobile Cloud Service

×