# HG changeset patch # User Aurelien Campeas # Date 1271325888 -7200 # Node ID 2e5bc78d05f3d4b503d12ae2363ee541c78d60bc # Parent b4bb59824d7275eaacb20c74406b7df488d268f4 [doc/book] missing .svg files, refresh .pngs, fixlets diff -r b4bb59824d72 -r 2e5bc78d05f3 doc/book/en/conf.py --- a/doc/book/en/conf.py Thu Apr 15 11:00:44 2010 +0200 +++ b/doc/book/en/conf.py Thu Apr 15 12:04:48 2010 +0200 @@ -189,4 +189,3 @@ # If false, no module index is generated. #latex_use_modindex = True #aafig_format = dict(latex='pdf', html='svg', text=None) - diff -r b4bb59824d72 -r 2e5bc78d05f3 doc/book/en/development/devweb/views/basetemplates.rst --- a/doc/book/en/development/devweb/views/basetemplates.rst Thu Apr 15 11:00:44 2010 +0200 +++ b/doc/book/en/development/devweb/views/basetemplates.rst Thu Apr 15 12:04:48 2010 +0200 @@ -16,7 +16,7 @@ A page is composed as indicated on the schema below : -.. image:: ../../../images/lax-book.06-main-template-layout.en.png +.. image:: ../../../images/main_template.png In this section we will go through a couple of the primary templates you must be interested in, that is to say, the HTMLPageHeader, diff -r b4bb59824d72 -r 2e5bc78d05f3 doc/book/en/development/devweb/views/index.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/book/en/development/devweb/views/index.rst Thu Apr 15 12:04:48 2010 +0200 @@ -0,0 +1,30 @@ +The views system +================ + +.. |cubicweb| replace:: *CubicWeb* + +This chapter aims to describe the concept of a `view` used all along +the development of a web application and how it has been implemented +in |cubicweb|. + + +.. toctree:: + :maxdepth: 3 + + views + basetemplates + primary + baseviews + startup + boxes + table + xmlrss + autoform + editforms + urlpublish + breadcrumbs + facets + wdoc + embedding + idownloadable + diff -r b4bb59824d72 -r 2e5bc78d05f3 doc/book/en/development/devweb/views/views.rst --- a/doc/book/en/development/devweb/views/views.rst Thu Apr 15 11:00:44 2010 +0200 +++ b/doc/book/en/development/devweb/views/views.rst Thu Apr 15 12:04:48 2010 +0200 @@ -1,16 +1,12 @@ .. _Views: -Views ------ +Principles +---------- -This chapter aims to describe the concept of a `view` used all along -the development of a web application and how it has been implemented -in *CubicWeb*. - -We'll start with a description of the interface providing you with a -basic understanding of the available classes and methods, then detail -the view selection principle. +We'll start with a description of the interface providing a basic +understanding of the available classes and methods, then detail the +view selection principle. A `View` is an object responsible for the rendering of data from the model into an end-user consummable form. They typically churn out an @@ -83,7 +79,7 @@ * `AnyRsetView`, view applicable to any result set Examples of views class ------------------------ +``````````````````````` - Using `templatable`, `content_type` and HTTP cache configuration diff -r b4bb59824d72 -r 2e5bc78d05f3 doc/book/en/images/main_template.png Binary file doc/book/en/images/main_template.png has changed diff -r b4bb59824d72 -r 2e5bc78d05f3 doc/book/en/images/main_template.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/book/en/images/main_template.svg Thu Apr 15 12:04:48 2010 +0200 @@ -0,0 +1,207 @@ + + + + + + + + + + + image/svg+xml + + + + + + + + + + header + + + + + contentheader + + + + footer + + + + + contentfooter + + left column + contentcol + contentmain + + diff -r b4bb59824d72 -r 2e5bc78d05f3 doc/book/en/images/primaryview_template.png Binary file doc/book/en/images/primaryview_template.png has changed