Summary: How to manage development and production modes for optimized asset loading.
Amilma Forms includes an optimization feature to reduce HTTP requests. In standard implementations, pages load plugin dependencies individually.
By setting the form mode to Production, the library groups and compresses all CSS and JavaScript dependencies into single files.
Usage: $form->setMode('production');
Requirements: The folders plugins/min/css and plugins/min/js must be writable (chmod 0755+).