import rt 3.4.4
[freeside.git] / rt / docs / design_docs / rt-mvc
diff --git a/rt/docs/design_docs/rt-mvc b/rt/docs/design_docs/rt-mvc
new file mode 100644 (file)
index 0000000..3518b7d
--- /dev/null
@@ -0,0 +1,32 @@
+Goals:
+
+
+       Never write an init block for a page that just views/edits pages
+       No style embedded in view/edit pages
+
+       Validation / Error display and re-editing.   
+
+
+Implementation.
+
+
+       For a given object's fields:
+
+       print a label for the field
+       print the current values for the field
+       print an edit widget for create
+       print an edit widget for update 
+
+
+
+       for a given form buttons for "perform the action" "don't perform the main action"
+
+
+Edit widgets
+
+
+       text input
+       hidden
+       fixed enum as { dropdown, select multiple, sleect single, radio} 
+       checkbox        fixed enum
+