Using Design Pattern 4 Mobile      luca mezzalira © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidentia...
Speaker bio - Luca Mezzalira                                                    TWITTTER: @lucamezzalira © 2011 Adobe Syst...
Design Pattern?  In software engineering, a design pattern is a general  reusable solution to a commonly occurring problem...
Design Pattern?     Development speed up     Utilizzati nelle micro architetture     Coprono molte casistiche comuni ne...
MicroArchitetture                                                  E SU MOBILE ?! © 2011 Adobe Systems Incorporated. All R...
altre tecnologie a confronto                             MVVM                                                       Model/...
mobile VS desktop     diverse tipologie di schermi (tablet, smartphone, ...)     diversi sistemi operativi con diverse c...
c’erano una volta 3 design pattern...                                                                      Singleton      ...
Singleton     rappresentazione della Singleton matematica in programmazione     un gruppo con 1 solo oggetto      Quando...
Observer     Un oggetto principale (Subject) tiene una lista di oggetti osserverti      (Observer) e notifica ogni cambio ...
Presentation Model (Application Model)     Scissione completa tra elementi della GUI e le loro funzionalità e      valori...
Presentation Model (Application Model)      Quando utilizzarlo? © 2011 Adobe Systems Incorporated. All Rights Reserved. Ad...
Presentation Model (Application Model)     MVVM (Model-View-View Model)     contiene i dati che la view utilizza     co...
CODE TIME! © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.   14Wednesday, May 18, 2011
Da dove iniziare... © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.   15Wednesday, May 18, 2011
DOMANDE & RISPOSTE     email: luca@mart3.org                                                           twitter: @lucamez...
© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.Wednesday, May 18, 2011
Upcoming SlideShare
Loading in …5
×

Using design pattern for mobile

6,535 views

Published on

In those slides you can see the powerful of Flash Platform on multiple screen using Presentation Model, Observer and Singleton patterns.

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

No Downloads
Views
Total views
6,535
On SlideShare
0
From Embeds
0
Number of Embeds
4,717
Actions
Shares
0
Downloads
22
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Using design pattern for mobile

  1. 1. Using Design Pattern 4 Mobile luca mezzalira © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.Wednesday, May 18, 2011
  2. 2. Speaker bio - Luca Mezzalira TWITTTER: @lucamezzalira © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 2Wednesday, May 18, 2011
  3. 3. Design Pattern? In software engineering, a design pattern is a general reusable solution to a commonly occurring problem in software design. [...] It is a description or template for how to solve a problem that can be used in many different situations. Patterns provide a way to organize and name those ordinary solutions to make it easier for people to use them. © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 3Wednesday, May 18, 2011
  4. 4. Design Pattern?  Development speed up  Utilizzati nelle micro architetture  Coprono molte casistiche comuni nei progetti  Aiutano nella realizzazione dell’architettura  Rendono il progetto mantenibile e documentato  Spesso li usiamo ma non ce ne rendiamo conto © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 4Wednesday, May 18, 2011
  5. 5. MicroArchitetture E SU MOBILE ?! © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 5Wednesday, May 18, 2011
  6. 6. altre tecnologie a confronto MVVM Model/View Model - View -View Model Model - View -View Model © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 6Wednesday, May 18, 2011
  7. 7. mobile VS desktop  diverse tipologie di schermi (tablet, smartphone, ...)  diversi sistemi operativi con diverse caratteristiche  potenza di calcolo  user interaction e input method  porting da desktop a mobile © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 7Wednesday, May 18, 2011
  8. 8. c’erano una volta 3 design pattern... Singleton Observer Presentation Model © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 8Wednesday, May 18, 2011
  9. 9. Singleton  rappresentazione della Singleton matematica in programmazione  un gruppo con 1 solo oggetto Quando utilizzarlo? © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 9Wednesday, May 18, 2011
  10. 10. Observer  Un oggetto principale (Subject) tiene una lista di oggetti osserverti (Observer) e notifica ogni cambio di stato ad ogni oggetto osservato. Quando utilizzarlo? © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 10Wednesday, May 18, 2011
  11. 11. Presentation Model (Application Model)  Scissione completa tra elementi della GUI e le loro funzionalità e valori © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 11Wednesday, May 18, 2011
  12. 12. Presentation Model (Application Model) Quando utilizzarlo? © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 12Wednesday, May 18, 2011
  13. 13. Presentation Model (Application Model)  MVVM (Model-View-View Model)  contiene i dati che la view utilizza  come sincronizzo i dati tra presentation model e relativa view?  favorisce lo sviluppo di un software con view differenti ma stesse funzionalità  dobbiamo dividere le funzionalità inerenti alla view da quelle del presentation model  favorisce lo unit testing © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 13Wednesday, May 18, 2011
  14. 14. CODE TIME! © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 14Wednesday, May 18, 2011
  15. 15. Da dove iniziare... © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 15Wednesday, May 18, 2011
  16. 16. DOMANDE & RISPOSTE  email: luca@mart3.org  twitter: @lucamezzalira  blog: lucamezzalira.com  site: www.mart3.org © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. 16Wednesday, May 18, 2011
  17. 17. © 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.Wednesday, May 18, 2011

×