Cooperative Development-implements background management framework and background management for cooperative development

Source: Internet
Author: User

Cooperative Development-implements background management framework and background management for cooperative development

As shown in the figure, the framework is the most basic B/S structure, which consists of four parts: Header and Footer, and Menu and Content, respectively. The Header and footer sections are used to display the basic information of the website. The Menu is used to divide and manage the business modules in the background, and the content displays the processing interface corresponding to each business.

Each module corresponds to a webpage and ensures the uniformity of all webpages. At the beginning of the layout, we thought of constructing a master page with the framework and using the master page to create a webpage, and then concatenate them through the hyperlink in the menu. In this way, it seems that the master page function is well used to achieve reuse of fixed parts (usually, the design of fixed parts of pages is complicated and the design of changed parts is simple ), however, there are still many inconveniences. Most obviously, the whole page will flash during page Jump, because the whole page needs to be re-loaded every time you jump, if there is a lot of content on the master page, loading takes a long time and affects the smoothness of the website.

The knowledge of tag Target attributes solves this problem.

First, we will briefly introduce this attribute: If a <a> tag contains a target attribute, the browser will load and display the documents in the framework or window named by the href attribute of this tag with the same name as the target. We know that Iframe can be used as a container and can hold web forms. Therefore, we add an Iframe control in the Content section of the original design interface, set the target attribute in the menu with the hyperlink label to Target = "iframe. name ", so that all business pages will be automatically loaded into Iframe.

In this way, you only need to consider satisfying your own business needs for each page layout. During page loading, only the changed part is loaded and displayed in Iframe, this reduces the amount of data loaded into the page, saves loading time, and ensures smooth operation. At the same time, there is an unexpected benefit: we know that the Querystriing method in the value passing on the page has a defect that the passed value will be displayed in the URL in the address bar. When this method is used, the page address of the Framework is always displayed in the address bar, so that this disadvantage is blocked.

Summary: This management navigation page mainly relies on the target attribute of the Iframe Control + Html Tag, which not only makes page Jump loading easier, but also effectively hides the value passing information between pages.



Background Management and Development Framework

In general, framset is not used. The so-called div + css is also used. Generally, framset is used. The frameworks that rely on jquery also adopt framset, but you may not necessarily implement the effects of others. Therefore, you think that people are not framset, But what you call the so-called background framework set, the first time I heard someone say this.

Q: How is the background management framework implemented by Java? Is the one that displays different pages on the right side of the page.

There are many processing methods.

For example, if iframe is used, a management page is displayed on the left and a Management page is clicked on the right.
You can also include html such as navigation in each page. See the specific requirements.

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.