In today's era of service first, the GUI determines the user experience to a large extent, to a large extent, it determines whether a software can be sold out. Only software with beautiful interfaces and shell content cannot be sold, but software with powerful functions but junk interfaces still cannot be sold. Therefore, software packaging is required for both desktop and Web applications.
The packaged items are used to attract users' attention. There is an old saying in China that "when we are studying Marxism-Leninism, we tell us to look at the problem dialectically. Our ears may not be false, but our eyes may not be real, in this age of focusing on packaging, it is no longer true.
AsProgramDevelopers, maybe you have been on the battlefield for a long time, maybe you have been studying things at the bottom layer for a long time, but in the face of technology, we will always have all kinds of restrictions, some from the platform, some from the architecture, some come from security considerations, some from user needs ...... Marxism-Leninism speaks well, and freedom is the pursuit of truth. In the face of truth, we cannot have absolute freedom. Just as we cannot break away from gravity, we cannot get rid of all the limitations in software design. But fortunately, we humans know how to adapt, so sometimes designers and developers have to work hard between "yes" and "What it looks like.
The words "is" and "seems" are too different. When designing the UI, we can use various methods to fool users, it makes users feel that they are making a "yes" or something, but they have not found that they are just using a "like" or something. There are too many such examples and there are countless examples. When CSS is applied in the production of web pages, people have invented a variety of deceptive tricks, but it is precisely because of these tricks that web pages become so beautiful, it is so operational.
today, I saw an advertisement on the Silverlight official website, that is, a company made a Silverlight control. I went to their online demo to see it, I found another strange thing. If you have learned Silverlight, you can open the website security: http://samples.visualwebgui.com/mainform.swgx. Click "controls-hostcontrols-flashbox" in the left-side navigation bar. A magic thing appears. You can see that a beautiful Flash is "embedded" into the Silverlight program. I thought at a glance, my God, there are still controls that can load SWF files, which is really amazing. I have to study how to implement it. So I tried to download the xap file, change the suffix, decompress it, and use reflector to view the Source Code ...... Sorry, I searched all the classes in it, but I didn't find any flash container. I don't think so. could you lie to me? Finally, I found the flaws after repeated research. By default, if you right-click a Silverlight application, "Silverlight configuration" is displayed (you can register an event by right-clicking the event through HTML Dom, remove the default behavior from the Silverlight Code . For more information, see here, flash configuration appears. Do people register a new rendering in the right-click event? No. Is it true that it is so lifelike that the SWF effect on the webpage is exactly the same? I went on to study and finally got the most reasonable explanation from one person: the design person made an IFRAME (actually, div can also be used, but the other person can immediately reveal the webpage source file when looking at it, this can be an insurance point). When you click flashbox, fill in the content (that is, the flash) in this IFRAME and locate it, then, set its Z-index to be higher than the DIV containing the Silverlight application, so it will be displayed on the Silverlight application. Therefore, when right-clicking, the default behavior of the vertex in Flash is displayed, but the "Silverlight configuration" dialog box is not displayed.
I don't know if my inference is correct-I think it should be at least. The reason for mentioning this is to say that I was excited for a long time and thought that the Silverlight application can now embed HTML pages and flash, however, I did not expect that the so-called flashbox is just a lie (the asppagebox is also a lie to play), while sighing the vicissitudes of the world, I just thought that if a common user is using this website, he would not even think about whether flashbox is a control or not. That is to say, whether it is a control or not, after I clicked that thing, I came out with a flash. I can't see it. Why is my eye cheated. When you see a beauty, you have to worry about whether to go to South Korea to adjust the capacity. It is a genetic problem to get married and have children. This GUI will always be used for viewing and cannot be used for downsize...
So I think, when designing applications in the future, we should also consider the problems of IS and seems. Maybe we can use is to make things exhausted, but we can do it in just a few minutes with seems, for ordinary users, there is no difference. Especially for things that run in sandbox like Silverlight, this does not work for the sake of security. If you want some HTML help to make it look part of Silverlight and achieve the goal, this is what we should do.
Finally, what I want to say is that the UI is used to deceive users, but users cannot be deceived by themselves. Silverlight runs in the sandbox and naturally has its own principles. Therefore, during design, we also need to fully consider security issues (generally, it is enough to use Asp.net security mechanisms, of course, this is my personal feeling ).