Social Media Apps Programming Mobile Apps Using HTML5/CSS3/Javascript

Social Media Apps Programming Mobile Apps Using HTML5/CSS3/Javascript

Tamkang University Social Media Apps Programming Mobile Apps Using HTML5/CSS3/JavaScript 1041SMAP05 TLMXM1A (8687) (M2143) (Fall 2015) (MIS MBA) (2 Credits, Elec9ve) [Full English Course] Wed 9,10 (16:10-18:00) B310 Min-Yuh Day, Ph.D. Assistant Professor Department of Informaon Management Tamkang University h?p://mail.tku.edu.tw/myday 2015-10-14 Course Schedule (1/3) Week Date Subject/Topics 1 2015/09/16 Course Orientaon and Introduc9on to Social Media and Mobile Apps Programming 2 2015/09/23 Introduc9on to Android / iOS Apps Programming 3 2015/09/30 Developing Android Nave Apps with Java (Android Studio) (MIT App Inventor) 4 2015/10/07 Developing iPhone / iPad Nave Apps with Swia (XCode) 5 2015/10/14 Mobile Apps using HTML5/CSS3/JavaScript 6 2015/10/21 jQuery Mobile 2 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 Case Study on Social Media Apps Programming and Marke9ng in Google Play and App Store 12 2015/12/02 Google Cloud Plaorm 3 Course Schedule (3/3) Week Date Subject/Topics 13 2015/12/09 Google App Engine 14 2015/12/16 Google Map API 15 2015/12/23 Facebook API (Facebook JavaScript SDK) (Integrate Facebook with iOS/Android Apps) 16 2015/12/30 Twi?er API 17 2016/01/06 Final Project Presentaon 18 2016/01/13 Final Exam Week (Final Project Presentaon) 4 Outline • Mobile Apps • HTML5 – Hyper Text Markup Language (version 5)(2014) – Content and Structure • CSS3 – Cascading Style Sheets (version 3) – Presentaon, Layout and User Interface • JavaScript – Behavior and Business Logic 5 Android /iOS Apps Programming Nave Apps Hybrid Apps Mobile Web Apps 6 App Development Comparison Device Development App Approval Speed Access Cost Store Process Nave Full Very Fast Expensive Available Mandatory Apps Hybrid Nave Speed Low Full Reasonable Available Apps as Necessary Overhead Web Not Par9al Fast Reasonable None Apps Available Source: h?p://www.scribd.com/doc/50805466/Nave-Web-or-Hybrid-Mobile-App-Development 7 Building Android Apps with HTML, CSS, and JavaScript: Making Nave Apps with Standards-Based Web Tools, Jonathan Stark & Brian Jepson, O’reilly, 2012 Source: h?p://www.amazon.com/Building-Android-Apps-HTML-JavaScript/dp/1449316417 8 Building iPhone Apps with HTML, CSS, and JavaScript: Making App Store Apps Without Objec9ve-C or Cocoa, Jonathan Stark, O’reilly, 2010 Source: h?p://www.amazon.com/Building-iPhone-Apps-HTML-JavaScript/dp/0596805780 9 Learn HTML5 and JavaScript for iOS: Web Standards-based Apps for iPhone, iPad, and iPod touch, Sco? Preston, Apress, 2012 Source: h?p://www.amazon.com/Learn-HTML5-JavaScript-iOS-Standards-based/dp/1430240385 10 Learn HTML5 and JavaScript for iOS h?p://www.learnhtml5book.com/ 11 Mobile Apps • Mobile Website – Classic Website • Mobile Apps – Web Apps • Responsive Web Design (RWD) Source: Sco? Preston, Learn HTML5 and JavaScript for iOS: Web Standards-based Apps for iPhone, iPad, and iPod touch, Apress, 2012 12 Mobile Website Classic Website h?p://grandviewave.com/ 13 Mobile Apps (Web Apps) h?p://grandviewave.com/ 14 Responsive Web Design (RWD) h?p://grandviewave.com/m/ 15 Mobile Web App HTML Phone Data Templates CSS JavaScript External Data Mobile frameworks and Libraries Source: Sco? Preston, Learn HTML5 and JavaScript for iOS: Web Standards-based Apps for iPhone, iPad, and iPod touch, Apress, 2012 16 MVC Framework of Mobile Apps (HTML5, CSS3, JavaScript) Source: h?p://sc5.io/blog/2012/02/anatomy-of-a-html5-app/ 17 Mobile Web App Organizing files in directories • Classic Website – / - for all HTML files – /css - for all CSS – /js - for all JavaScript – /images - for all images • Mobile Web App – /m -for all HTML files – /m/css - for all CSS – /m/js - for all JavaScript – /m/images - for all images. Source: Sco? Preston, Learn HTML5 and JavaScript for iOS: Web Standards-based Apps for iPhone, iPad, and iPod touch, Apress, 2012 18 HTML5 19 HTML5 index.html <!DOCTYPE html> <html> <head> <meta charset=“UTF-8”> <title>My Title</title> </head> <body> Hello World </body> </html> 20 HTML5 Game hp://www.cu?herope.ie/ hp://www.cuherope.ie/ 21 Objecve-C to JavaScript hp://www.cuherope.ie/dev/ 22 Cut the Rope App Source: h?ps://itunes.apple.com/app/cut-the-rope/id380293530?mt=8 23 HTML Versions Version Year HTML 1991 HTML+ 1993 HTML 2.0 1995 HTML 3.2 1997 HTML 4.01 1999 XHTML 1.0 2000 HTML5 2014 Source: h?p://www.w3schools.com/html/html_intro.asp 24 The <!DOCTYPE> DeclaraTon HTML5 <!DOCTYPE html> HTML 4.01 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> XHTML 1.0 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Source: h?p://www.w3schools.com/html/html_intro.asp 25 What is HTML? • HTML is a language for describing web pages. – HTML stands for Hyper Text Markup Language – HTML is a markup language – A markup language is a set of markup tags – The tags describe document content – HTML documents contain HTML tags and plain text – HTML documents are also called web pages <!DOCTYPE html> <html> <head> <meta charset=“UTF-8”> <title>My Title</title> </head> <body> Hello World </body> </html> Source: h?p://www.w3schools.com/html/html_intro.asp 26 HTML Tag, Element, Aribute HTML Element <title>My Title</title> <p>This is a paragraph.</p> <tagname>content</tagname> 27 HTML Tag, Element, Aribute HTML Element <title>My Title</title> Tag Tag Start Tag End Tag Opening Tag Closing Tag 28 HTML Tag, Element, Aribute Element <meta charset=“UTF-8”> Tag Abute 29 What is HTML5 • HTML5 is The New HTML Standard – What HTML5 is Not • The new HTML5 structural elements and aributes • The new HTML5 form input types and aributes 30 What HTML5 is Not • It’s Not XHTML – <div id=container>This is a div<br></div> – <div id="container">This is another div<br/></div> • It’s Not HTML4+1 • HTML5 is Not Just Markup – Not just tags – It’s also a set of JavaScript APIs • Provide a richer user experience Source: Sco? Preston, Learn HTML5 and JavaScript for iOS: Web Standards-based Apps for iPhone, iPad, and iPod touch, Apress, 2012 31 HTML5 is The New HTML Standard Source: h?p://www.w3.org/html/logo/ 32 HTML5 is The New HTML Standard Source: h?p://www.w3schools.com/html/html5_intro.asp 33 HTML5 is The New HTML Standard • New Elements • New A?ributes • Full CSS3 Support • Video and Audio • 2D/3D Graphics • Local Storage • Local SQL Database • Web Applicaons Source: h?p://www.w3schools.com/html/html5_intro.asp 34 HTML5 MulTmedia With HTML5, playing video and audio is easier than ever. <!DOCTYPE HTML> • HTML5 <video> <html> <body> • HTML5 <audio> <video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video> </body> </html> Source: h?p://www.w3schools.com/html/html5_intro.asp 35 HTML5 Graphics With HTML5, drawing graphics is easier than ever: • Using the <canvas> element • Using inline SVG • Using CSS3 2D/3D Source: h?p://www.w3schools.com/html/html5_intro.asp 36 HTML5 ApplicaTons With HTML5, web applicaon development is easier than ever. • Local data storage • Local file access • Local SQL database • Applicaon cache • Javascript workers • XHTMLHpRequest 2 Source: h?p://www.w3schools.com/html/html5_intro.asp 37 Semanc Elements HTML5 Forms • Seman9c Elements – New elements for headers, footers, menus, secons, and ar9cles. • HTML5 Forms – New form elements, – new aributes, – new input types, – automac validaon. Source: h?p://www.w3schools.com/html/html5_intro.asp 38 HTML5 uses CSS3 • New Selectors • New Properes • Animaons • 2D/3D Transformaons • Rounded Corners • Shadow Effects • Downloadable Fonts Source: h?p://www.w3schools.com/html/html5_intro.asp 39 HTML5 index.html <!DOCTYPE html> <html> <head> <meta charset=“UTF-8”> <title>My Title</title> </head> <body> Hello World </body> </html> 40 CSS3 41 Cascading Style Sheets (CSS) • a simple mechanism for adding style (e.g., fonts, colors, spacing) to Web documents. Source: h?p://www.w3.org/Style/CSS/ 42 CSS3 • CSS3 is the latest standard for CSS. • CSS3 is completely backwards-compable with earlier versions of CSS. Source: h?p://www.w3schools.com/css/css3_intro.asp 43 CSS h?p://www.w3schools.com/css/css_syntax.asp 44 css <link rel=“stylesheet” type=“text/css” href=“mystyle1.css”> 45 CSS <style> body {background-color:yellow;} h1 {color:green} p {color:red;} div {color:blue; font-size:18px;} </style> 46 JavaScript 47 JavaScript • JavaScript is a Scrip9ng Language – A scrip9ng language is a lightweight programming language. – JavaScript is programming code that can be inserted into HTML pages. – JavaScript code can be executed by all modern web browsers. – JavaScript is easy to learn. Source: h?p://www.w3schools.com/js/js_intro.asp 48 JavaScript: WriTng Into HTML Output document.write("<h1>This is a heading</h1>"); document.write("<p>This is a paragraph</p>"); 49 JavaScript: ReacTng to Events <button type="button" onclick="alert('Welcome!')"> Click Me!</button> 50 JavaScript: Changing HTML Content x=document.getElementById("demo"); x.innerHTML="Hello JavaScript”; 51 HTML5 Editors 52 Maqeaa: Online HTML5 WYSIWYG Editor h?p://maqe?a.org/ 53 Aloha Editor: HTML5 WYSIWYG editor h?p://www.aloha-editor.org/ 54 Adobe Dreamweaver h?p://www.adobe.com/products/dreamweaver.html 55 BlueGriffon: WYSIWYG content editor hp://www.bluegriffon.org/ 56 Online Editor: hp://jsbin.com hp://jsbin.com/

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    92 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us