Analogy to the servlet component, I give my own definition to the components of the Auraro framework:
1. What is a component.
Components are compliant, with a certain function, can be run independently of the software module
2. What is a container.
The container provides the environment for the operation of the component, managing the lifecycle of the component
3. Layout layout-----APL layout is based on server-side builds, unlike other open source frameworks based on client layout
------APL layout is basically through the table tag on the server side of the first generation of good, the advantage is to reduce the pressure on the client machine, make full use of the resources of the server advantage
The layout of APL is mainly composed of box,vbox,hbox,form,fieldset and other container components.
Container components can be inlaid, for example, under box can be inlaid vbox,hbox,form tags again
3.1Box
The box component resembles a table tag in HTML, builds a table with the row and column configuration, and in screen files, we can define a box object by <a:box> tag, and then define row and column,
The Components under the Box tab are arranged from left to right, from top to bottom.
The VBox component inherits from the box component, and the VBox column is equal to 1, so the VBox is equivalent to the Column=1 box component, and the components under VBox are laid out in a top-down manner.
The Hbox component inherits from the box component, and the Hbox row is equal to 1, so the row=1 is equivalent to the box component, and the components under Hbox are laid out in the form left to right.
3.2Form
The form component inherits from box, with a title header
Note that the form component is fundamentally different from the form in HTML, and the form component is just a layout container and does not have the ability to submit data
The form component is arranged in the same way as box, and all components are taken from top to bottom, from left to right, according to the layout of row and column.
3.3FiledSet (Field area)
The field component inherits from the box component and takes a title header, which is no different from the form.