Scaling silverlight

902 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
902
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Scaling silverlight

  1. 1. Escalando aplicações Silverlight twitter/andrecarlucci andrecarlucci@gmail.com
  2. 2. Agenda  MVVM  Arquivos XAP  MEF  OOB  Outros
  3. 3. Fowler's Presentation Model + John Gossman = MVVM
  4. 4. MVVM é somente um padrão
  5. 5. View
  6. 6. Model
  7. 7. ViewModel
  8. 8. DataContext View ViewModel DataContext.Title DataContext.DateTime DataContext.Description
  9. 9. Data Binding / INotifyPropertyChanged ViewModel View Aos interessados, novos valores aqui! Opa! Deixa eu me atualizar já!
  10. 10. Commands Posso executar esse comando? Hmm… OK! Comando.Execute! NotifyPropertyChanged View ViewModel
  11. 11. John Papa’s IScreen View First ViewModel Locator ViewModel First
  12. 12. Reduza seu arquivo XAP
  13. 13. O que tem dentro do XAP? Library 1.
  14. 14. 2. Deixe as imagens de fora!
  15. 15. 3. Busque assemblies sob demanda! MEF
  16. 16. 4. Re-Zip Re-Zip!
  17. 17. 5. Cache! Cache!X
  18. 18. 6. Use o Repositório Local
  19. 19. 7. Out of Browser! Pense
  20. 20. 8. Application Library Caching!
  21. 21. 9. Crie uma Splash Screen!
  22. 22. Perguntas?
  23. 23. Use MVVM Conheça o XAP Imagens pra fora MEF Re-Zip Browser Cache Cache Local OOB Splash Screen :-) RECAP
  24. 24. Obrigado :-) twitter/andrecarlucci andrecarlucci@gmail.com
  25. 25. Copyright das imagens 12- http://www.flickr.com/photos/itsaboyd/3694983845/sizes/o/in/photostream/ 13- http://www.flickr.com/photos/dinomite/2936677997/sizes/l/in/photostream/ 16- http://www.flickr.com/photos/andrewcurrie/2533855059/sizes/l/in/photostream/ 19- http://www.flickr.com/photos/someonefromholland/4287371691/sizes/l/in/photostream/ 22- http://www.flickr.com/photos/jadendave/4289213289/sizes/l/in/photostream/

×