Submitted: The CVT forms of SPIP~2.0

Article submitted
-----------------

The article "The CVT forms of SPIP~2.0" is submitted for publication.
You are invited to review it and to give your opinion
in the forum linked to it. It is available at the address:
http://www.spip.net/ecrire/?exec=articles&id_article=3980

** The CVT forms of SPIP~2.0 **
by Paolo

With Array it is much easier to create dynamic forms. This is thanks to a
clear method dividing the working of a form into a view (template) and
three distinct steps: Charging (loading), Verifying, and Treating.

One view plus 3 steps Take the example of a contact form that we wish to
insert using the tag #FORMULAIRE_CONTACT.

Display

When SPIP sees the tag #FORMULAIRE_CONTACT, it recognises it as a tag of
the type #FORMULAIRE_xxx. So it looks for the template
formulaires/contact.html in order to display the form.

Nothing else is required for the form to be displayed. This means that the
styling and visual integration on the page can be carried out entirely
independently of the 3 steps (...)