Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Form libraries discussion.

  • Loading branch information...
commit 48f7568bf1628a2a5ba7057a71a498c3ec239c9f 1 parent a3dea04
@mikeorr mikeorr authored
Showing with 29 additions and 0 deletions.
  1. +26 −0 forms/index.rst
  2. +3 −0  links.rst
View
26 forms/index.rst
@@ -1,6 +1,32 @@
Forms
%%%%%
+Pyramid does not include a form library because there are several good ones on
+PyPI, but none that is obviously better than the others.
+
+Deform_ is a form library written for Pyramid, and maintained by the Pylons
+Project. It has a `demo <https://github.com/Pylons/deform>`_.
+
+You can use WebHelpers and FormEncode in Pyramid just like in Pylons. Use
+pyramid_simpleform_ to organize your view code. (This replaces Pylons'
+@validate decorator, which has no equivalent in Pyramid.) FormEncode's
+documentation is a bit obtuse and sparse, but it's so widely flexible that you
+can do things in FormEncode that you can't in other libraries, and you can also
+use it for non-HTML validation; e.g., to validate the settings in the INI file.
+
+Some Pyramid users have had luck with WTForms, Formish, ToscaWidgets, etc.
+
+There are also form packages tied to database records, most notably
+FormAlchemy. These will publish a form to add/modify/delete records of a
+certain ORM class.
+
+
+Articles
+--------
+
.. toctree::
file_uploads
+
+
+.. include:: ../links.rst
View
3  links.rst
@@ -31,3 +31,6 @@
.. _SQLAlchemy manual: http://docs.sqlalchemy.org/
.. _pyramid_handlers: http://docs.pylonsproject.org/projects/pyramid_handlers/en/latest/
.. _pyramid_routehelper: https://github.com/Pylons/pyramid_routehelper/blob/master/pyramid_routehelper/__init__.py
+
+.. _Deform: http://docs.pylonsproject.org/projects/deform/en/latest/
+.. _pyramid_simpleform: http://packages.python.org/pyramid_simpleform/
Please sign in to comment.
Something went wrong with that request. Please try again.