Skip to content

Instantly share code, notes, and snippets.

@diegoeis
Created August 25, 2014 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diegoeis/3eab58cd39bdf717d72d to your computer and use it in GitHub Desktop.
Save diegoeis/3eab58cd39bdf717d72d to your computer and use it in GitHub Desktop.
Web versus native: round 1

Web versus native: round 1

Chris Mills

BrazilJS 2014

  • Nativo é melhor?
  • Mais rápido? Tem offline?
  • more integrated and consistent experience, better developer ecosystem/tools?
  • More secure?
  • Webapps accessing other apps?
  • Web apps accessing: camera, contacts, sms/mms, dialer??
  • Nativo não é tão melhor quanto web. Eles podem fazer quase as mesas coisas e a performance é uma desculpa ultrapassada.
  • O FirefoxOS é uma amostra de quanto a tecnologia baseada em web está avançada. É um sistema inteiro feito com padrões web.
  • Manifest não é um fenômeno recente, mas ele nos ajuda criar aplicações mais robustas.
  • Manifest file define app (manifest.webapp)
  • Apps can be hosted just like a normal web site, but with a manifest and install functionality
  • Apps can be Packaged: zipped, hosted somewhere (like the firefox MarketPlace), verified.
  • Pra mostrar que a performance é boa, você usa WebWorkers para rodar scripts em uma thread em background.
  • Pointer Lock: hide mouse pointer and translate mouse movement into raw movement data instead, great for 3D games.
  • Fullscreen API, rodar e controlar aplicações e games em fullscreen.
  • Controle de Web Audio Api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment