icoloma / appbuilder

Entorno de generación de Apps de Segittur
0 stars 0 forks source link

Critical path #60

Open jrvidal opened 11 years ago

jrvidal commented 11 years ago

El critical path de la aplicación no es todo lo óptimo que debiera. Si sobra tiempo :laughing: se le puede echar un vistazo.

Config module (deps: i18nUtils, db, Poi)       Router module
---------------------------------------       ---------------
                  |                                  |
                  |                                  |
                  ▼                                  ▼
 ==============================================================

      wait for deviceready                Get metadata file
      --------------------                -----------------
              |                                  |
              |                                  |
              ▼                                  |
     ===================                         |
      * device.platform                          |
      * (splash screen)                          |
                                                 |
      wait for locale                            |
      ---------------                            |
              |                                  |
              |                                  |
              ▼                                  ▼
        ================================================
                    * i18nConfig(metadata)
                    * Poi.initSchema(metadata)

                    ----------------------------
                                |
                                |
                                ▼
                    ============================
                      * (Close splash screen)
                      * Create router
wait for deviceready      db module     modules: i18nUtils, Poi     Get metadata file     Router module
--------------------      ---------     -----------------------    ------------------     -------------
        |                     |               |                             |                   |
        |                     |               |                             |                   |
        ▼                     ▼               |                             |                   |
      ============================            |                             |                   |
            * Db.initDb                       |                             |                   |
            * Splash screen                   |                             |                   |
            * device.platform                 |                             |                   |
                                              |                             |                   |
            wait for locale                   |                             |                   |
            ---------------                   |                             |                   |
                  |                           |                             |                   |
                  |                           |                             |                   |
                  ▼                           ▼                             ▼                   |
              =================================================================                 |
                                        * set locale                                            |
                                        * i18nUtils.config(metadata)                            |
                                        * Poi.initSchema(metadata)                              |
                                                                                                |
                                        -----------------------------                           |
                                                  |                                             |
                                                  |                                             |
                                                  ▼                                             ▼
                                              =====================================================
                                                        * Close splash screen
                                                        * Create router