摘要 |
<p>A method and equipment for generating a widget are provided. The method includes: obtaining the identification information of the elements waiting for being reused in a source widget, generating the logic relationship among the elements waiting for being reused; generating a widget which includes the identification information of the elements waiting for being reused and the logic relationship according to the identification information of the elements waiting for being reused and the said relationship. A method for running a widget and a widget engine are also provided. Generating a new widget according to the combination and reusage of the existing widgets makes it not necessary to write code during the process of developing, reduces the workload of widget developing, and is in favor of development of widget technique.</p> |