easyforms (gsoc'16)
TRANSCRIPT
![Page 1: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/1.jpg)
EASYFORM FOR PLONE 5
Prakhar Joshi (GSOC’16)
![Page 2: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/2.jpg)
FORMS IN PLONE
![Page 3: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/3.jpg)
Archetype vs Dexterity
![Page 4: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/4.jpg)
• 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.
![Page 5: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/5.jpg)
![Page 6: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/6.jpg)
Problems with Easyforms
![Page 7: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/7.jpg)
Failing Test cases
![Page 8: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/8.jpg)
ENHANCEMENTS
![Page 9: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/9.jpg)
Mailer working properly
![Page 10: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/10.jpg)
• 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.
![Page 11: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/11.jpg)
![Page 12: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/12.jpg)
Design Improvements in package
![Page 13: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/13.jpg)
Actions and fields for easy forms flowing in side bar
![Page 14: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/14.jpg)
Actions and fields under tab.
![Page 15: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/15.jpg)
Migration of forms
![Page 16: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/16.jpg)
Lot of options to proceed with migrations
![Page 17: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/17.jpg)
Out of options we choose to go with control panel option.
![Page 18: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/18.jpg)
The Migration Script
![Page 19: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/19.jpg)
p.a.contenttype ?
![Page 20: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/20.jpg)
![Page 21: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/21.jpg)
What are the other ways ??
![Page 22: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/22.jpg)
• 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.
![Page 23: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/23.jpg)
Some PFG Fields Migrations
![Page 24: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/24.jpg)
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.
![Page 25: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/25.jpg)
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.
![Page 26: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/26.jpg)
• 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.
![Page 27: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/27.jpg)
![Page 28: Easyforms (GSOC'16)](https://reader035.vdocument.in/reader035/viewer/2022062311/58ed86e71a28ab35208b4569/html5/thumbnails/28.jpg)
Thank You !!