Skip to content

flyingcodes/NodeMVC

Repository files navigation

NodeMVC

NodeMVC, The MVC Framework in Node.js

NodeMVC Execution pipeline

  • Mark is optional (View this file or page with font family 'Consolas'.)

                           |
                           |
                          \|/
      +--------------------+--------------------+
      |              http request               |
      +--------------------+--------------------+
                           |
                           |
                          \|/
      +--------------------+--------------------+
      |                *koa/other               |
      +--------------------+--------------------+
                           |
                           |
                          \|/
      +--------------------+--------------------+
      |                   MVC                   |
      +--------------------+--------------------+
                           |
                           |
                          \|/
      +--------------------+--------------------+                       +-----------------------------------------------------+
      |           MvcHttpApplication            |                       |                                                     |
      +--------------------+--------------------+                       |                          |                          |
                           |                                            |                         \|/                         |
                           |                                            |            +-------------+-------------+            |
                          \|/                                           |            |  MvcControllerHttpHandler |            |
      +--------------------+--------------------+                       |            +-------------+-------------+            |
      |               *IHttpModule              |                       |                          |                          |
      +--------------------+--------------------+                       |                         \|/                         |
                           |                                            |            +-------------+-------------+            |
                           +-------------------------------+            |            |         Controller        |            |
                          \|/                              |            |            +-------------+-------------+            |
      +--------------------+--------------------+          |            |                          |                          |
      |                MvcHttpModule            |<---------)----------->|                         \|/                         |
      +--------------------+--------------------+          |            |            +-------------+-------------+            |
                           |                               |            |            |   Action & Model & View   |            |
                           +-------------------------------+            |            +-------------+-------------+            |
                          \|/                              |            |                          |                          |
      +--------------------+--------------------+          |            |                         \|/                         |
      |               *IHttpModule              |          |            |                                                     |
      +--------------------+--------------------+          |            +--------------------------+--------------------------+
                           |                               |                                       |
                           |                               |                                       |
                           |                              \|/                                      |
                           |<------------------------------+---------------------------------------+
                           |
                           |
                          \|/
      +--------------------+--------------------+
      |              http response              |
      +--------------------+--------------------+
                           |
                           |
                          \|/
    

About

NodeMVC, The MVC Framework in Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published