From: Jeff K. <jt...@ya...> - 2005-12-08 00:32:44
|
Anton Stonor wrote: > I've had some fun finding, installing and taking screenshots of many of > the available widgets for Archetypes. > http://stonor.headnet.dk/tmp/widgetgallery.pdf This is a very nice reference. Your gallery is a printable version of a FieldsAndWidgetsDemo product I suggested in August 2005. I'm interested in seeing all fields and widgets migrate to the collective, out of bundled metapackages and into standalone packages, and drop any ancillary demo code. Each standalone product would have at a minimum an interface for FieldsAndWidgetDemo to add one sample widget to a schemata, with a live result similar to your gallery. The code you used to populate your demo widgets might be very useful sprinkled among each product in its 'demo interface'. The infrastructure for this is probably a job for Five. http://comments.gmane.org/gmane.comp.web.zope.plone.archetypes.devel/5203 (two excerpted items from the wishlist. Note that at the time, many add-on widgets were installing 'demo types' by default, which has since abated as practice.) - Field or widget installed only. No demo types, test forms, etc. added except configlets. Fields and Widgets are encouraged to provide demo code (schemata, view template, etc.) only for use by a hypothetical FieldAndWidgetDemo product. This keeps the fields uniformly ready for production deployment without possbile test content cruft, etc. - Registration of demo schemata with a FieldAndWidgetDemo product. This product would gather all installed/registered fields and widgets, check them for standardized field/widget demo code, and add a schemata for each. This would allow the developing consumer of fields and widgets to explore functionality on their dev servers, while avoiding same on production server simply by not installing FieldAndWidgetDemo. |