Changeset 422 in main


Ignore:
Timestamp:
10/28/11 13:05:34 (8 years ago)
Author:
pcosquer
Message:

documentation: architecture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/architecture.rst

    r421 r422  
    7676Resources: 
    7777 
    78     * API: :mod:`~openPLM.plmapp.models` 
     78    * Module: :mod:`~openPLM.plmapp.models` 
    7979    * :ref:`Related recipes <cookbook-models>` 
    8080 
     
    103103++++++ 
    104104 
     105OpenPLM has many forms. Some forms are generated dynamically from a model 
     106(similar to a Django ModelForm). Obviously, views use forms but controllers 
     107also use form. For example, :meth:`.Controller.update_from_form` and 
     108:meth:`.PLMObjectController.create_from_form` take a form as their argument. 
     109 
     110Resources: 
     111 
     112    * forms module: :mod:`plmapp.forms` 
     113 
    105114Views 
    106115+++++ 
    107116 
    108 base_views 
    109 ----------- 
     117OpenPLM splits its views module: 
     118 
     119    * all common functions are in the :mod:`~plmapp.base_views` module 
     120    * classical HTML views are in the :mod:`~plmapp.views.main` module 
     121    * ajax views are in the :mod:`~plmapp.views.ajax` module 
     122    * views that handle the HTTP/Json api are ine the :mod:`~plmapp.views.api` module 
    110123 
    111124Resources: 
    112125 
    113     * API: :mod:`~plmapp.base_views` 
    114  
    115 main 
    116 ---- 
    117  
    118 Resources: 
    119  
    120     * API: :mod:`~plmapp.views.main` 
    121  
    122 api 
    123 --- 
    124  
    125 Resources: 
    126  
    127     * module API: :mod:`~plmapp.views.api` 
    128126    * :mod:`the HTTP api <http_api>`. 
    129  
    130 ajax 
    131 ---- 
    132  
    133 Resources: 
    134  
    135     * API: :mod:`~plmapp.views.ajax` 
    136127 
    137128Tests 
Note: See TracChangeset for help on using the changeset viewer.