[commits] [Wiki] changed: Project/HordeForm

Wiki Guest wikiguest at horde.org
Fri Dec 30 21:27:30 UTC 2016


guest [87.171.162.219]  Fri, 30 Dec 2016 21:27:30 +0000

Modified page: https://wiki.horde.org/Project/HordeForm
New Revision:  37
Change log:  Some ideas on Ajax Forms

@@ -940,4 +940,21 @@
  from building it with method calls - except you have the added step of
  parsing the array.

  Separating logic from view is irrelevant to my suggestion.   
Quickform 1.x used renderers to do this, I suppose Quickform2 will  
have some facility as well.
+
++ 2016 thoughts
+
+We have at least 3 separate trains of thought with Horde_Forms
+
+* generate presentation from DB+Rdo
+* Update Horde_Forms from H3ish PHP4ish style to PSR-autoloadable  
PHP5/7 OO and losen coupling of form validation and presentation
+* Something with the Ajax framework, at least as an option or addon
+
+Currently, the recommendation from core developers for some ajax use  
cases is "render simple forms by hand, in a view"
+
+* A form as a validation context for input in the backend does not  
need to be presented as a html form - it might be a table of  
attributes and values, becoming editable only on click
+* Free text input with autocomplete suggestions is quite common today
+* Fields may be invisible of readonly for some users based on  
application state or permissions
+* apps may break into popup/redbox windows for some cases of "choose  
existing or create new related item" or load-on-demand dialogues  
instead of pre-defined conditional subdialogs
+* support relations (Rdo or domain context) with little repetitive coding
+* support on-the-fly validation while typing



More information about the commits mailing list