The invention provides a method for achieving design of a
client program. The method comprises the following steps that a, a webpage is designed in a visual or coding mode by a user through a design program; b, when the webpage is issued through the design program, content of the webpage is stored to a file in a
compiled language in a word string mode; c, according to the design program, the file in the step b is compiled through an internally-arranged
compiler, an
executable program
package is generated, and therefore issuance is accomplished; d, when the
executable program
package is executed through an inlet program, a
specific function in the program
package is called, and the content of the webpage in the step b is returned; e, the obtained content of the webpage is shown by the
executable program package through an internally-arranged browser kernel, so that interaction between the executable program package and the user is achieved. According to the method, the advantages of a C / S frame and the advantages of a B / S frame in the program design aspect are integrated thoroughly, so that the safety, high efficiency and the communication capacity with a
client hardware interface of a C / S frame
system are achieved and an interactive interface with good user experience is provided in rich webpage content showing
modes.