SlideShare uma empresa Scribd logo
1 de 21
Baixar para ler offline
Mate
   F ra m e wo r k M VC p o u r F l ex




                     is your mate

                                                    Mathurin BODY

© amortoxico            Mathurin BODY
                           TTFx Breizh User Group               1
Mate


Une boisson d’Amérique du Sud
Un framework MVC pour Flex
    Basé sur des tags (mxml)
    Open-source (License Apache 2.0)




                                            © Gorivero
    Version 0.9 (Flex 3 & 4)
    Créé en 2008 par

                   TTFx Breizh User Group                2
Twisearch




 TTFx Breizh User Group   3
Twisearch




 TTFx Breizh User Group   4
Twisearch


                                           La vue connaît
                                           l’API du service
La vue gère le
 modèle de
   données

                                                               Les services ne
                                                              peuvent pas être
                                                                  réutilisés




                  TTFx Breizh User Group                                         5
Les limites de cette approche




          TTFx Breizh User Group   6
L’approche MVC(S)



       Services


    Vue          Modèle




     TTFx Breizh User Group   7
Services    L’approche MVC(S)
                     Evènement

                         Services

Vue
                                         Modèle




            Vue                                   Modèle




                       TTFx Breizh User Group              8
L’approche MVC(S)

                  Services


         2                             3




Vue               Contrôleur                   Modèle


        evt   1
                                           4



              TTFx Breizh User Group                    9
L’approche MVC(S)
Contrôleur

                       Services



      1



      Vue             Contrôleur              Modèle


               evt



                     TTFx Breizh User Group            10
L’approche MVC(S)
Contrôleur

                           Services




             2

      Vue                 Contrôleur              Modèle


                   evt



                         TTFx Breizh User Group            11
L’approche MVC(S)
Contrôleur

                          Services




      Vue     3          Contrôleur              Modèle
                  4


                  evt



                        TTFx Breizh User Group            12
L’approche MVC(S)

                Services




Vue            Contrôleur              Modèle


        evt



              TTFx Breizh User Group            13
L’approche MVC(S)
Contrôleur

                         Services




         Vue            Contrôleur              Modèle


                 evt



                       TTFx Breizh User Group            14
L’approche MVC(S)

                      Services


Vue




      Vue            Contrôleur              Modèle


              evt



                    TTFx Breizh User Group            15
Le pattern « Presentation Model »

                             Services




                            Contrôleur              Modèle
      Presentation
Vue      Model

                     evt



                           TTFx Breizh User Group            16
Le pattern « Presentation Model »

                                             Services

   Vue
  Presentation Model




                                            Contrôleur            Modèle
                 Presentation
    Vue             Model

                                   evt



Inspiré par Brett Coffin : http://separ8.net/ Breizh User Group
                                         TTFx                              17
Vue / Logique applicative

                                Services




                               Contrôleur        Modèle
        Presentation
Skin       Model

                       evt


                        TTFx Breizh User Group            18
Projets multi-écrans




      TTFx Breizh User Group   19
Why is Mate your mate ?


Simple
Découplage fort
Non intrusif
Extensible
Support de l’i18n




                                        © Gorivero
Bonne documentation

         http://mate.asfusion.com/
               TTFx Breizh User Group                20
Merci !

@mathurin_body
TTFx Breizh User Group   21

Mais conteúdo relacionado

Semelhante a Mate

Déploiement d’applications
Déploiement d’applicationsDéploiement d’applications
Déploiement d’applicationsMohammed Jaafar
 
Introduction à itil v3
Introduction à itil v3Introduction à itil v3
Introduction à itil v3Renaud BROSSE
 
les style d'architecture
les style d'architecture les style d'architecture
les style d'architecture Mouna Maazoun
 
presentation_NET creation et consomation de services.pptx
presentation_NET creation et consomation de services.pptxpresentation_NET creation et consomation de services.pptx
presentation_NET creation et consomation de services.pptxhachchaneemsi
 
Microservices architecture v2
Microservices architecture v2Microservices architecture v2
Microservices architecture v2Michel Bruchet
 

Semelhante a Mate (8)

Parsley
ParsleyParsley
Parsley
 
Déploiement d’applications
Déploiement d’applicationsDéploiement d’applications
Déploiement d’applications
 
Introduction à itil v3
Introduction à itil v3Introduction à itil v3
Introduction à itil v3
 
les style d'architecture
les style d'architecture les style d'architecture
les style d'architecture
 
presentation_NET creation et consomation de services.pptx
presentation_NET creation et consomation de services.pptxpresentation_NET creation et consomation de services.pptx
presentation_NET creation et consomation de services.pptx
 
Prezentare ASP.Net.pptx
Prezentare ASP.Net.pptxPrezentare ASP.Net.pptx
Prezentare ASP.Net.pptx
 
Spring mvc 3.0 web flow
Spring mvc 3.0 web flowSpring mvc 3.0 web flow
Spring mvc 3.0 web flow
 
Microservices architecture v2
Microservices architecture v2Microservices architecture v2
Microservices architecture v2
 

Mate

  • 1. Mate F ra m e wo r k M VC p o u r F l ex is your mate Mathurin BODY © amortoxico Mathurin BODY TTFx Breizh User Group 1
  • 2. Mate Une boisson d’Amérique du Sud Un framework MVC pour Flex Basé sur des tags (mxml) Open-source (License Apache 2.0) © Gorivero Version 0.9 (Flex 3 & 4) Créé en 2008 par TTFx Breizh User Group 2
  • 3. Twisearch TTFx Breizh User Group 3
  • 4. Twisearch TTFx Breizh User Group 4
  • 5. Twisearch La vue connaît l’API du service La vue gère le modèle de données Les services ne peuvent pas être réutilisés TTFx Breizh User Group 5
  • 6. Les limites de cette approche TTFx Breizh User Group 6
  • 7. L’approche MVC(S) Services Vue Modèle TTFx Breizh User Group 7
  • 8. Services L’approche MVC(S) Evènement Services Vue Modèle Vue Modèle TTFx Breizh User Group 8
  • 9. L’approche MVC(S) Services 2 3 Vue Contrôleur Modèle evt 1 4 TTFx Breizh User Group 9
  • 10. L’approche MVC(S) Contrôleur Services 1 Vue Contrôleur Modèle evt TTFx Breizh User Group 10
  • 11. L’approche MVC(S) Contrôleur Services 2 Vue Contrôleur Modèle evt TTFx Breizh User Group 11
  • 12. L’approche MVC(S) Contrôleur Services Vue 3 Contrôleur Modèle 4 evt TTFx Breizh User Group 12
  • 13. L’approche MVC(S) Services Vue Contrôleur Modèle evt TTFx Breizh User Group 13
  • 14. L’approche MVC(S) Contrôleur Services Vue Contrôleur Modèle evt TTFx Breizh User Group 14
  • 15. L’approche MVC(S) Services Vue Vue Contrôleur Modèle evt TTFx Breizh User Group 15
  • 16. Le pattern « Presentation Model » Services Contrôleur Modèle Presentation Vue Model evt TTFx Breizh User Group 16
  • 17. Le pattern « Presentation Model » Services Vue Presentation Model Contrôleur Modèle Presentation Vue Model evt Inspiré par Brett Coffin : http://separ8.net/ Breizh User Group TTFx 17
  • 18. Vue / Logique applicative Services Contrôleur Modèle Presentation Skin Model evt TTFx Breizh User Group 18
  • 19. Projets multi-écrans TTFx Breizh User Group 19
  • 20. Why is Mate your mate ? Simple Découplage fort Non intrusif Extensible Support de l’i18n © Gorivero Bonne documentation http://mate.asfusion.com/ TTFx Breizh User Group 20