easyforms (gsoc'16)

28
EASYFORM FOR PLONE 5 Prakhar Joshi (GSOC’16)

Upload: prakhar-joshi

Post on 12-Apr-2017

165 views

Category:

Software


2 download

TRANSCRIPT

Page 1: Easyforms (GSOC'16)

EASYFORM FOR PLONE 5

Prakhar Joshi (GSOC’16)

Page 2: Easyforms (GSOC'16)

FORMS IN PLONE

Page 3: Easyforms (GSOC'16)

Archetype vs Dexterity

Page 4: Easyforms (GSOC'16)

• 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)
Page 6: Easyforms (GSOC'16)

Problems with Easyforms

Page 7: Easyforms (GSOC'16)

Failing Test cases

Page 8: Easyforms (GSOC'16)

ENHANCEMENTS

Page 9: Easyforms (GSOC'16)

Mailer working properly

Page 10: Easyforms (GSOC'16)

• 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)
Page 12: Easyforms (GSOC'16)

Design Improvements in package

Page 13: Easyforms (GSOC'16)

Actions and fields for easy forms flowing in side bar

Page 14: Easyforms (GSOC'16)

Actions and fields under tab.

Page 15: Easyforms (GSOC'16)

Migration of forms

Page 16: Easyforms (GSOC'16)

Lot of options to proceed with migrations

Page 17: Easyforms (GSOC'16)

Out of options we choose to go with control panel option.

Page 18: Easyforms (GSOC'16)

The Migration Script

Page 19: Easyforms (GSOC'16)

p.a.contenttype ?

Page 20: Easyforms (GSOC'16)
Page 21: Easyforms (GSOC'16)

What are the other ways ??

Page 22: Easyforms (GSOC'16)

• 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)

Some PFG Fields Migrations

Page 24: Easyforms (GSOC'16)

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)

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)

• 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)
Page 28: Easyforms (GSOC'16)

Thank You !!