Products.sqlpfgadapter (1.0.1)
by
Olha Pelishok
—
last modified
2011-01-11
Released on 2011-01-10 by Goldmund, Wyldebeast & Wunderliebe, Kees Hink for Plone 3.0, Plone 4.0 under GPL - GNU General Public License available for All platforms.
Software development stage: stable
- Products.sqlpfgadapter download link: http://plone.org/products/sqlpfgadapter/releases
- Homepage of Products.sqlpfgadapter: http://plone.org/products/sqlpfgadapter
- Products.sqlpfgadapter repository: https://svn.plone.org/svn/collective/Products.PloneFormGen/adapters/Products.sqlpfgadapter
- Description source: https://svn.plone.org/svn/collective/Products.PloneFormGen/adapters/Products.sqlpfgadapter/trunk/README.txt
A PloneFormGen Action Adapter for SQL storage
The goal for this package is:
- to make SQL storage from PloneFormGen easy
- to be usable with collective.megaphone
To achieve this, we create a new PloneFormGen action-adapter. This uses SQLAlchemy (collective.lead) to save the form data to the database. (SQLAlchemy should work on most SQL dialects.)
You could also save PFG data in SQL by using a Z SQL Method as an after-validation script, as described in the SQL-CRUD-tutorial. This works, but:
- it's a lot of manual work, and quite cumbersome for ordinary users
- it doesn't work with collective.megaphone (see mailinglist-discussion)