SlideShare a Scribd company logo
1 of 10
Sviluppare Applicazioni Web Mobile con Asp.Net
MVC4, HTML5 e jQuery Mobile
Michele Aponte
michele.aponte@blexin.com – Blexin Srls
michele.aponte@dotnetcampania.org - DotNetCampania
Di cosa parlaremo in questi 40 minuti?
- Perchè supportare il mondo mobile
- Come supportare la navigazione
mobile
- Le novità di Asp.Net MVC 4 per il
mobile
- jQuery Mobile
- Quale approccio scelgo?
Perchè supportare il mondo mobile?
Più di 1.000.000.000 abbonamenti di banda larga mobile attivi
La navigazione mobile aumenta a ritmi da non sottovalutare
(http://gs.statcounter.com/)
Come supportare la navigazione mobile?
- Possiamo non fare niente....
Gli smartphone di ultima generazione utilizzano
browser abbastanza avanzati da fornirci a costo
zero risultati in alcuni casi non terribili...
... magari giusto l’accortenza di indicare al browser
in che modo visualizzare il viewport
Come supportare la navigazione mobile?
- Possiamo non fare niente....
- Adaptive Rendering
Possiamo utilizzare le tecniche di Responsive
Design, sfruttando ad esempio le Media Query
di CSS3, per spostare il problema lato client e
«adattare» la UI esistente alle dimensioni del
viewport corrente
Come supportare la navigazione mobile?
- Possiamo non fare niente....
- Adaptive Rendering
- Specific Version
Possiamo realizzare una versione ad hoc del sito
per i dispositivi mobile, sfruttando ad esempio
alcune delle novità di Asp.Net MVC4 specifiche per
lo sviluppo mobile e framework come jQuery
Mobile
Le novità di Asp.Net MVC4 per il mobile
- I nuovi template impostano il viewport e usano le
Media Query
- Nuovo template specifico per il mobile che usa
jQuery Mobile
- Display Modes
http://www.asp.net/mvc/tutorials/mvc-4/aspnet-
mvc-4-mobile-features
jQuery Mobile
E’ un framework javascript, basato su jQuery, che
permette di creare facilmente applicazioni web con
una user experience mobile-oriented
E’ gratuitamente scaricabile dal sito
http://jquerymobile.com/ e può essere usata senza
limitazioni
Sfrutta i nuovi attributi data-*
di HTML5
Quale approccio scelgo?
Dipende unicamente dal tipo di applicazione che si
deve realizzare, quindi dai requisiti:
- Contenuti
- User Experience
- Ottimizzazione della banda disponibile
- Budget
- Tempistiche
Domande? Intanto qualche link...
Domande, dubbi, perplessità? Intanto vi
lascio qualche link
- Responsive Web Design with Html5 e
CSS3: http://tinyurl.com/bt2p76t
- Architecting Mobile Solutions for the
Enterprise: http://tinyurl.com/bszohpz
- Il mio blog:
http://dotnetcampania.org/blogs/michele/
- Un bel video dall’aspConf su Channel 9:
http://tinyurl.com/crt6lgu

More Related Content

More from Codemotion

Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...Codemotion
 
Pompili - From hero to_zero: The FatalNoise neverending story
Pompili - From hero to_zero: The FatalNoise neverending storyPompili - From hero to_zero: The FatalNoise neverending story
Pompili - From hero to_zero: The FatalNoise neverending storyCodemotion
 
Pastore - Commodore 65 - La storia
Pastore - Commodore 65 - La storiaPastore - Commodore 65 - La storia
Pastore - Commodore 65 - La storiaCodemotion
 
Pennisi - Essere Richard Altwasser
Pennisi - Essere Richard AltwasserPennisi - Essere Richard Altwasser
Pennisi - Essere Richard AltwasserCodemotion
 
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...Codemotion
 
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019Codemotion
 
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019Codemotion
 
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Francesco Baldassarri  - Deliver Data at Scale - Codemotion Amsterdam 2019 - Francesco Baldassarri  - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 - Codemotion
 
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...Codemotion
 
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...Codemotion
 
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...Codemotion
 
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...Codemotion
 
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019Codemotion
 
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019Codemotion
 
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019Codemotion
 
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...Codemotion
 
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...Codemotion
 
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019Codemotion
 
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019Codemotion
 
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019Codemotion
 

More from Codemotion (20)

Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
 
Pompili - From hero to_zero: The FatalNoise neverending story
Pompili - From hero to_zero: The FatalNoise neverending storyPompili - From hero to_zero: The FatalNoise neverending story
Pompili - From hero to_zero: The FatalNoise neverending story
 
Pastore - Commodore 65 - La storia
Pastore - Commodore 65 - La storiaPastore - Commodore 65 - La storia
Pastore - Commodore 65 - La storia
 
Pennisi - Essere Richard Altwasser
Pennisi - Essere Richard AltwasserPennisi - Essere Richard Altwasser
Pennisi - Essere Richard Altwasser
 
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
 
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
 
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
 
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Francesco Baldassarri  - Deliver Data at Scale - Codemotion Amsterdam 2019 - Francesco Baldassarri  - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
 
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
 
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
 
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
 
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
 
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
 
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
 
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
 
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
 
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
 
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
 
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
 
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
 

Sviluppare applicazioni web mobile con asp.net mvc4, html5 e j query mobile by Michele Aponte

  • 1. Sviluppare Applicazioni Web Mobile con Asp.Net MVC4, HTML5 e jQuery Mobile Michele Aponte michele.aponte@blexin.com – Blexin Srls michele.aponte@dotnetcampania.org - DotNetCampania
  • 2. Di cosa parlaremo in questi 40 minuti? - Perchè supportare il mondo mobile - Come supportare la navigazione mobile - Le novità di Asp.Net MVC 4 per il mobile - jQuery Mobile - Quale approccio scelgo?
  • 3. Perchè supportare il mondo mobile? Più di 1.000.000.000 abbonamenti di banda larga mobile attivi La navigazione mobile aumenta a ritmi da non sottovalutare (http://gs.statcounter.com/)
  • 4. Come supportare la navigazione mobile? - Possiamo non fare niente.... Gli smartphone di ultima generazione utilizzano browser abbastanza avanzati da fornirci a costo zero risultati in alcuni casi non terribili... ... magari giusto l’accortenza di indicare al browser in che modo visualizzare il viewport
  • 5. Come supportare la navigazione mobile? - Possiamo non fare niente.... - Adaptive Rendering Possiamo utilizzare le tecniche di Responsive Design, sfruttando ad esempio le Media Query di CSS3, per spostare il problema lato client e «adattare» la UI esistente alle dimensioni del viewport corrente
  • 6. Come supportare la navigazione mobile? - Possiamo non fare niente.... - Adaptive Rendering - Specific Version Possiamo realizzare una versione ad hoc del sito per i dispositivi mobile, sfruttando ad esempio alcune delle novità di Asp.Net MVC4 specifiche per lo sviluppo mobile e framework come jQuery Mobile
  • 7. Le novità di Asp.Net MVC4 per il mobile - I nuovi template impostano il viewport e usano le Media Query - Nuovo template specifico per il mobile che usa jQuery Mobile - Display Modes http://www.asp.net/mvc/tutorials/mvc-4/aspnet- mvc-4-mobile-features
  • 8. jQuery Mobile E’ un framework javascript, basato su jQuery, che permette di creare facilmente applicazioni web con una user experience mobile-oriented E’ gratuitamente scaricabile dal sito http://jquerymobile.com/ e può essere usata senza limitazioni Sfrutta i nuovi attributi data-* di HTML5
  • 9. Quale approccio scelgo? Dipende unicamente dal tipo di applicazione che si deve realizzare, quindi dai requisiti: - Contenuti - User Experience - Ottimizzazione della banda disponibile - Budget - Tempistiche
  • 10. Domande? Intanto qualche link... Domande, dubbi, perplessità? Intanto vi lascio qualche link - Responsive Web Design with Html5 e CSS3: http://tinyurl.com/bt2p76t - Architecting Mobile Solutions for the Enterprise: http://tinyurl.com/bszohpz - Il mio blog: http://dotnetcampania.org/blogs/michele/ - Un bel video dall’aspConf su Channel 9: http://tinyurl.com/crt6lgu