As web application developers,
we normally take four steps to create a web form in a web application,
and those four steps are repeated many times in the similar ways
in many web applications:
- Query data from the database;
- Display the data using various web controls;
- Apply security control if necessary;
- Write stored procedure to save user submitted data.
Logicweb Studio formulates those web forms as Base Forms,
makes the above four steps configurable and easy to manage.
A Base Form has the following six configurable components:
- User Interface: user interface consists
all or some of the following four groups of elements:
navigation bars, menus, toolbars and data fields.
Logicweb Studio provides professional web control set,
such as Lookup control, Date / DateTime picker control,
Editable Select control, Phone Box, Email Box, URL Box, Number Box, and more;
- View SQL: View SQL feeds a data set object which binds to the base form's
form fields. The View SQL can be a simple SQL select statement, or a stored
procedure with sophisticated logic;
- Save Logic: A stored procedure to handle creating and updating record.
When user submits the base form by clicking Save or Save and Close button,
Logicweb Studio will automate the following processes: validate the user input at client side,
transfer data to the web server in XML format string, and then flow the data to
the stored procedure.
- Status Modifier: When data presentation is depended on the status of the data,
use Modifiers.
- Security Control: Permission keys can be used to secure any element in base forms.
To access an element which is protected by permission PERM-XYZ,
the application user must be granted the same permission PERM-XYZ.
Application user can be granted permissions through his/her role,
while any permission can be also assigned to or revoked from an individual user.
- Form JavaScript: This is an optional component. Logicweb Studio provides
default JavaScript functions; if you want to customize the solution,
you may add more functions and write your own JavaScript.
A base form has the following child records: tabs, sections, fields,
menus, toolbars, optionally, navigation forms and modifiers. You can
access these records from the base form's navigation bars:
- Tabs: List of base form's tabs; tabs are analogous to the pages of a
Windows application's tab controls, or the labels in a file cabinet.
A base form can host multiple form tabs for the same area;
- Sections: List of base form's sections; sections is the next level
container under the tab to host a certain type of information or
a group of web fields;
- Fields: List of base form's fields; fields are basic web form
elements which are grouped under Sections;
- Menus: List of base form's menus, including system
predefined menus and custom menus;
- Toolbars: List of base form's toolbar buttons,
including system predefined toolbar buttons and custom buttons;
- Navigations: List of base form's navigation forms;
- Modifiers: List of base form's modifiers.