Skip to content
Lance Pollard edited this page Sep 28, 2012 · 2 revisions
/-------------------\     /------------------\     /-----------\     /----------\
| URL Parameter API |-----| Command Line API |-----| Model API |-----| JSON API |
\-------------------/     \------------------/     \-----------/     \----------/
          |                         |                    |                |
          \-------------------------+------+-------------+----------------/
                                           |
                                 /----------------\
                                 | Query Criteria |
                                 \----------------/
/-------------------\               
| URL Parameter API |-----\
\-------------------/     |
                          |
 /------------------\     |
 | Command Line API |-----|
 \------------------/     |     /----------------\
                          |-----| Query Criteria |
        /-----------\     |     \----------------/
        | Model API |-----|
        \-----------/     |
                          |
         /----------\     |
         | JSON API |-----/
         \----------/                                 
/---------------\               
| record.save() |
\---------------/
        |
        |     /---------------\
        \-----| cursor.save() |
              \---------------/
                      |
                      |     /--------------\
                      +-----| store.save() |
                      |     \--------------/
                      |            :
                      |     /---------------------------------\
                      \-----| Tower.notifyConnections('save') |
                            \---------------------------------/
/---------------\     /---------------\
| record.save() |-----| cursor.save() |
\---------------/     \---------------/
                              |
                      /--------------\
                      | store.save() |
                      \--------------/
                              |
                      /---------------------------------\
                      | Tower.notifyConnections('save') |
                      \---------------------------------/
Clone this wiki locally