UI's three major tasks

All UI, whether it is winfrom, or html + css + js, or the Android .......................

There are three major tasks, 1 is a layout; 2 rendering (especially style); 3 event processing;

 

When I went to see the UI From this perspective, I found a common barrier UI implementation.

In the layout WinForm, rely mainly on Anchor and Dock .------ Andrews overall layout different from the parent container rests in the Layout LinearLayout or various hand, the control in a Layout are defined in a layout, Mixed Doubles results can be achieved -------- similar to html.

The main pattern is divided, Path and BackGround two important, ----- is redrawn comparison principle and are not used to define various styles android html and xml comparison with declarative but ------- ------- as the same as the so-called redraw, in fact, it can be seen as drawing a BackGroundImage then set it to control displays in the Path range.

On event handling, are similar, js no control state, event model is relatively small, android which must FindViewById, and then set up events in between, winform of object-oriented style, closer to the principle of all aspects package perfect control, but sometimes use someone else's control, the properties could not find too much and do not know where to start the custom is also common.

 

--------------------------------------------------------------------------------------

What is the main task of the back-end is it? Refer to the others to say, mainly

Data derived from access --------- sql

--------- logic with business logic written language background

After the rise of the Internet, but also to ensure high-performance back-end software, and high availability.

Guess you like

Origin www.cnblogs.com/fabao/p/11260464.html