| 5 | |
| 6 | '''S3UI Framework is has 4 major components''' |
| 7 | * '''Custom views''' - these views contain appropriate javascript and html required to render the S3UI widgets, however they are minimal and look almost similar to old views for matter of simplicity and similarity. |
| 8 | * '''Javascript''' - |
| 9 | * '''_s3ui_list.js''' - generates the grid view, included by _s3ui_list and _s3ui_list_create views - |
| 10 | * Setting up metadata |
| 11 | * fetching column model |
| 12 | * Parsing json data from s3xrc into an Ext Datastore |
| 13 | * Configuring and rendering a Grid widget on desired DOM element |
| 14 | * '''core.js''' - |
| 15 | * Provides S3UI objects and S3UI_Elements list |
| 16 | * Manages creation of different widgets - used in custom views |
| 17 | * Naming convention - |
| 18 | * data_FunctionName - any function pertaining to parsing, formatting or manipulating data, nothing that affects UI |
| 19 | * tools_FunctionName - various helpers that aid larger widgets - Eg. plugin implementors, micro-widget generators (date picker, checkbox, combo box) |
| 20 | * widget_FunctionName - Larger widgets that can be used directly to create new visible UI elements |
| 21 | * '''plugins''' - various ExtJS based plugins used by core.js |