SlideShare a Scribd company logo
1 of 23
Tools to Make Cross-platform Web Applications
mLearnCon: Concurrent Session 103
http://slidesha.re/M0vEGm




          Parris Khachi: @parrissays
             Khoa Lam: @dangkhoa
What’s your beef?
What we’ll cover

      Design/Content                What you should already know:

•   Typography                      • HTML/CSS
•   Responsive Design               • Some knowledge of “Server Side”
•   Media                             applications
•   Animation Cross Platform
•   HTML5/Fallbacks
•   Tools/Frameworks


       Development
•   Platforms/Libraries
•   Cloud
•   Mobile Deployment
•   Testing
•   Live Demo
Design/Content



                      Typography (CSS3)
@font-face
                                     http://www.fontsquirrel.com/




http://typekit.com/
Design/Content



                   Typography (cont)




http://fittextjs.com/
                               http://letteringjs.com/
Design/Content


     The web is not the constitution
           (media queries)




http://mediaqueri.es/      http://responsive.is
Design/Content


                What about my media?
             HTML5 audio/video and fallbacks
                                        jPlayer Video/Audio:
                                           http://jplayer.org/




VideoJS:
http://videojs.com/
Design/Content


                        What about my media?
                      Multi-res images and fallbacks
Content:                                                Handy Media Queries for Backgrounds:
- Save your images larger                               .your-image {
- Some CSS:                                               background:url(picture.png);
                                                          width: 20px;
                                                          height: 20px;
img, embed, object, video{                              }
  max-width: 100%;
}                                                       @media
                                                        only screen and (-webkit-min-device-pixel-ratio: 1.5),
about img {                                             only screen and (min-device-pixel-ration: 1.5) {
  width: 30%;                                             .your-image {
}                                                           background-image: url(picture@2x.png);
                                                            -webkit-background-size: 20px 20px;
Won’t work in IE6, but there are work-arounds               background-size: 20px 20px;
out there!                                                }
                                                        }
Image Transparency/Max-width Fixes:
http://msdn.microsoft.com/en-
us/library/ms532969(v=vs.85).aspx
                                         File-size Considerations:
                                         Picture Fill: http://scottjehl.com/picturefill/
                                         <picture alt=“blah”>
                                           <source src=“something.jpg” />
                                           <source src=“something-big.jpg” media=“(min-width:800px)” />
                                           <noscript><img src=“something.jpg” alt=“blah” /></noscript>
                                         </picture>
Design/Content




Chill, it’s just a different way to write HTML4
Design/Content



            Well how about my animations?

                                                   jQuery Based
                              http://visitmix.com/work/glimmer/




CSS3 Based:
http://www.sencha.com/
products/animator
Design/Content



            But it doesn’t work everywhere?
                                                            HTML 5 Shiv:
                                   https://github.com/aFarkas/html5shiv/
                                     http://code.google.com/p/html5shiv




CSS3 Fallbacks to jQuery:
http://addyosmani.com/blog/css3t
ransitions-jquery/
Design/Content



         That sounds like too much work




http://twitter.github.com/bootstrap/   http://jquerymobile.com/
Design/Content



        That sounds like too much work (cont)




http://www.sencha.com/products/touch/
                                   http://www.sencha.com/products/architect/
Design/Content



That sounds like too much work (cont)




           http://www.codiqa.com/
Design/Content



Oh, dashcode would work too!




      It should just come with the iOS SDK
Development


                   Ahh, I’m a developer,
               how do I manage this insanity?
With More Insanity!!!

Design Your Eco-system

Models/Libraries
                        MVC


                   Middleware




      Views
Development


                   Ahh, I’m a developer,
               how do I manage this insanity?
With More Insanity!!!                  Framework   Models   Middleware   Views


                                          x          x          x
Design Your Eco-system

Models/Libraries
                        MVC               x                     x
                                                                           x
                   Middleware
                                                                           x
                                Sass                                       x
                                Haml                                       x
      Views
                                                                           x
                                                                           x
                                          x          x
Development



                               Deployment

How does it get to the end user and not just stay on my machine?




                                 Interacts with…




                               Which are built on…
Development



               How about actual applications?

Wait you actually want to do MORE work?
Let’s at least leverage what we already have…
Development



ONE Possible Setup

             Framework   Models   Middleware   Views


                x          x          x


                x                     x
                                                 x
                                                 x
      Sass                                       x
      Haml                                       x
                                                 x
                                                 x
                x          x
Development



                     ONE Possible Setup (cont)

1. Install nodejs and heroku
2. Open command prompt

        npm install –g expresss
        express your-project
        cd your-project
        npm install backbone
        git init
        git add .
        git commit –m “init”
        heroku create - - stack cedar
        git push heroku master

3. Find Heroku URL from your account
4. Read and do Hello World Phone Gap app, and use that URL instead of the
   default file:/// url they specified
5. Your first mobile app using nodejs and express on heroku with phonegap is done
Development



 How do we REALLY know it works everywhere?

Answer: Let’s write a test for it…



                                     +
Follow us on twitter:         Download presentation:
@parrissays                http://slidesha.re/M0vEGm
@dangkhoa




          So what now? Oh, Only Everything…

More Related Content

Recently uploaded

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Recently uploaded (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

Featured

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Tools to Make Cross-platform Web Apps (mlearncon2012)

  • 1. Tools to Make Cross-platform Web Applications mLearnCon: Concurrent Session 103 http://slidesha.re/M0vEGm Parris Khachi: @parrissays Khoa Lam: @dangkhoa
  • 3. What we’ll cover Design/Content What you should already know: • Typography • HTML/CSS • Responsive Design • Some knowledge of “Server Side” • Media applications • Animation Cross Platform • HTML5/Fallbacks • Tools/Frameworks Development • Platforms/Libraries • Cloud • Mobile Deployment • Testing • Live Demo
  • 4. Design/Content Typography (CSS3) @font-face http://www.fontsquirrel.com/ http://typekit.com/
  • 5. Design/Content Typography (cont) http://fittextjs.com/ http://letteringjs.com/
  • 6. Design/Content The web is not the constitution (media queries) http://mediaqueri.es/ http://responsive.is
  • 7. Design/Content What about my media? HTML5 audio/video and fallbacks jPlayer Video/Audio: http://jplayer.org/ VideoJS: http://videojs.com/
  • 8. Design/Content What about my media? Multi-res images and fallbacks Content: Handy Media Queries for Backgrounds: - Save your images larger .your-image { - Some CSS: background:url(picture.png); width: 20px; height: 20px; img, embed, object, video{ } max-width: 100%; } @media only screen and (-webkit-min-device-pixel-ratio: 1.5), about img { only screen and (min-device-pixel-ration: 1.5) { width: 30%; .your-image { } background-image: url(picture@2x.png); -webkit-background-size: 20px 20px; Won’t work in IE6, but there are work-arounds background-size: 20px 20px; out there! } } Image Transparency/Max-width Fixes: http://msdn.microsoft.com/en- us/library/ms532969(v=vs.85).aspx File-size Considerations: Picture Fill: http://scottjehl.com/picturefill/ <picture alt=“blah”> <source src=“something.jpg” /> <source src=“something-big.jpg” media=“(min-width:800px)” /> <noscript><img src=“something.jpg” alt=“blah” /></noscript> </picture>
  • 9. Design/Content Chill, it’s just a different way to write HTML4
  • 10. Design/Content Well how about my animations? jQuery Based http://visitmix.com/work/glimmer/ CSS3 Based: http://www.sencha.com/ products/animator
  • 11. Design/Content But it doesn’t work everywhere? HTML 5 Shiv: https://github.com/aFarkas/html5shiv/ http://code.google.com/p/html5shiv CSS3 Fallbacks to jQuery: http://addyosmani.com/blog/css3t ransitions-jquery/
  • 12. Design/Content That sounds like too much work http://twitter.github.com/bootstrap/ http://jquerymobile.com/
  • 13. Design/Content That sounds like too much work (cont) http://www.sencha.com/products/touch/ http://www.sencha.com/products/architect/
  • 14. Design/Content That sounds like too much work (cont) http://www.codiqa.com/
  • 15. Design/Content Oh, dashcode would work too! It should just come with the iOS SDK
  • 16. Development Ahh, I’m a developer, how do I manage this insanity? With More Insanity!!! Design Your Eco-system Models/Libraries MVC Middleware Views
  • 17. Development Ahh, I’m a developer, how do I manage this insanity? With More Insanity!!! Framework Models Middleware Views x x x Design Your Eco-system Models/Libraries MVC x x x Middleware x Sass x Haml x Views x x x x
  • 18. Development Deployment How does it get to the end user and not just stay on my machine? Interacts with… Which are built on…
  • 19. Development How about actual applications? Wait you actually want to do MORE work? Let’s at least leverage what we already have…
  • 20. Development ONE Possible Setup Framework Models Middleware Views x x x x x x x Sass x Haml x x x x x
  • 21. Development ONE Possible Setup (cont) 1. Install nodejs and heroku 2. Open command prompt  npm install –g expresss  express your-project  cd your-project  npm install backbone  git init  git add .  git commit –m “init”  heroku create - - stack cedar  git push heroku master 3. Find Heroku URL from your account 4. Read and do Hello World Phone Gap app, and use that URL instead of the default file:/// url they specified 5. Your first mobile app using nodejs and express on heroku with phonegap is done
  • 22. Development How do we REALLY know it works everywhere? Answer: Let’s write a test for it… +
  • 23. Follow us on twitter: Download presentation: @parrissays http://slidesha.re/M0vEGm @dangkhoa So what now? Oh, Only Everything…

Editor's Notes

  1. Welcome!