summaryrefslogtreecommitdiff
path: root/docs/getting_started/views.rst
diff options
context:
space:
mode:
authorPaul Everitt <paul@agendaless.com>2013-08-11 09:53:00 -0400
committerPaul Everitt <paul@agendaless.com>2013-08-11 09:53:00 -0400
commitae901436a61563968cc31cc636f1fbeb5e85b528 (patch)
tree8ce7a18dd4913f7195c5a013ab03eb64ae21180d /docs/getting_started/views.rst
parentd4bd291fd5ca51bbbeec487f2011476706a5952f (diff)
downloadpyramid-ae901436a61563968cc31cc636f1fbeb5e85b528.tar.gz
pyramid-ae901436a61563968cc31cc636f1fbeb5e85b528.tar.bz2
pyramid-ae901436a61563968cc31cc636f1fbeb5e85b528.zip
Per discussion with Chris, just wrap up "getting started" as the Quick Tour. Still need to do more linking and perhaps add a section on root factories, authorization, authentication.
Diffstat (limited to 'docs/getting_started/views.rst')
-rw-r--r--docs/getting_started/views.rst30
1 files changed, 0 insertions, 30 deletions
diff --git a/docs/getting_started/views.rst b/docs/getting_started/views.rst
deleted file mode 100644
index f30caea8a..000000000
--- a/docs/getting_started/views.rst
+++ /dev/null
@@ -1,30 +0,0 @@
-================================
-Handling Web Requests With Views
-================================
-
-Free-standing functions are the regular way to do views. Many times,
-though, you have several views that are closely related. For example,
-a document might have many different ways to look at it,
-or a form might submit to different targets, or a REST handler might
-cover different operations.
-
-Grouping these together makes logical sense. A view class lets you
-group views, centralize some repetitive defaults, share some state
-assignments, and use helper functions as class methods.
-
-As an example, imagine we have some views around saying hello to a
-person, then editing that person or perhaps deleting that person. They
-might logically belong together. We could do these as independent
-functions, but let's do them together as a view class:
-
-
-...and some routes that wire up the views to URLs:
-
-
-...and a form in ``hello_world.jinja2`` that submits to the second view:
-
-
-Just to review:
-
-- The ``/howdy/amy`` URL matches the ``hello`` route, handled by the
- ``hello_view`` class method. \ No newline at end of file