easyforms (gsoc'16)
TRANSCRIPT
EASYFORM FOR PLONE 5
Prakhar Joshi (GSOC’16)
FORMS IN PLONE
Archetype vs Dexterity
• There is a package called collective.easyform that provides forms for dexterity content type.
• Easyforms have less functionalities than PFG for creating forms in Plone.
Problems with Easyforms
Failing Test cases
ENHANCEMENTS
Mailer working properly
• While I was working on improving test cases for easyform, Steve made the code more readable and more aligned. Like shifting all interface at one place.
• Also there were few functional as well as design flaws that have been noticed during tests improvements.
Design Improvements in package
Actions and fields for easy forms flowing in side bar
Actions and fields under tab.
Migration of forms
Lot of options to proceed with migrations
Out of options we choose to go with control panel option.
The Migration Script
p.a.contenttype ?
What are the other ways ??
• Steve suggested to write migration for separate fields and content types .
• We first started with test cases and then wrote migration for the few fields.
• Migration still needs more efforts to push it live.
Some PFG Fields Migrations
Summary• Improved test cases and make the
package stable.• Improve some designs for the package.• Introduce install/uninstall profile for the
package.• Introduce migration framework for the
package to migrate old forms.
Acknowledgment
• This project was slightly on tougher side as compared to previous one.
• People really supported me during the whole summer specially Steve, Davi, Tom and all the other Developers who showed interest in the project.
• They really helped me a lot and really valued my opinions for different problems and we came out solution.
• This time also I have learnt a lot of stuff but this time I learnt it with more pace and more understanding.
Thank You !!