Day 37th: Aurora Framework Component Learning _aurora Framework Learning

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.