-
Notifications
You must be signed in to change notification settings - Fork 1
UI.Facade
-
Collect all strings used in the UI into a single file
-
Useful for co-branding or internationalization
-
Map URIs to and from Tasks
-
Task
-
parse_uri()
handles incoming URIs -
format_uri()
handles outgoing URIs -
/foo/bar
-
?/baz
-
see also Concepts/Name_with_Discipline
-
Text: strings for user interface
-
Constant: often per-facade configuration
-
ThreePartPage_want_ForumDropDown
-
ThreePartPage_want_dock_left_standard
-
-
Color
-
Font
-
FormError: customize error messages
-
HTML
-
we want as much default behavior handled in the framework
-
we want the application to be able to override anything in the framework
-
UI.Text->get_value('some.really.very.specific.key', $req)
-
looks for values in the facade repeatedly, starting with most specific
-
pops off the left-most word and looks again
-
-
Keys used in a framework UI/View are fairly specific
-
Keys in UI.FacadeBase are fairly general
-
Application facades override defaults with more specific keys
-
Added per-realm customization for Facade keys
-
get_value()
looks first for realm_owner_<auth_realm>.some.realy.very.specific.key -
we use different labels in site-admin realm
- Agenda
- Getting Started
- My-Status Example Application
- Model
- View
- Task
- Application Support
- Testing
- Miscellaneous