mobile web (html5 & css3)

33
Mobile Web – An Insight Naveen Krishnamurthy CTO & Co-Founder LadderMinds 1

Upload: ladderminds

Post on 17-Jul-2015

76 views

Category:

Internet


5 download

TRANSCRIPT

Page 1: Mobile Web (HTML5 & CSS3)

Mobile Web – An Insight

Naveen KrishnamurthyCTO & Co-Founder

LadderMinds

1

Page 2: Mobile Web (HTML5 & CSS3)

Disclaimer: All the logos and product names used in this presentation are registered and owned by their respective brands.

2

Page 3: Mobile Web (HTML5 & CSS3)

About Us

Startup focused on Mobile Web & Cloud Computing

Service Model: Consulting, Coaching, Community

Founded by Alumnus of BITS, Pilani and SREC, Coimbatore

3

Page 4: Mobile Web (HTML5 & CSS3)

Agenda

• Key Note

• Mobile Operating Systems

• Mobile Applications

• Technology– HTML5 & CSS3

– JavaScript Libraries (jQuery Mobile)

– Packaging Application (Phone Gap)

• Tools– jQuery Mobile

– Monaca

• Demo

• Q&A

4

Page 5: Mobile Web (HTML5 & CSS3)

MANY SCREENS ONE WEB

5

Page 6: Mobile Web (HTML5 & CSS3)

6

http://www.smartinsights.com/mobile-marketing/mobile-marketing-analytics/mobile-marketing-statistics/

Mobile vs. Desktop Internet Usage

Page 7: Mobile Web (HTML5 & CSS3)

7

http://en.wikipedia.org/wiki/Cohesion_(computer_science)

Page 8: Mobile Web (HTML5 & CSS3)

8

http://www.digitaltrends.com/wp-content/uploads/2013/02/Samsung-Smart-Tv.jpg

Page 9: Mobile Web (HTML5 & CSS3)

9

http://core0.staticworld.net/images/article/2013/08/pavilion11-100050481-orig.png

Page 10: Mobile Web (HTML5 & CSS3)

10

http://boygeniusreport.files.wordpress.com/2013/05/tablets-montage.jpg

Page 11: Mobile Web (HTML5 & CSS3)

11

http://kiwicommons.com/wp-content/uploads/2011/12/smartphones.jpg

Page 12: Mobile Web (HTML5 & CSS3)

12

http://upload.wikimedia.org/wikipedia/commons/e/e2/Responsive_Web_Design.png

Page 13: Mobile Web (HTML5 & CSS3)

13

http://en.wikipedia.org/wiki/Mobile_Web

Page 14: Mobile Web (HTML5 & CSS3)

14

https://www.netflix.com/?locale=en-CA

Page 15: Mobile Web (HTML5 & CSS3)

Mobile Operating System

• Android

• iOS

• Blackberry

• Firefox OS

• Tizen

• Sailfish

• Ubuntu Touch

• Symbian

15

Page 16: Mobile Web (HTML5 & CSS3)

Mobile App

• Native Mobile App– Coded for specific Operating System– Coded using a specific programming language– Can access the phone’s hardware with ease– Works only for one platform

• Hybrid App– Written using Web Technology– Run inside a Native Container leveraging the browser

engine but not the browser– Web to Native abstraction layer enables device

hardware access

16

Page 17: Mobile Web (HTML5 & CSS3)

How and What?

• What is the Web Technology?

• What are the tools available (IDE)?

• How / where to deploy / distribute?

• What are the best practices?

17

Page 18: Mobile Web (HTML5 & CSS3)

Core Technology

• HTML5 & CSS3

• JavaScript

– jQuery Mobile

• Package and deploy

– Phonegap

18

Page 19: Mobile Web (HTML5 & CSS3)

Tools

19

Page 20: Mobile Web (HTML5 & CSS3)

Applications Web Site

• World Wide Web– Shared Hosting

– Cloud

20

Deploy / Distribute

Page 21: Mobile Web (HTML5 & CSS3)

HTML5 – What’s Gone?

21

http://www.tutorialspoint.com/html5/html5_deprecated_tags.htm

Page 22: Mobile Web (HTML5 & CSS3)

HTML5 – What’s New?

22

Offline and Local Storage (App Cache, Indexed DB and File API Specifications)

Multimedia

3D, Graphics & Effects (Canvas, SVG, WebGL and CSS3 3D )

Connectivity (Web Sockets)

Performance & Integration (Web Workers and xmlHTTPRequest 2)

Semantics (Richer tags with RDFa, microdata, and microformats)

Device Access (Geo Location API)

CSS3

http://www.w3.org/html/logo/

Page 23: Mobile Web (HTML5 & CSS3)

How to understand CSS???

CSS SQL for DOM

select div from html;

23

div{ //Selector

font-size: 11px; //declaration

font-weight: 600; //declaration

}

Page 24: Mobile Web (HTML5 & CSS3)

CSS Order of Declaration

ID

#header{ …. }

Class

.logo{ …. }

Element

div{ …. }

24

Page 25: Mobile Web (HTML5 & CSS3)

CSS3

• Media Queries

• Fluid Layouts

• Responsive Web

• Effects / Transitions

25

Page 26: Mobile Web (HTML5 & CSS3)

26

http://getbootstrap.com/

Page 27: Mobile Web (HTML5 & CSS3)

Plugin / Libraries

BootstrapBootstrap makes front-end web development faster and

easier. It's made for folks of all skill levels, devices of all shapes, and projects of all sizes.

http://getbootstrap.com/

jQuery MobilejQuery Mobile is a HTML5-based user interface system

designed to make responsive web sites and apps that are accessible on all smartphone, tablet and desktop devices.

http://jquerymobile.com/

27

Page 28: Mobile Web (HTML5 & CSS3)

Best Practices

• Design – Decide on going Native / Web / Hybrid– Structure the content

• Development– Use a framework– Avoid bulk libraries– Cache AJAX data to reduce HTTP requests

• UI– Write CSS for the smallest screen first– Create fluid designs– Do not mix images and text

28

Page 29: Mobile Web (HTML5 & CSS3)

Q&A

29

Page 30: Mobile Web (HTML5 & CSS3)

CODE

Media Query

Transition / Effects

Form Semantics

Validation

Local Storage

30

Page 31: Mobile Web (HTML5 & CSS3)

Event Spotlight

LadderMinds – Meetup

http://facebook.com/ladderminds

31

Page 32: Mobile Web (HTML5 & CSS3)

32

Page 33: Mobile Web (HTML5 & CSS3)

THANK YOU

http://ladderminds.com

33