Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and apparatus for page skinning

A page and page identification technology, applied in the direction of program control device, user interface execution, version control, etc., can solve the problems of reducing client flexibility, increasing client code volume, and increasing development costs

Inactive Publication Date: 2019-03-05
ALIBABA GRP HLDG LTD
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1) Increased the amount of code on the client side and increased development costs;
[0006] 2) When it is necessary to modify the style of the View or the previous View has no associated style, the only way to upgrade the client is to change the skin by adding new code, which reduces the flexibility of the client

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and apparatus for page skinning
  • A method and apparatus for page skinning
  • A method and apparatus for page skinning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0154] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0155] The embodiment of the present application is first described from the perspective of the client, for example, a user runs an application program through a personal computer or a mobile terminal, and displays a page of the application program.

[0156] refer to figure 1 , which shows a flow chart of the steps of Embodiment 1 of a page skinning method of the present application, which may specifically include the following steps:

[0157] Step 101, receiving a preset style file associated with the page.

[0158] In this embodiment of the present application, the page may refer to the page on which the application program is running, that is, the page that is being displayed when the application pro...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present application provides a method and apparatus for page skinning. The method comprises receiving a preset style file associated with a page, wherein the preset style file isconfigured with a component identification of a skinning component and a corresponding dynamic style when the page is skinned, obtaining a component of the page, wherein the component has a componentidentification, and performing the style rendering on the component according to the component identification and the preset style file. In accordance with an embodiment of that present application,the client obtains the components of a page, and then the component is styled according to the distributed preset style file and the component identification of the component, to achieve page skinning. The client only needs to add the components for obtaining the page and the code for determining whether to configure the dynamic style according to the component identification, and each component does not need to bind a dynamic style, thus saving the code amount of the client, reducing the development cost, and improving the flexibility of the client without considering the binding of the components and the dynamic style at the client.

Description

technical field [0001] The present application relates to the technical field of page display, in particular to a method and device for changing the skin of a page. Background technique [0002] With the development of network technology, people obtain various information on the network through applications, and the pages of applications have become one of the interaction media between people and the network. The skin of the page can be changed according to people's preferences, or the page can be changed according to preset rules. [0003] The page is also called Activty. A page includes multiple Views (components), and the style of the View determines the skin of the page. The existing page skinning method is to modify the View property of the page that needs to be skinned by sending a style sheet. For a View, there is a View id in the code of the client, and the View id is associated with the View, and the View is associated with a set of Style association to achieve th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/451G06F8/71
CPCG06F8/71
Inventor 康小林
Owner ALIBABA GRP HLDG LTD