|
From: <sub...@co...> - 2008-03-27 15:21:44
|
Author: ianb Date: 2008-03-27 09:21:43 -0600 (Thu, 27 Mar 2008) New Revision: 3362 Removed: FormEncode/trunk/docs/form-generation-example/ FormEncode/trunk/docs/form-generation.txt Log: didn't mean to commit those docs Deleted: FormEncode/trunk/docs/form-generation.txt =================================================================== --- FormEncode/trunk/docs/form-generation.txt 2008-03-27 15:20:54 UTC (rev 3361) +++ FormEncode/trunk/docs/form-generation.txt 2008-03-27 15:21:43 UTC (rev 3362) @@ -1,16 +0,0 @@ -Form Generation with FormEncode and htmlfill -++++++++++++++++++++++++++++++++++++++++++++ - -.. contents:: - -Introduction -============ - -This is a tutorial to teach you how to do form generation using FormEncode for `validation <Validation.html>`_, and `htmlfill <htmlfill.html>`_ for filling the forms, together with your own ad hoc code to generate the HTML. - -This tutorial does not use a framework, as several frameworks that use FormEncode have their own wrappers for invoking validation. These wrappers are typically closely bound to the framework and cover up some of the steps. While this is fine and those wrappers are useful, they could be distracting in this example. A very simple framework using `WebOb <http://pythonpaste.org/webob/>`_ is used in these examples. For templating `Tempita <http://pythonpaste.org/tempita/>`_ will be used. - -The example itself is a simple CRUD framework that wraps arbitrary objects that have had some annotation added to the class. These annotations will be read to do the validation and form generation. In a way this tutorial is showing how to create a simple framework for form generation. - -The example code used here is available in its finished form in `form-generation-example/ <form-generation-example/>`_. - |