Presentation is loading. Please wait.

Presentation is loading. Please wait.

Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University

Similar presentations


Presentation on theme: "Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University"— Presentation transcript:

1 Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University http://mail.tku.edu.tw/myday Tamkang University 2015-12-09 1041SMAP10 TLMXM1A (8687) (M2143) (Fall 2015) (MIS MBA) (2 Credits, Elective) [Full English Course] Wed 9,10 (16:10-18:00) B310 Google Cloud Platform

2 Course Schedule (1/3) Week Date Subject/Topics 1 2015/09/16 Course Orientation and Introduction to Social Media and Mobile Apps Programming 2 2015/09/23 Introduction to Android / iOS Apps Programming 3 2015/09/30 Developing Android Native Apps with Java (Android Studio) (MIT App Inventor) 4 2015/10/07 Developing iPhone / iPad Native Apps with Swift (XCode) 5 2015/10/14 Mobile Apps using HTML5/CSS3/JavaScript 6 2015/10/21 jQuery Mobile 2

3 Course Schedule (2/3) Week Date Subject/Topics 7 2015/10/28 Create Hybrid Apps with Phonegap 8 2015/11/04 jQuery Mobile/Phonegap 9 2015/11/11 jQuery Mobile/Phonegap 10 2015/11/18 Midterm Exam Week (Midterm Project Report) 11 2015/11/25 Invited Talk: Business Intelligent and Analysis in PIXNET, the Dominant Blog Platform in Taiwan [Speaker: Dr. Rick Cheng-Yu Lu, CTO, PIXNET] 12 2015/12/02 Case Study on Social Media Apps Programming and Marketing in Google Play and App Store 3

4 Course Schedule (3/3) Week Date Subject/Topics 13 2015/12/09 Google Cloud Platform 14 2015/12/16 Google App Engine and Google Map API 15 2015/12/23 Facebook API (Facebook JavaScript SDK) (Integrate Facebook with iOS/Android Apps) 16 2015/12/30 Twitter API 17 2016/01/06 Final Project Presentation 18 2016/01/13 Final Exam Week (Final Project Presentation) 4

5 Outline Google Cloud Platform – Google App Engine – Google Cloud Datastore – Google Cloud Endpoints Mobile App with Google Cloud Platform 5

6 6 https://cloud.google.com/ Google Cloud Platform

7 Google Cloud Platform is a set of modular cloud-based services that allow you to create anything from simple websites to complex applications. 7 Source: https://cloud.google.com/https://cloud.google.com/

8 8 Source: https://cloud.google.com/products/https://cloud.google.com/products/ Big DataStorage Hosting + Compute Services Google Cloud Platform

9 9 Source: https://cloud.google.com/products/https://cloud.google.com/products/ Compute Engine App Engine Container Engine Cloud Datastore Cloud SQL Cloud Storage Big Query Big DataStorageComputeServices Cloud Endpoints Translate API Prediction API Google Cloud Platform

10 10 Source: https://cloud.google.com/why-google/https://cloud.google.com/why-google/ Why Google Cloud Platform

11 11 Why Google Cloud Platform Source: https://cloud.google.com/https://cloud.google.com/

12 Customers of Google Cloud Platform 12 Source: https://cloud.google.com/customers/https://cloud.google.com/customers/

13 Angry Birds 13 Source: https://cloud.google.com/customers/https://cloud.google.com/customers/

14 Compute 14 Source: https://cloud.google.com/products/https://cloud.google.com/products/

15 Storage 15 Source: https://cloud.google.com/products/https://cloud.google.com/products/

16 BigQuery Analyze Big Data in the cloud with BigQuery. Run fast, SQL-like queries against multi- terabyte datasets in seconds. Scalable and easy to use, BigQuery gives you real-time insights about your data 16 Source: https://cloud.google.com/products/https://cloud.google.com/products/

17 Services 17 Source: https://cloud.google.com/products/https://cloud.google.com/products/

18 Prediction API Use Google’s machine learning algorithms to analyze data and predict future outcomes using a familiar RESTful interface. 18 Source: https://cloud.google.com/products/https://cloud.google.com/products/

19 Google Cloud Platform Solutions 19 Source: https://cloud.google.com/solutions/https://cloud.google.com/solutions/

20 Try Google Cloud Platform for Free 20 Source: https://cloud.google.com/free-trial/https://cloud.google.com/free-trial/

21 Mobile App with Google Cloud Platform 21 Source: https://cloud.google.com/solutions/mobile/https://cloud.google.com/solutions/mobile/

22 22 Source: https://cloud.google.com/solutions/mobile/https://cloud.google.com/solutions/mobile/ Mobile App with Google Cloud Platform

23 23 Source: https://cloud.google.com/developers/articles/mobile-application-solutions/https://cloud.google.com/developers/articles/mobile-application-solutions/

24 Mobile Solution on Google Cloud Platform Support for Android and iOS devices through native applications Storage, retrieval, and processing data outside of mobile devices Orchestrating push notification to Android and IOS devices Geo-location awareness and geo-proximity search User authentication High scalability 24 Source: https://cloud.google.com/developers/articles/mobile-application-solutions/https://cloud.google.com/developers/articles/mobile-application-solutions/

25 Mobile App Solutions Architecture 25 Source: https://cloud.google.com/developers/articles/mobile-application-solutions/https://cloud.google.com/developers/articles/mobile-application-solutions/

26 Mobile App Solutions Architecture Android and/or iOS mobile clients. Google Cloud Endpoints used for communications between the clients and the backend over REST API with optional OAuth2 authentication. Your mobile backend application code running on Google App Engine and responsible for serving requests from the clients. 26 Source: https://cloud.google.com/developers/articles/mobile-application-solutions/https://cloud.google.com/developers/articles/mobile-application-solutions/

27 Storing data 27

28 Google App Engine Datastore Quotas and limits LimitAmount Maximum entity size 1 megabyte Maximum transaction size 10 megabytes Maximum number of index entries for an entity 20000 Maximum number of bytes in composite indexes for an entity 2 megabytes 28 Source: https://cloud.google.com/appengine/docs/java/datastore/https://cloud.google.com/appengine/docs/java/datastore/

29 Optimizing data access with Memcache 29 Source: https://cloud.google.com/developers/articles/mobile-application-solutions/https://cloud.google.com/developers/articles/mobile-application-solutions/

30 Google App Engine Platform as a Service (PaaS) 30 Source: https://cloud.google.com/appengine/docshttps://cloud.google.com/appengine/docs build and run applications on Google’s infrastructure

31 Google App Engine Platform as a Service (PaaS) 31 Source: https://cloud.google.com/appengine/docshttps://cloud.google.com/appengine/docs Google Compute Engine Infrastructure as a Service (IaaS)

32 Google App Engine 1 GB of data storage and traffic for free can be increased by enabling paid applications 32 Source: https://cloud.google.com/appengine/docs/whatisgoogleappenginehttps://cloud.google.com/appengine/docs/whatisgoogleappengine

33 Google App Engine 33 Python Java PHPGo Google App Engine supports apps written in a variety of programming languages: Python, Java, PHP, Go Source: https://cloud.google.com/appengine/docs/whatisgoogleappenginehttps://cloud.google.com/appengine/docs/whatisgoogleappengine

34 34 Google App Engine https://cloud.google.com/appengine/

35 35 Google App Engine https://cloud.google.com/appengine/

36 36 Google Cloud Datastore https://cloud.google.com/datastore/

37 37 Google Cloud Datastore https://cloud.google.com/datastore/

38 Google Cloud Endpoints 38 Source: https://cloud.google.com/endpoints/https://cloud.google.com/endpoints/

39 39 Google Cloud Endpoints Source: https://cloud.google.com/endpoints/https://cloud.google.com/endpoints/

40 Mobile Apps Backend on Google App Engine 40 Source: https://cloud.google.com/appengine/docs/java/endpoints/https://cloud.google.com/appengine/docs/java/endpoints/ Cloud Endpoints App Engine Google Cloud Endpoints Architecture

41 Mobile App, Goolge App Engine, Cloud Datasotre 41 http://www.youtube.com/watch?v=v5u_Owtbfew

42 Mobile, Web and Cloud 42 http://www.youtube.com/watch?v=6_oO9Gwf_do

43 Build your mobile app with Google Cloud Platform 43 http://www.youtube.com/watch?v=ZZNb1NOPTp8

44 44 http://www.youtube.com/watch?v=QJp6hmASstQ App Engine Architecture and Services

45 45 Source: Datastore Introduction, http://www.youtube.com/watch?v=fQazhzcC-rg http://www.youtube.com/watch?v=fQazhzcC-rg Datastore Introduction

46 Google Cloud Datastore 46 Source: Datastore Introduction, http://www.youtube.com/watch?v=fQazhzcC-rghttp://www.youtube.com/watch?v=fQazhzcC-rg Datasotre is a database (persistent storage) for App Engine Google App Engine Traditional Web applications Google App Engine (Java, Python, Go) Google App Engine (Java, Python, Go) Datastore RDBMS MySQL PostgreSQL SQL Server Oracle RDBMS MySQL PostgreSQL SQL Server Oracle Perl/CGI PHP Ruby on Rails ASP/JSP Perl/CGI PHP Ruby on Rails ASP/JSP Web application framework (AP) Web application framework (AP) Persistent storage (Database) Persistent storage (Database)

47 47 https://cloud.google.com/docs/ Google Cloud Platform

48 Try Google Cloud Platform for free 48

49 49 Try Google Cloud Platform for free

50 50 https://cloud.google.com/docs/ Google Cloud Platform

51 51 https://cloud.google.com/docs/ Google Cloud Platform

52 App Engine "Hello World" starter Start editing a working "Hello World" app right now, in the browser. This gives you a good starting point and a feel for what it's like editing a working App Engine application. 52 https://console.developers.google.com/start/appengine Google App Engine Deploy your first app in five minutes

53 Try Google App Engine Now 1.NAME YOUR PROJECT 2.SELECT YOUR LANGUAGE 3.EXPLORE THE STARTER CODE 4.INSTALL GOOGLE CLOUD SDK 5.RUN YOUR APP LOCALLY 6.CREATE YOUR PROJECT AND DEPLOY 53

54 54 Google App Engine

55 55 Google App Engine

56 56 Google App Engine

57 57 Google App Engine

58 58 Google App Engine

59 59 Google App Engine

60 60 Google App Engine

61 61 Google App Engine

62 62 Creating a Guestbook 1. Download the App Engine SDK 2. Explaining the webapp2 Framework 3. Using the Users Service 4. Handling Forms with webapp2 5. Using the Datastore 6. Using Templates 7. Using Static Files 8. Uploading Your Application Google App Engine Build an App Engine Application using Python Source: https://cloud.google.com/appengine/docs/python/gettingstartedpython27/introductionhttps://cloud.google.com/appengine/docs/python/gettingstartedpython27/introduction

63 63 Google App Engine Source: https://cloud.google.com/appengine/docs/python/gettingstartedpython27/introductionhttps://cloud.google.com/appengine/docs/python/gettingstartedpython27/introduction

64 64 Google App Engine Source: https://cloud.google.com/appengine/docs/python/gettingstartedpython27/introductionhttps://cloud.google.com/appengine/docs/python/gettingstartedpython27/introduction

65 65 Google App Engine Source: https://cloud.google.com/appengine/docs/python/gettingstartedpython27/introductionhttps://cloud.google.com/appengine/docs/python/gettingstartedpython27/introduction

66 66 Google App Engine Source: https://cloud.google.com/appengine/docs/python/gettingstartedpython27/introductionhttps://cloud.google.com/appengine/docs/python/gettingstartedpython27/introduction

67 67 Google App Engine Source: https://cloud.google.com/appengine/docs/python/gettingstartedpython27/introductionhttps://cloud.google.com/appengine/docs/python/gettingstartedpython27/introduction

68 68 Google App Engine Source: https://cloud.google.com/appengine/docs/python/gettingstartedpython27/introductionhttps://cloud.google.com/appengine/docs/python/gettingstartedpython27/introduction

69 69 Google App Engine Source: https://cloud.google.com/appengine/docs/python/gettingstartedpython27/introductionhttps://cloud.google.com/appengine/docs/python/gettingstartedpython27/introduction

70 70 Google App Engine Source: https://cloud.google.com/appengine/docs/python/gettingstartedpython27/introductionhttps://cloud.google.com/appengine/docs/python/gettingstartedpython27/introduction

71 71 Google App Engine Source: https://cloud.google.com/appengine/docs/python/gettingstartedpython27/introductionhttps://cloud.google.com/appengine/docs/python/gettingstartedpython27/introduction

72 72 Google Cloud Platform

73 Summary Google Cloud Platform – Google App Engine – Google Cloud Datastore – Google Cloud Endpoints Mobile App with Google Cloud Platform 73

74 References Google Cloud Platform, https://cloud.google.com/ https://cloud.google.com/ Google App Engine, https://cloud.google.com/appengine/ https://cloud.google.com/appengine/ Google Cloud Datastore, https://cloud.google.com/datastore/ https://cloud.google.com/datastore/ Google Cloud Endpoints, https://cloud.google.com/endpoints/ https://cloud.google.com/endpoints/ 74


Download ppt "Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University"

Similar presentations


Ads by Google