Using HTML server framework to reduce traffic flow
In the network development in the field of the use of this issue in the framework of the division, the majority of the people did not hesitate to oppose. Web developers do not like the framework of a good network for several reasons, one of which led to a framework that is addressable (Navigation) Special trouble, and some older browsers do not support them. Another reason is that some web site has in the past forced Framework (framesets) connected to the other site, content.
While these issues are not groundless, I still think that the use of the framework is the right direction, the framework is useful, in particular the reduction of server flows. I will simply explain how to use various frameworks, and then study how they are reducing server traffic.
The type of framework
The first one is on the framework by the box. It to the browser window is divided into several sub-window. Each sub-windows to display different HTML document, which is to update the development of the selected window rather than the entire page possible. When users click the "back" button will result in addressing the problem, but it can be adopted for each sub-window in the JavaScript language and window.history.forward (1) Failure to make back button to solve this problem .
Here is an example of this framework:
<Frameset rows = "50% *"
<frame Src="page1.asp" name="Bob">
<frame Src="page2.asp" name="Paul">
</ Frameset>
The above examples illustrate the main framework of a two named Bob and Paul framework. Although the framework of Bob and Paul document.location is page1.asp for page2.asp, these two pages can still influence each other, communicate with each other. For example, the JavaScript language allows Bob top.Paul.readyState framework is included in the framework of Paul completely.
The second is within the framework (or iframe inline frame). It is Microsoft's Internet Explorer version 3.0 introduced. It within the framework of the embedded HTML documents, like the same picture embedded in HTML documents. Within the framework will enable developers to embed an HTML document to another HTML document. This is embedded within the framework of grammar:
<iframe Name="Nan" src="page3.asp" width=90 height=50> </ iframe>
On the surface, within the framework of the role of the Commodore VIC-20 in today's business environment is the role of the same. However, within the framework of some really useful. We will be in the middle of an article on one of its possible usefulness.
Implied by the framework (hidden frame) to reduce the flow
It is envisaged in the framework of a size zero. This framework is the implied users. It sounds like useless. However, when you want to reduce the flow server, it is an important framework implied more.
Implied framework for a later role is to preserve the information they need to deal with. For example, I have an insurance company to set up a web-based technology application system. The system allows Internet users to the need for support of the system. There are about 10 of these applications types, from the complexity of the "Operation Fuzzy report" to "accept the input file, convert it to the network format, and then include security (insured) database."
According to various applications, customers need to fill out a few pages of information. I then used the information to the client implied in the framework of the table to a temporary, rather than immediately they will be issued from the client to the server, and use a variable to store. When you use the button at the back of his visit the previous pages from the client implied by the resumption of the framework, rather than the server. This has reduced the flow of the server. When users completing and click the "Send" button, hidden information kept by the framework handed to the server.
Like most cases, this technology can also be further promotion. I have seen the development of a network of the use of as many as 50 hidden framework, including the use of the procedure may be used by all objects. These included such as the drop-down list, images, and other types of Swing applet. When the start of the load after the completion of the program's speed will soon - because, for example, it contains no need to establish a product name of the drop-down list, but merely implied from the copy of this list of the drop-down list . I think this is the most I have seen talented idea. But still some issues to be resolved.
If the vision contained in 50 at the same time dynamic pages, and most of them also need access to the database, and the rest contain significant is the large picture or simply Java Swing applet. I can be sure that, if a load, the program will be run soon, but in Ethernet, loading process takes five minutes. If K is 56 (modem), I simply unimaginable how much time. Although the use of the technology (in the framework of preserving download implied target) will be some of the problems left behind by the technology or good.
Intelligent Frame
Any tools - including the framework - the province has not good or bad points. Developers in the use of most of the problems it encountered from the misuse of the framework. As we have seen, if used properly, can provide a framework HTML reduce server flow channel. I am in a separate article, I will provide a realistic and practical approach - it does not need five minutes to download the necessary framework implied object.
Tags: div framework, html, html css, w3c html






Leave a Reply