2. Disclaimer: All the logos and product names used in this presentation are
registered and owned by their respective brands.
3. About Me
→ Web Technologist by profession writing web code.
→ Is a little ColdFusion and C# geek.
→ HTML5 and CSS3 follower since 2011.
→ Big time JavaScript fan, always jQuery ready.
→ Implements Transactional SQL.
→ NoSQL Rookie.
→ Cloud Explorer.
http://naveenieus.in
3
22. 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
http://naveenieus.in
22
23. How and What?
•
•
•
•
What is the Web Technology?
What are the tools available (IDE)?
How / where to deploy / distribute?
What are the best practices?
http://naveenieus.in
23
24. Core Technology
• HTML5 & CSS3
• JavaScript
– jQuery Mobile
• Package and deploy
– Phonegap
http://naveenieus.in
24
28. HTML5 – What’s New?
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/
http://naveenieus.in
28
29. How to understand CSS???
CSS SQL for DOM
select div from html;
div{
font-size: 11px;
font-weight: 600;
}
//Selector
//declaration
//declaration
http://naveenieus.in
29
30. CSS Order of Declaration
ID
#header{ …. }
Class
.logo{ …. }
Element
div{ …. }
http://naveenieus.in
30
33. Plugin / Libraries
Bootstrap
Bootstrap 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 Mobile
jQuery 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/
http://naveenieus.in
33
34. 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
http://naveenieus.in
34